@Deprecated public class AmazonCloudFrontClient extends AmazonWebServiceClient implements AmazonCloudFront
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Signer |
getSignerByURI(URI uri)
Deprecated.
Always return the same AWS CloudFrontSigner for this old AWS CloudFront
client.
|
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.
|
addRequestHandler, addRequestHandler, getRequestMetricsCollector, getServiceName, getSignerRegionOverride, getTimeOffset, removeRequestHandler, removeRequestHandler, setConfiguration, setEndpoint, setEndpoint, setRegion, setSignerRegionOverride, setTimeOffset, shutdown, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setEndpoint, shutdown
public AmazonCloudFrontClient(AWSCredentials awsCredentials)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials
- The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.public AmazonCloudFrontClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
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.).public AmazonCloudFrontClient(AWSCredentialsProvider awsCredentialsProvider)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.public AmazonCloudFrontClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
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.).public void deleteCloudFrontOriginAccessIdentity(DeleteCloudFrontOriginAccessIdentityRequest deleteCloudFrontOriginAccessIdentityRequest) throws AmazonServiceException, AmazonClientException
Delete an origin access identity.
deleteCloudFrontOriginAccessIdentity
in interface AmazonCloudFront
deleteCloudFrontOriginAccessIdentityRequest
- Container for the
necessary parameters to execute the
DeleteCloudFrontOriginAccessIdentity service method on
AmazonCloudFront.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.public GetStreamingDistributionConfigResult getStreamingDistributionConfig(GetStreamingDistributionConfigRequest getStreamingDistributionConfigRequest) throws AmazonServiceException, AmazonClientException
Get the configuration information about a streaming distribution.
getStreamingDistributionConfig
in interface AmazonCloudFront
getStreamingDistributionConfigRequest
- Container for the
necessary parameters to execute the GetStreamingDistributionConfig
service method on AmazonCloudFront.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.public GetInvalidationResult getInvalidation(GetInvalidationRequest getInvalidationRequest) throws AmazonServiceException, AmazonClientException
Get the information about an invalidation.
getInvalidation
in interface AmazonCloudFront
getInvalidationRequest
- Container for the necessary parameters
to execute the GetInvalidation service method on AmazonCloudFront.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.public void deleteStreamingDistribution(DeleteStreamingDistributionRequest deleteStreamingDistributionRequest) throws AmazonServiceException, AmazonClientException
Delete a streaming distribution.
deleteStreamingDistribution
in interface AmazonCloudFront
deleteStreamingDistributionRequest
- Container for the necessary
parameters to execute the DeleteStreamingDistribution service method
on AmazonCloudFront.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.public CreateStreamingDistributionResult createStreamingDistribution(CreateStreamingDistributionRequest createStreamingDistributionRequest) throws AmazonServiceException, AmazonClientException
Create a new streaming distribution.
createStreamingDistribution
in interface AmazonCloudFront
createStreamingDistributionRequest
- Container for the necessary
parameters to execute the CreateStreamingDistribution service method
on AmazonCloudFront.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.public CreateDistributionResult createDistribution(CreateDistributionRequest createDistributionRequest) throws AmazonServiceException, AmazonClientException
Create a new distribution.
createDistribution
in interface AmazonCloudFront
createDistributionRequest
- Container for the necessary
parameters to execute the CreateDistribution service method on
AmazonCloudFront.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.public void deleteDistribution(DeleteDistributionRequest deleteDistributionRequest) throws AmazonServiceException, AmazonClientException
Delete a distribution.
deleteDistribution
in interface AmazonCloudFront
deleteDistributionRequest
- Container for the necessary
parameters to execute the DeleteDistribution service method on
AmazonCloudFront.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.public UpdateDistributionResult updateDistribution(UpdateDistributionRequest updateDistributionRequest) throws AmazonServiceException, AmazonClientException
Update a distribution.
updateDistribution
in interface AmazonCloudFront
updateDistributionRequest
- Container for the necessary
parameters to execute the UpdateDistribution service method on
AmazonCloudFront.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.public UpdateStreamingDistributionResult updateStreamingDistribution(UpdateStreamingDistributionRequest updateStreamingDistributionRequest) throws AmazonServiceException, AmazonClientException
Update a streaming distribution.
updateStreamingDistribution
in interface AmazonCloudFront
updateStreamingDistributionRequest
- Container for the necessary
parameters to execute the UpdateStreamingDistribution service method
on AmazonCloudFront.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.public CreateCloudFrontOriginAccessIdentityResult createCloudFrontOriginAccessIdentity(CreateCloudFrontOriginAccessIdentityRequest createCloudFrontOriginAccessIdentityRequest) throws AmazonServiceException, AmazonClientException
Create a new origin access identity.
createCloudFrontOriginAccessIdentity
in interface AmazonCloudFront
createCloudFrontOriginAccessIdentityRequest
- Container for the
necessary parameters to execute the
CreateCloudFrontOriginAccessIdentity service method on
AmazonCloudFront.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.public GetDistributionResult getDistribution(GetDistributionRequest getDistributionRequest) throws AmazonServiceException, AmazonClientException
Get the information about a distribution.
getDistribution
in interface AmazonCloudFront
getDistributionRequest
- Container for the necessary parameters
to execute the GetDistribution service method on AmazonCloudFront.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.public GetCloudFrontOriginAccessIdentityConfigResult getCloudFrontOriginAccessIdentityConfig(GetCloudFrontOriginAccessIdentityConfigRequest getCloudFrontOriginAccessIdentityConfigRequest) throws AmazonServiceException, AmazonClientException
Get the configuration information about an origin access identity.
getCloudFrontOriginAccessIdentityConfig
in interface AmazonCloudFront
getCloudFrontOriginAccessIdentityConfigRequest
- Container for
the necessary parameters to execute the
GetCloudFrontOriginAccessIdentityConfig service method on
AmazonCloudFront.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.public GetStreamingDistributionResult getStreamingDistribution(GetStreamingDistributionRequest getStreamingDistributionRequest) throws AmazonServiceException, AmazonClientException
Get the information about a streaming distribution.
getStreamingDistribution
in interface AmazonCloudFront
getStreamingDistributionRequest
- Container for the necessary
parameters to execute the GetStreamingDistribution service method on
AmazonCloudFront.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.public ListDistributionsResult listDistributions(ListDistributionsRequest listDistributionsRequest) throws AmazonServiceException, AmazonClientException
List distributions.
listDistributions
in interface AmazonCloudFront
listDistributionsRequest
- Container for the necessary parameters
to execute the ListDistributions service method on AmazonCloudFront.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.public UpdateCloudFrontOriginAccessIdentityResult updateCloudFrontOriginAccessIdentity(UpdateCloudFrontOriginAccessIdentityRequest updateCloudFrontOriginAccessIdentityRequest) throws AmazonServiceException, AmazonClientException
Update an origin access identity.
updateCloudFrontOriginAccessIdentity
in interface AmazonCloudFront
updateCloudFrontOriginAccessIdentityRequest
- Container for the
necessary parameters to execute the
UpdateCloudFrontOriginAccessIdentity service method on
AmazonCloudFront.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.public GetDistributionConfigResult getDistributionConfig(GetDistributionConfigRequest getDistributionConfigRequest) throws AmazonServiceException, AmazonClientException
Get the configuration information about a distribution.
getDistributionConfig
in interface AmazonCloudFront
getDistributionConfigRequest
- Container for the necessary
parameters to execute the GetDistributionConfig service method on
AmazonCloudFront.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.public GetCloudFrontOriginAccessIdentityResult getCloudFrontOriginAccessIdentity(GetCloudFrontOriginAccessIdentityRequest getCloudFrontOriginAccessIdentityRequest) throws AmazonServiceException, AmazonClientException
Get the information about an origin access identity.
getCloudFrontOriginAccessIdentity
in interface AmazonCloudFront
getCloudFrontOriginAccessIdentityRequest
- Container for the
necessary parameters to execute the GetCloudFrontOriginAccessIdentity
service method on AmazonCloudFront.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.public CreateInvalidationResult createInvalidation(CreateInvalidationRequest createInvalidationRequest) throws AmazonServiceException, AmazonClientException
Create a new invalidation.
createInvalidation
in interface AmazonCloudFront
createInvalidationRequest
- Container for the necessary
parameters to execute the CreateInvalidation service method on
AmazonCloudFront.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.public ListCloudFrontOriginAccessIdentitiesResult listCloudFrontOriginAccessIdentities(ListCloudFrontOriginAccessIdentitiesRequest listCloudFrontOriginAccessIdentitiesRequest) throws AmazonServiceException, AmazonClientException
List origin access identities.
listCloudFrontOriginAccessIdentities
in interface AmazonCloudFront
listCloudFrontOriginAccessIdentitiesRequest
- Container for the
necessary parameters to execute the
ListCloudFrontOriginAccessIdentities service method on
AmazonCloudFront.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.public ListStreamingDistributionsResult listStreamingDistributions(ListStreamingDistributionsRequest listStreamingDistributionsRequest) throws AmazonServiceException, AmazonClientException
List streaming distributions.
listStreamingDistributions
in interface AmazonCloudFront
listStreamingDistributionsRequest
- Container for the necessary
parameters to execute the ListStreamingDistributions service method on
AmazonCloudFront.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.public ListInvalidationsResult listInvalidations(ListInvalidationsRequest listInvalidationsRequest) throws AmazonServiceException, AmazonClientException
List invalidation batches.
listInvalidations
in interface AmazonCloudFront
listInvalidationsRequest
- Container for the necessary parameters
to execute the ListInvalidations service method on AmazonCloudFront.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.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
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.
getCachedResponseMetadata
in interface AmazonCloudFront
request
- The originally executed requestpublic Signer getSignerByURI(URI uri)
getSignerByURI
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.