Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudfront_2012_03_15
Class AmazonCloudFrontClient

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceClient
      extended by com.amazonaws.services.cloudfront_2012_03_15.AmazonCloudFrontClient
All Implemented Interfaces:
AmazonCloudFront
Direct Known Subclasses:
AmazonCloudFrontAsyncClient

Deprecated. The Amazon CloudFront client in this namespace uses an older API version. This client is available to help customers as they migrate to the new API version.

@Deprecated
public class AmazonCloudFrontClient
extends AmazonWebServiceClient
implements AmazonCloudFront

Client for accessing AmazonCloudFront. All service calls made using this client are blocking, and will not return until the service call completes.


Constructor Summary
AmazonCloudFrontClient(AWSCredentials awsCredentials)
          Deprecated. Constructs a new client to invoke service methods on AmazonCloudFront using the specified AWS account credentials.
AmazonCloudFrontClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration)
          Deprecated. Constructs a new client to invoke service methods on AmazonCloudFront using the specified AWS account credentials and client configuration options.
AmazonCloudFrontClient(AWSCredentialsProvider awsCredentialsProvider)
          Deprecated. Constructs a new client to invoke service methods on AmazonCloudFront using the specified AWS account credentials provider.
AmazonCloudFrontClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
          Deprecated. Constructs a new client to invoke service methods on AmazonCloudFront using the specified AWS account credentials provider and client configuration options.
 
Method Summary
 CreateCloudFrontOriginAccessIdentityResult createCloudFrontOriginAccessIdentity(CreateCloudFrontOriginAccessIdentityRequest createCloudFrontOriginAccessIdentityRequest)
          Deprecated.  Create a new origin access identity.
 CreateDistributionResult createDistribution(CreateDistributionRequest createDistributionRequest)
          Deprecated.  Create a new distribution.
 CreateInvalidationResult createInvalidation(CreateInvalidationRequest createInvalidationRequest)
          Deprecated.  Create a new invalidation.
 CreateStreamingDistributionResult createStreamingDistribution(CreateStreamingDistributionRequest createStreamingDistributionRequest)
          Deprecated.  Create a new streaming distribution.
 void deleteCloudFrontOriginAccessIdentity(DeleteCloudFrontOriginAccessIdentityRequest deleteCloudFrontOriginAccessIdentityRequest)
          Deprecated.  Delete an origin access identity.
 void deleteDistribution(DeleteDistributionRequest deleteDistributionRequest)
          Deprecated.  Delete a distribution.
 void deleteStreamingDistribution(DeleteStreamingDistributionRequest deleteStreamingDistributionRequest)
          Deprecated.  Delete a streaming distribution.
 ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
          Deprecated. Returns additional metadata for a previously executed successful, request, typically used for debugging issues where a service isn't acting as expected.
 GetCloudFrontOriginAccessIdentityResult getCloudFrontOriginAccessIdentity(GetCloudFrontOriginAccessIdentityRequest getCloudFrontOriginAccessIdentityRequest)
          Deprecated.  Get the information about an origin access identity.
 GetCloudFrontOriginAccessIdentityConfigResult getCloudFrontOriginAccessIdentityConfig(GetCloudFrontOriginAccessIdentityConfigRequest getCloudFrontOriginAccessIdentityConfigRequest)
          Deprecated.  Get the configuration information about an origin access identity.
 GetDistributionResult getDistribution(GetDistributionRequest getDistributionRequest)
          Deprecated.  Get the information about a distribution.
 GetDistributionConfigResult getDistributionConfig(GetDistributionConfigRequest getDistributionConfigRequest)
          Deprecated.  Get the configuration information about a distribution.
 GetInvalidationResult getInvalidation(GetInvalidationRequest getInvalidationRequest)
          Deprecated.  Get the information about an invalidation.
 GetStreamingDistributionResult getStreamingDistribution(GetStreamingDistributionRequest getStreamingDistributionRequest)
          Deprecated.  Get the information about a streaming distribution.
 GetStreamingDistributionConfigResult getStreamingDistributionConfig(GetStreamingDistributionConfigRequest getStreamingDistributionConfigRequest)
          Deprecated.  Get the configuration information about a streaming distribution.
 ListCloudFrontOriginAccessIdentitiesResult listCloudFrontOriginAccessIdentities(ListCloudFrontOriginAccessIdentitiesRequest listCloudFrontOriginAccessIdentitiesRequest)
          Deprecated.  List origin access identities.
 ListDistributionsResult listDistributions(ListDistributionsRequest listDistributionsRequest)
          Deprecated.  List distributions.
 ListInvalidationsResult listInvalidations(ListInvalidationsRequest listInvalidationsRequest)
          Deprecated.  List invalidation batches.
 ListStreamingDistributionsResult listStreamingDistributions(ListStreamingDistributionsRequest listStreamingDistributionsRequest)
          Deprecated.  List streaming distributions.
 UpdateCloudFrontOriginAccessIdentityResult updateCloudFrontOriginAccessIdentity(UpdateCloudFrontOriginAccessIdentityRequest updateCloudFrontOriginAccessIdentityRequest)
          Deprecated.  Update an origin access identity.
 UpdateDistributionResult updateDistribution(UpdateDistributionRequest updateDistributionRequest)
          Deprecated.  Update a distribution.
 UpdateStreamingDistributionResult updateStreamingDistribution(UpdateStreamingDistributionRequest updateStreamingDistributionRequest)
          Deprecated.  Update a streaming distribution.
 
Methods inherited from class com.amazonaws.AmazonWebServiceClient
addRequestHandler, getTimeOffset, removeRequestHandler, setConfiguration, setEndpoint, setRegion, setTimeOffset, shutdown, withTimeOffset
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.amazonaws.services.cloudfront_2012_03_15.AmazonCloudFront
setEndpoint, shutdown
 

Constructor Detail

AmazonCloudFrontClient

public AmazonCloudFrontClient(AWSCredentials awsCredentials)
Deprecated. 
Constructs a new client to invoke service methods on AmazonCloudFront using the specified AWS account credentials.

All service calls made using this new client object are blocking, and will not return until the service call completes.

Parameters:
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.

AmazonCloudFrontClient

public AmazonCloudFrontClient(AWSCredentials awsCredentials,
                              ClientConfiguration clientConfiguration)
Deprecated. 
Constructs a new client to invoke service methods on AmazonCloudFront using the specified AWS account credentials and client configuration options.

All service calls made using this new client object are blocking, and will not return until the service call completes.

Parameters:
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.
clientConfiguration - The client configuration options controlling how this client connects to AmazonCloudFront (ex: proxy settings, retry counts, etc.).

AmazonCloudFrontClient

public AmazonCloudFrontClient(AWSCredentialsProvider awsCredentialsProvider)
Deprecated. 
Constructs a new client to invoke service methods on AmazonCloudFront using the specified AWS account credentials provider.

All service calls made using this new client object are blocking, and will not return until the service call completes.

Parameters:
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.

AmazonCloudFrontClient

public AmazonCloudFrontClient(AWSCredentialsProvider awsCredentialsProvider,
                              ClientConfiguration clientConfiguration)
Deprecated. 
Constructs a new client to invoke service methods on AmazonCloudFront using the specified AWS account credentials provider and client configuration options.

All service calls made using this new client object are blocking, and will not return until the service call completes.

Parameters:
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.
clientConfiguration - The client configuration options controlling how this client connects to AmazonCloudFront (ex: proxy settings, retry counts, etc.).
Method Detail

deleteCloudFrontOriginAccessIdentity

public void deleteCloudFrontOriginAccessIdentity(DeleteCloudFrontOriginAccessIdentityRequest deleteCloudFrontOriginAccessIdentityRequest)
                                          throws AmazonServiceException,
                                                 AmazonClientException
Deprecated. 

Delete an origin access identity.

Specified by:
deleteCloudFrontOriginAccessIdentity in interface AmazonCloudFront
Parameters:
deleteCloudFrontOriginAccessIdentityRequest - Container for the necessary parameters to execute the DeleteCloudFrontOriginAccessIdentity service method on AmazonCloudFront.
Throws:
InvalidIfMatchVersionException
CloudFrontOriginAccessIdentityInUseException
NoSuchCloudFrontOriginAccessIdentityException
PreconditionFailedException
AccessDeniedException
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.

getStreamingDistributionConfig

public GetStreamingDistributionConfigResult getStreamingDistributionConfig(GetStreamingDistributionConfigRequest getStreamingDistributionConfigRequest)
                                                                    throws AmazonServiceException,
                                                                           AmazonClientException
Deprecated. 

Get the configuration information about a streaming distribution.

Specified by:
getStreamingDistributionConfig in interface AmazonCloudFront
Parameters:
getStreamingDistributionConfigRequest - Container for the necessary parameters to execute the GetStreamingDistributionConfig service method on AmazonCloudFront.
Returns:
The response from the GetStreamingDistributionConfig service method, as returned by AmazonCloudFront.
Throws:
NoSuchStreamingDistributionException
AccessDeniedException
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.

getInvalidation

public GetInvalidationResult getInvalidation(GetInvalidationRequest getInvalidationRequest)
                                      throws AmazonServiceException,
                                             AmazonClientException
Deprecated. 

Get the information about an invalidation.

Specified by:
getInvalidation in interface AmazonCloudFront
Parameters:
getInvalidationRequest - Container for the necessary parameters to execute the GetInvalidation service method on AmazonCloudFront.
Returns:
The response from the GetInvalidation service method, as returned by AmazonCloudFront.
Throws:
NoSuchInvalidationException
NoSuchDistributionException
AccessDeniedException
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.

deleteStreamingDistribution

public void deleteStreamingDistribution(DeleteStreamingDistributionRequest deleteStreamingDistributionRequest)
                                 throws AmazonServiceException,
                                        AmazonClientException
Deprecated. 

Delete a streaming distribution.

Specified by:
deleteStreamingDistribution in interface AmazonCloudFront
Parameters:
deleteStreamingDistributionRequest - Container for the necessary parameters to execute the DeleteStreamingDistribution service method on AmazonCloudFront.
Throws:
InvalidIfMatchVersionException
NoSuchStreamingDistributionException
StreamingDistributionNotDisabledException
PreconditionFailedException
AccessDeniedException
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.

createStreamingDistribution

public CreateStreamingDistributionResult createStreamingDistribution(CreateStreamingDistributionRequest createStreamingDistributionRequest)
                                                              throws AmazonServiceException,
                                                                     AmazonClientException
Deprecated. 

Create a new streaming distribution.

Specified by:
createStreamingDistribution in interface AmazonCloudFront
Parameters:
createStreamingDistributionRequest - Container for the necessary parameters to execute the CreateStreamingDistribution service method on AmazonCloudFront.
Returns:
The response from the CreateStreamingDistribution service method, as returned by AmazonCloudFront.
Throws:
TooManyTrustedSignersException
MissingBodyException
TooManyStreamingDistributionCNAMEsException
StreamingDistributionAlreadyExistsException
CNAMEAlreadyExistsException
AccessDeniedException
TooManyStreamingDistributionsException
InvalidArgumentException
InvalidOriginAccessIdentityException
TrustedSignerDoesNotExistException
InvalidOriginException
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.

createDistribution

public CreateDistributionResult createDistribution(CreateDistributionRequest createDistributionRequest)
                                            throws AmazonServiceException,
                                                   AmazonClientException
Deprecated. 

Create a new distribution.

Specified by:
createDistribution in interface AmazonCloudFront
Parameters:
createDistributionRequest - Container for the necessary parameters to execute the CreateDistribution service method on AmazonCloudFront.
Returns:
The response from the CreateDistribution service method, as returned by AmazonCloudFront.
Throws:
InvalidDefaultRootObjectException
MissingBodyException
TooManyDistributionCNAMEsException
TooManyDistributionsException
CNAMEAlreadyExistsException
InvalidArgumentException
InvalidOriginAccessIdentityException
TrustedSignerDoesNotExistException
InvalidOriginException
TooManyTrustedSignersException
AccessDeniedException
DistributionAlreadyExistsException
InvalidRequiredProtocolException
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.

deleteDistribution

public void deleteDistribution(DeleteDistributionRequest deleteDistributionRequest)
                        throws AmazonServiceException,
                               AmazonClientException
Deprecated. 

Delete a distribution.

Specified by:
deleteDistribution in interface AmazonCloudFront
Parameters:
deleteDistributionRequest - Container for the necessary parameters to execute the DeleteDistribution service method on AmazonCloudFront.
Throws:
InvalidIfMatchVersionException
NoSuchDistributionException
DistributionNotDisabledException
PreconditionFailedException
AccessDeniedException
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.

updateDistribution

public UpdateDistributionResult updateDistribution(UpdateDistributionRequest updateDistributionRequest)
                                            throws AmazonServiceException,
                                                   AmazonClientException
Deprecated. 

Update a distribution.

Specified by:
updateDistribution in interface AmazonCloudFront
Parameters:
updateDistributionRequest - Container for the necessary parameters to execute the UpdateDistribution service method on AmazonCloudFront.
Returns:
The response from the UpdateDistribution service method, as returned by AmazonCloudFront.
Throws:
InvalidDefaultRootObjectException
InvalidIfMatchVersionException
IllegalUpdateException
MissingBodyException
TooManyDistributionCNAMEsException
PreconditionFailedException
CNAMEAlreadyExistsException
InvalidArgumentException
InvalidOriginAccessIdentityException
TrustedSignerDoesNotExistException
TooManyTrustedSignersException
NoSuchDistributionException
AccessDeniedException
InvalidRequiredProtocolException
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.

updateStreamingDistribution

public UpdateStreamingDistributionResult updateStreamingDistribution(UpdateStreamingDistributionRequest updateStreamingDistributionRequest)
                                                              throws AmazonServiceException,
                                                                     AmazonClientException
Deprecated. 

Update a streaming distribution.

Specified by:
updateStreamingDistribution in interface AmazonCloudFront
Parameters:
updateStreamingDistributionRequest - Container for the necessary parameters to execute the UpdateStreamingDistribution service method on AmazonCloudFront.
Returns:
The response from the UpdateStreamingDistribution service method, as returned by AmazonCloudFront.
Throws:
TooManyTrustedSignersException
InvalidIfMatchVersionException
IllegalUpdateException
MissingBodyException
NoSuchStreamingDistributionException
TooManyStreamingDistributionCNAMEsException
PreconditionFailedException
AccessDeniedException
CNAMEAlreadyExistsException
InvalidArgumentException
InvalidOriginAccessIdentityException
TrustedSignerDoesNotExistException
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.

createCloudFrontOriginAccessIdentity

public CreateCloudFrontOriginAccessIdentityResult createCloudFrontOriginAccessIdentity(CreateCloudFrontOriginAccessIdentityRequest createCloudFrontOriginAccessIdentityRequest)
                                                                                throws AmazonServiceException,
                                                                                       AmazonClientException
Deprecated. 

Create a new origin access identity.

Specified by:
createCloudFrontOriginAccessIdentity in interface AmazonCloudFront
Parameters:
createCloudFrontOriginAccessIdentityRequest - Container for the necessary parameters to execute the CreateCloudFrontOriginAccessIdentity service method on AmazonCloudFront.
Returns:
The response from the CreateCloudFrontOriginAccessIdentity service method, as returned by AmazonCloudFront.
Throws:
TooManyCloudFrontOriginAccessIdentitiesException
MissingBodyException
InvalidArgumentException
CloudFrontOriginAccessIdentityAlreadyExistsException
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.

getDistribution

public GetDistributionResult getDistribution(GetDistributionRequest getDistributionRequest)
                                      throws AmazonServiceException,
                                             AmazonClientException
Deprecated. 

Get the information about a distribution.

Specified by:
getDistribution in interface AmazonCloudFront
Parameters:
getDistributionRequest - Container for the necessary parameters to execute the GetDistribution service method on AmazonCloudFront.
Returns:
The response from the GetDistribution service method, as returned by AmazonCloudFront.
Throws:
NoSuchDistributionException
AccessDeniedException
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.

getCloudFrontOriginAccessIdentityConfig

public GetCloudFrontOriginAccessIdentityConfigResult getCloudFrontOriginAccessIdentityConfig(GetCloudFrontOriginAccessIdentityConfigRequest getCloudFrontOriginAccessIdentityConfigRequest)
                                                                                      throws AmazonServiceException,
                                                                                             AmazonClientException
Deprecated. 

Get the configuration information about an origin access identity.

Specified by:
getCloudFrontOriginAccessIdentityConfig in interface AmazonCloudFront
Parameters:
getCloudFrontOriginAccessIdentityConfigRequest - Container for the necessary parameters to execute the GetCloudFrontOriginAccessIdentityConfig service method on AmazonCloudFront.
Returns:
The response from the GetCloudFrontOriginAccessIdentityConfig service method, as returned by AmazonCloudFront.
Throws:
NoSuchCloudFrontOriginAccessIdentityException
AccessDeniedException
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.

getStreamingDistribution

public GetStreamingDistributionResult getStreamingDistribution(GetStreamingDistributionRequest getStreamingDistributionRequest)
                                                        throws AmazonServiceException,
                                                               AmazonClientException
Deprecated. 

Get the information about a streaming distribution.

Specified by:
getStreamingDistribution in interface AmazonCloudFront
Parameters:
getStreamingDistributionRequest - Container for the necessary parameters to execute the GetStreamingDistribution service method on AmazonCloudFront.
Returns:
The response from the GetStreamingDistribution service method, as returned by AmazonCloudFront.
Throws:
NoSuchStreamingDistributionException
AccessDeniedException
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.

listDistributions

public ListDistributionsResult listDistributions(ListDistributionsRequest listDistributionsRequest)
                                          throws AmazonServiceException,
                                                 AmazonClientException
Deprecated. 

List distributions.

Specified by:
listDistributions in interface AmazonCloudFront
Parameters:
listDistributionsRequest - Container for the necessary parameters to execute the ListDistributions service method on AmazonCloudFront.
Returns:
The response from the ListDistributions service method, as returned by AmazonCloudFront.
Throws:
InvalidArgumentException
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.

updateCloudFrontOriginAccessIdentity

public UpdateCloudFrontOriginAccessIdentityResult updateCloudFrontOriginAccessIdentity(UpdateCloudFrontOriginAccessIdentityRequest updateCloudFrontOriginAccessIdentityRequest)
                                                                                throws AmazonServiceException,
                                                                                       AmazonClientException
Deprecated. 

Update an origin access identity.

Specified by:
updateCloudFrontOriginAccessIdentity in interface AmazonCloudFront
Parameters:
updateCloudFrontOriginAccessIdentityRequest - Container for the necessary parameters to execute the UpdateCloudFrontOriginAccessIdentity service method on AmazonCloudFront.
Returns:
The response from the UpdateCloudFrontOriginAccessIdentity service method, as returned by AmazonCloudFront.
Throws:
InvalidIfMatchVersionException
IllegalUpdateException
MissingBodyException
NoSuchCloudFrontOriginAccessIdentityException
PreconditionFailedException
AccessDeniedException
InvalidArgumentException
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.

getDistributionConfig

public GetDistributionConfigResult getDistributionConfig(GetDistributionConfigRequest getDistributionConfigRequest)
                                                  throws AmazonServiceException,
                                                         AmazonClientException
Deprecated. 

Get the configuration information about a distribution.

Specified by:
getDistributionConfig in interface AmazonCloudFront
Parameters:
getDistributionConfigRequest - Container for the necessary parameters to execute the GetDistributionConfig service method on AmazonCloudFront.
Returns:
The response from the GetDistributionConfig service method, as returned by AmazonCloudFront.
Throws:
NoSuchDistributionException
AccessDeniedException
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.

getCloudFrontOriginAccessIdentity

public GetCloudFrontOriginAccessIdentityResult getCloudFrontOriginAccessIdentity(GetCloudFrontOriginAccessIdentityRequest getCloudFrontOriginAccessIdentityRequest)
                                                                          throws AmazonServiceException,
                                                                                 AmazonClientException
Deprecated. 

Get the information about an origin access identity.

Specified by:
getCloudFrontOriginAccessIdentity in interface AmazonCloudFront
Parameters:
getCloudFrontOriginAccessIdentityRequest - Container for the necessary parameters to execute the GetCloudFrontOriginAccessIdentity service method on AmazonCloudFront.
Returns:
The response from the GetCloudFrontOriginAccessIdentity service method, as returned by AmazonCloudFront.
Throws:
NoSuchCloudFrontOriginAccessIdentityException
AccessDeniedException
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.

createInvalidation

public CreateInvalidationResult createInvalidation(CreateInvalidationRequest createInvalidationRequest)
                                            throws AmazonServiceException,
                                                   AmazonClientException
Deprecated. 

Create a new invalidation.

Specified by:
createInvalidation in interface AmazonCloudFront
Parameters:
createInvalidationRequest - Container for the necessary parameters to execute the CreateInvalidation service method on AmazonCloudFront.
Returns:
The response from the CreateInvalidation service method, as returned by AmazonCloudFront.
Throws:
TooManyInvalidationsInProgressException
MissingBodyException
NoSuchDistributionException
BatchTooLargeException
AccessDeniedException
InvalidArgumentException
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.

listCloudFrontOriginAccessIdentities

public ListCloudFrontOriginAccessIdentitiesResult listCloudFrontOriginAccessIdentities(ListCloudFrontOriginAccessIdentitiesRequest listCloudFrontOriginAccessIdentitiesRequest)
                                                                                throws AmazonServiceException,
                                                                                       AmazonClientException
Deprecated. 

List origin access identities.

Specified by:
listCloudFrontOriginAccessIdentities in interface AmazonCloudFront
Parameters:
listCloudFrontOriginAccessIdentitiesRequest - Container for the necessary parameters to execute the ListCloudFrontOriginAccessIdentities service method on AmazonCloudFront.
Returns:
The response from the ListCloudFrontOriginAccessIdentities service method, as returned by AmazonCloudFront.
Throws:
InvalidArgumentException
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.

listStreamingDistributions

public ListStreamingDistributionsResult listStreamingDistributions(ListStreamingDistributionsRequest listStreamingDistributionsRequest)
                                                            throws AmazonServiceException,
                                                                   AmazonClientException
Deprecated. 

List streaming distributions.

Specified by:
listStreamingDistributions in interface AmazonCloudFront
Parameters:
listStreamingDistributionsRequest - Container for the necessary parameters to execute the ListStreamingDistributions service method on AmazonCloudFront.
Returns:
The response from the ListStreamingDistributions service method, as returned by AmazonCloudFront.
Throws:
InvalidArgumentException
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.

listInvalidations

public ListInvalidationsResult listInvalidations(ListInvalidationsRequest listInvalidationsRequest)
                                          throws AmazonServiceException,
                                                 AmazonClientException
Deprecated. 

List invalidation batches.

Specified by:
listInvalidations in interface AmazonCloudFront
Parameters:
listInvalidationsRequest - Container for the necessary parameters to execute the ListInvalidations service method on AmazonCloudFront.
Returns:
The response from the ListInvalidations service method, as returned by AmazonCloudFront.
Throws:
NoSuchDistributionException
InvalidArgumentException
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.

getCachedResponseMetadata

public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Deprecated. 
Returns additional metadata for a previously executed successful, request, typically used for debugging issues where a service isn't acting as expected. This data isn't considered part of the result data returned by an operation, so it's available through this separate, diagnostic interface.

Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.

Specified by:
getCachedResponseMetadata in interface AmazonCloudFront
Parameters:
request - The originally executed request
Returns:
The response metadata for the specified request, or null if none is available.


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.