Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudfront
Interface AmazonCloudFront

All Known Subinterfaces:
AmazonCloudFrontAsync
All Known Implementing Classes:
AmazonCloudFrontAsyncClient, AmazonCloudFrontClient

public interface AmazonCloudFront

Interface for accessing AmazonCloudFront.


Method Summary
 CreateCloudFrontOriginAccessIdentityResult createCloudFrontOriginAccessIdentity(CreateCloudFrontOriginAccessIdentityRequest createCloudFrontOriginAccessIdentityRequest)
           Create a new origin access identity.
 CreateDistributionResult createDistribution(CreateDistributionRequest createDistributionRequest)
           Create a new distribution.
 CreateInvalidationResult createInvalidation(CreateInvalidationRequest createInvalidationRequest)
           Create a new invalidation.
 CreateStreamingDistributionResult createStreamingDistribution(CreateStreamingDistributionRequest createStreamingDistributionRequest)
           Create a new streaming distribution.
 void deleteCloudFrontOriginAccessIdentity(DeleteCloudFrontOriginAccessIdentityRequest deleteCloudFrontOriginAccessIdentityRequest)
           Delete an origin access identity.
 void deleteDistribution(DeleteDistributionRequest deleteDistributionRequest)
           Delete a distribution.
 void deleteStreamingDistribution(DeleteStreamingDistributionRequest deleteStreamingDistributionRequest)
           Delete a streaming distribution.
 ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
          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)
           Get the information about an origin access identity.
 GetCloudFrontOriginAccessIdentityConfigResult getCloudFrontOriginAccessIdentityConfig(GetCloudFrontOriginAccessIdentityConfigRequest getCloudFrontOriginAccessIdentityConfigRequest)
           Get the configuration information about an origin access identity.
 GetDistributionResult getDistribution(GetDistributionRequest getDistributionRequest)
           Get the information about a distribution.
 GetDistributionConfigResult getDistributionConfig(GetDistributionConfigRequest getDistributionConfigRequest)
           Get the configuration information about a distribution.
 GetInvalidationResult getInvalidation(GetInvalidationRequest getInvalidationRequest)
           Get the information about an invalidation.
 GetStreamingDistributionResult getStreamingDistribution(GetStreamingDistributionRequest getStreamingDistributionRequest)
           Get the information about a streaming distribution.
 GetStreamingDistributionConfigResult getStreamingDistributionConfig(GetStreamingDistributionConfigRequest getStreamingDistributionConfigRequest)
           Get the configuration information about a streaming distribution.
 ListCloudFrontOriginAccessIdentitiesResult listCloudFrontOriginAccessIdentities(ListCloudFrontOriginAccessIdentitiesRequest listCloudFrontOriginAccessIdentitiesRequest)
           List origin access identities.
 ListDistributionsResult listDistributions(ListDistributionsRequest listDistributionsRequest)
           List distributions.
 ListInvalidationsResult listInvalidations(ListInvalidationsRequest listInvalidationsRequest)
           List invalidation batches.
 ListStreamingDistributionsResult listStreamingDistributions(ListStreamingDistributionsRequest listStreamingDistributionsRequest)
           List streaming distributions.
 void setEndpoint(String endpoint)
          Overrides the default endpoint for this client ("https://cloudfront.amazonaws.com/").
 void setRegion(Region region)
          An alternative to setEndpoint(String), sets the regional endpoint for this client's service calls.
 void shutdown()
          Shuts down this client object, releasing any resources that might be held open.
 UpdateCloudFrontOriginAccessIdentityResult updateCloudFrontOriginAccessIdentity(UpdateCloudFrontOriginAccessIdentityRequest updateCloudFrontOriginAccessIdentityRequest)
           Update an origin access identity.
 UpdateDistributionResult updateDistribution(UpdateDistributionRequest updateDistributionRequest)
           Update a distribution.
 UpdateStreamingDistributionResult updateStreamingDistribution(UpdateStreamingDistributionRequest updateStreamingDistributionRequest)
           Update a streaming distribution.
 

Method Detail

setEndpoint

void setEndpoint(String endpoint)
                 throws IllegalArgumentException
Overrides the default endpoint for this client ("https://cloudfront.amazonaws.com/"). Callers can use this method to control which AWS region they want to work with.

Callers can pass in just the endpoint (ex: "cloudfront.amazonaws.com/") or a full URL, including the protocol (ex: "https://cloudfront.amazonaws.com/"). If the protocol is not specified here, the default protocol from this client's ClientConfiguration will be used, which by default is HTTPS.

For more information on using AWS regions with the AWS SDK for Java, and a complete list of all available endpoints for all AWS services, see: http://developer.amazonwebservices.com/connect/entry.jspa?externalID=3912

This method is not threadsafe. An endpoint should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.

Parameters:
endpoint - The endpoint (ex: "cloudfront.amazonaws.com/") or a full URL, including the protocol (ex: "https://cloudfront.amazonaws.com/") of the region specific AWS endpoint this client will communicate with.
Throws:
IllegalArgumentException - If any problems are detected with the specified endpoint.

setRegion

void setRegion(Region region)
               throws IllegalArgumentException
An alternative to setEndpoint(String), sets the regional endpoint for this client's service calls. Callers can use this method to control which AWS region they want to work with.

By default, all service endpoints in all regions use the https protocol. To use http instead, specify it in the ClientConfiguration supplied at construction.

This method is not threadsafe. A region should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.

Parameters:
region - The region this client will communicate with. See Region.getRegion(com.amazonaws.regions.Regions) for accessing a given region.
Throws:
IllegalArgumentException - If the given region is null, or if this service isn't available in the given region. See Region.isServiceSupported(String)
See Also:
Region.getRegion(com.amazonaws.regions.Regions), Region.createClient(Class, com.amazonaws.auth.AWSCredentialsProvider, ClientConfiguration)

createInvalidation

CreateInvalidationResult createInvalidation(CreateInvalidationRequest createInvalidationRequest)
                                            throws AmazonServiceException,
                                                   AmazonClientException

Create a new invalidation.

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
InconsistentQuantitiesException
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

ListCloudFrontOriginAccessIdentitiesResult listCloudFrontOriginAccessIdentities(ListCloudFrontOriginAccessIdentitiesRequest listCloudFrontOriginAccessIdentitiesRequest)
                                                                                throws AmazonServiceException,
                                                                                       AmazonClientException

List origin access identities.

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.

updateCloudFrontOriginAccessIdentity

UpdateCloudFrontOriginAccessIdentityResult updateCloudFrontOriginAccessIdentity(UpdateCloudFrontOriginAccessIdentityRequest updateCloudFrontOriginAccessIdentityRequest)
                                                                                throws AmazonServiceException,
                                                                                       AmazonClientException

Update an origin access identity.

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
InconsistentQuantitiesException
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

GetStreamingDistributionResult getStreamingDistribution(GetStreamingDistributionRequest getStreamingDistributionRequest)
                                                        throws AmazonServiceException,
                                                               AmazonClientException

Get the information about a streaming distribution.

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.

deleteDistribution

void deleteDistribution(DeleteDistributionRequest deleteDistributionRequest)
                        throws AmazonServiceException,
                               AmazonClientException

Delete a distribution.

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.

getDistributionConfig

GetDistributionConfigResult getDistributionConfig(GetDistributionConfigRequest getDistributionConfigRequest)
                                                  throws AmazonServiceException,
                                                         AmazonClientException

Get the configuration information about a distribution.

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.

updateDistribution

UpdateDistributionResult updateDistribution(UpdateDistributionRequest updateDistributionRequest)
                                            throws AmazonServiceException,
                                                   AmazonClientException

Update a distribution.

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:
TooManyCookieNamesInWhiteListException
InvalidDefaultRootObjectException
InvalidIfMatchVersionException
IllegalUpdateException
MissingBodyException
TooManyDistributionCNAMEsException
InvalidForwardCookiesException
NoSuchOriginException
PreconditionFailedException
InconsistentQuantitiesException
CNAMEAlreadyExistsException
InvalidArgumentException
TrustedSignerDoesNotExistException
InvalidOriginAccessIdentityException
TooManyCacheBehaviorsException
TooManyTrustedSignersException
NoSuchDistributionException
AccessDeniedException
TooManyOriginsException
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.

createDistribution

CreateDistributionResult createDistribution(CreateDistributionRequest createDistributionRequest)
                                            throws AmazonServiceException,
                                                   AmazonClientException

Create a new distribution.

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:
TooManyCookieNamesInWhiteListException
InvalidDefaultRootObjectException
MissingBodyException
TooManyDistributionCNAMEsException
InvalidForwardCookiesException
TooManyDistributionsException
NoSuchOriginException
InconsistentQuantitiesException
CNAMEAlreadyExistsException
InvalidArgumentException
InvalidOriginAccessIdentityException
TrustedSignerDoesNotExistException
InvalidOriginException
TooManyCacheBehaviorsException
TooManyTrustedSignersException
AccessDeniedException
TooManyOriginsException
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.

getCloudFrontOriginAccessIdentityConfig

GetCloudFrontOriginAccessIdentityConfigResult getCloudFrontOriginAccessIdentityConfig(GetCloudFrontOriginAccessIdentityConfigRequest getCloudFrontOriginAccessIdentityConfigRequest)
                                                                                      throws AmazonServiceException,
                                                                                             AmazonClientException

Get the configuration information about an origin access identity.

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.

listInvalidations

ListInvalidationsResult listInvalidations(ListInvalidationsRequest listInvalidationsRequest)
                                          throws AmazonServiceException,
                                                 AmazonClientException

List invalidation batches.

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
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

ListDistributionsResult listDistributions(ListDistributionsRequest listDistributionsRequest)
                                          throws AmazonServiceException,
                                                 AmazonClientException

List distributions.

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.

getStreamingDistributionConfig

GetStreamingDistributionConfigResult getStreamingDistributionConfig(GetStreamingDistributionConfigRequest getStreamingDistributionConfigRequest)
                                                                    throws AmazonServiceException,
                                                                           AmazonClientException

Get the configuration information about a streaming distribution.

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.

getDistribution

GetDistributionResult getDistribution(GetDistributionRequest getDistributionRequest)
                                      throws AmazonServiceException,
                                             AmazonClientException

Get the information about a distribution.

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.

deleteStreamingDistribution

void deleteStreamingDistribution(DeleteStreamingDistributionRequest deleteStreamingDistributionRequest)
                                 throws AmazonServiceException,
                                        AmazonClientException

Delete a streaming distribution.

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.

createCloudFrontOriginAccessIdentity

CreateCloudFrontOriginAccessIdentityResult createCloudFrontOriginAccessIdentity(CreateCloudFrontOriginAccessIdentityRequest createCloudFrontOriginAccessIdentityRequest)
                                                                                throws AmazonServiceException,
                                                                                       AmazonClientException

Create a new origin access identity.

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
InconsistentQuantitiesException
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.

listStreamingDistributions

ListStreamingDistributionsResult listStreamingDistributions(ListStreamingDistributionsRequest listStreamingDistributionsRequest)
                                                            throws AmazonServiceException,
                                                                   AmazonClientException

List streaming distributions.

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.

deleteCloudFrontOriginAccessIdentity

void deleteCloudFrontOriginAccessIdentity(DeleteCloudFrontOriginAccessIdentityRequest deleteCloudFrontOriginAccessIdentityRequest)
                                          throws AmazonServiceException,
                                                 AmazonClientException

Delete an origin access identity.

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.

updateStreamingDistribution

UpdateStreamingDistributionResult updateStreamingDistribution(UpdateStreamingDistributionRequest updateStreamingDistributionRequest)
                                                              throws AmazonServiceException,
                                                                     AmazonClientException

Update a streaming distribution.

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:
InvalidIfMatchVersionException
IllegalUpdateException
MissingBodyException
PreconditionFailedException
CNAMEAlreadyExistsException
InvalidArgumentException
InconsistentQuantitiesException
InvalidOriginAccessIdentityException
TrustedSignerDoesNotExistException
TooManyTrustedSignersException
NoSuchStreamingDistributionException
TooManyStreamingDistributionCNAMEsException
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

GetInvalidationResult getInvalidation(GetInvalidationRequest getInvalidationRequest)
                                      throws AmazonServiceException,
                                             AmazonClientException

Get the information about an invalidation.

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.

createStreamingDistribution

CreateStreamingDistributionResult createStreamingDistribution(CreateStreamingDistributionRequest createStreamingDistributionRequest)
                                                              throws AmazonServiceException,
                                                                     AmazonClientException

Create a new streaming distribution.

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
InconsistentQuantitiesException
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.

getCloudFrontOriginAccessIdentity

GetCloudFrontOriginAccessIdentityResult getCloudFrontOriginAccessIdentity(GetCloudFrontOriginAccessIdentityRequest getCloudFrontOriginAccessIdentityRequest)
                                                                          throws AmazonServiceException,
                                                                                 AmazonClientException

Get the information about an origin access identity.

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.

shutdown

void shutdown()
Shuts down this client object, releasing any resources that might be held open. This is an optional method, and callers are not expected to call it, but can if they want to explicitly release any open resources. Once a client has been shutdown, it should not be used to make any more requests.


getCachedResponseMetadata

ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
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 a request.

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.