|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceClient
com.amazonaws.services.cloudfront.AmazonCloudFrontClient
public class AmazonCloudFrontClient
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()
Constructs a new client to invoke service methods on AmazonCloudFront. |
|
AmazonCloudFrontClient(AWSCredentials awsCredentials)
Constructs a new client to invoke service methods on AmazonCloudFront using the specified AWS account credentials. |
|
AmazonCloudFrontClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on AmazonCloudFront using the specified AWS account credentials and client configuration options. |
|
AmazonCloudFrontClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new client to invoke service methods on AmazonCloudFront using the specified AWS account credentials provider. |
|
AmazonCloudFrontClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on AmazonCloudFront using the specified AWS account credentials provider and client configuration options. |
|
AmazonCloudFrontClient(ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on AmazonCloudFront. |
|
| 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.AmazonCloudFront |
|---|
setEndpoint, setRegion, shutdown |
| Constructor Detail |
|---|
public AmazonCloudFrontClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderpublic AmazonCloudFrontClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration - The client configuration options controlling how this
client connects to AmazonCloudFront
(ex: proxy settings, retry counts, etc.).DefaultAWSCredentialsProviderpublic 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.).| Method Detail |
|---|
public CreateInvalidationResult createInvalidation(CreateInvalidationRequest createInvalidationRequest)
throws AmazonServiceException,
AmazonClientException
Create a new invalidation.
createInvalidation in interface AmazonCloudFrontcreateInvalidationRequest - Container for the necessary
parameters to execute the CreateInvalidation service method on
AmazonCloudFront.
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.
public ListCloudFrontOriginAccessIdentitiesResult listCloudFrontOriginAccessIdentities(ListCloudFrontOriginAccessIdentitiesRequest listCloudFrontOriginAccessIdentitiesRequest)
throws AmazonServiceException,
AmazonClientException
List origin access identities.
listCloudFrontOriginAccessIdentities in interface AmazonCloudFrontlistCloudFrontOriginAccessIdentitiesRequest - 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 UpdateCloudFrontOriginAccessIdentityResult updateCloudFrontOriginAccessIdentity(UpdateCloudFrontOriginAccessIdentityRequest updateCloudFrontOriginAccessIdentityRequest)
throws AmazonServiceException,
AmazonClientException
Update an origin access identity.
updateCloudFrontOriginAccessIdentity in interface AmazonCloudFrontupdateCloudFrontOriginAccessIdentityRequest - Container for the
necessary parameters to execute the
UpdateCloudFrontOriginAccessIdentity service method on
AmazonCloudFront.
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.
public GetStreamingDistributionResult getStreamingDistribution(GetStreamingDistributionRequest getStreamingDistributionRequest)
throws AmazonServiceException,
AmazonClientException
Get the information about a streaming distribution.
getStreamingDistribution in interface AmazonCloudFrontgetStreamingDistributionRequest - 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 void deleteDistribution(DeleteDistributionRequest deleteDistributionRequest)
throws AmazonServiceException,
AmazonClientException
Delete a distribution.
deleteDistribution in interface AmazonCloudFrontdeleteDistributionRequest - 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 GetDistributionConfigResult getDistributionConfig(GetDistributionConfigRequest getDistributionConfigRequest)
throws AmazonServiceException,
AmazonClientException
Get the configuration information about a distribution.
getDistributionConfig in interface AmazonCloudFrontgetDistributionConfigRequest - 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 UpdateDistributionResult updateDistribution(UpdateDistributionRequest updateDistributionRequest)
throws AmazonServiceException,
AmazonClientException
Update a distribution.
updateDistribution in interface AmazonCloudFrontupdateDistributionRequest - Container for the necessary
parameters to execute the UpdateDistribution service method on
AmazonCloudFront.
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.
public CreateDistributionResult createDistribution(CreateDistributionRequest createDistributionRequest)
throws AmazonServiceException,
AmazonClientException
Create a new distribution.
createDistribution in interface AmazonCloudFrontcreateDistributionRequest - Container for the necessary
parameters to execute the CreateDistribution service method on
AmazonCloudFront.
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.
public GetCloudFrontOriginAccessIdentityConfigResult getCloudFrontOriginAccessIdentityConfig(GetCloudFrontOriginAccessIdentityConfigRequest getCloudFrontOriginAccessIdentityConfigRequest)
throws AmazonServiceException,
AmazonClientException
Get the configuration information about an origin access identity.
getCloudFrontOriginAccessIdentityConfig in interface AmazonCloudFrontgetCloudFrontOriginAccessIdentityConfigRequest - 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 ListInvalidationsResult listInvalidations(ListInvalidationsRequest listInvalidationsRequest)
throws AmazonServiceException,
AmazonClientException
List invalidation batches.
listInvalidations in interface AmazonCloudFrontlistInvalidationsRequest - Container for the necessary parameters
to execute the ListInvalidations service method on AmazonCloudFront.
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.
public ListDistributionsResult listDistributions(ListDistributionsRequest listDistributionsRequest)
throws AmazonServiceException,
AmazonClientException
List distributions.
listDistributions in interface AmazonCloudFrontlistDistributionsRequest - 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 GetStreamingDistributionConfigResult getStreamingDistributionConfig(GetStreamingDistributionConfigRequest getStreamingDistributionConfigRequest)
throws AmazonServiceException,
AmazonClientException
Get the configuration information about a streaming distribution.
getStreamingDistributionConfig in interface AmazonCloudFrontgetStreamingDistributionConfigRequest - 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 GetDistributionResult getDistribution(GetDistributionRequest getDistributionRequest)
throws AmazonServiceException,
AmazonClientException
Get the information about a distribution.
getDistribution in interface AmazonCloudFrontgetDistributionRequest - 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 void deleteStreamingDistribution(DeleteStreamingDistributionRequest deleteStreamingDistributionRequest)
throws AmazonServiceException,
AmazonClientException
Delete a streaming distribution.
deleteStreamingDistribution in interface AmazonCloudFrontdeleteStreamingDistributionRequest - 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 CreateCloudFrontOriginAccessIdentityResult createCloudFrontOriginAccessIdentity(CreateCloudFrontOriginAccessIdentityRequest createCloudFrontOriginAccessIdentityRequest)
throws AmazonServiceException,
AmazonClientException
Create a new origin access identity.
createCloudFrontOriginAccessIdentity in interface AmazonCloudFrontcreateCloudFrontOriginAccessIdentityRequest - Container for the
necessary parameters to execute the
CreateCloudFrontOriginAccessIdentity service method on
AmazonCloudFront.
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.
public ListStreamingDistributionsResult listStreamingDistributions(ListStreamingDistributionsRequest listStreamingDistributionsRequest)
throws AmazonServiceException,
AmazonClientException
List streaming distributions.
listStreamingDistributions in interface AmazonCloudFrontlistStreamingDistributionsRequest - 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 void deleteCloudFrontOriginAccessIdentity(DeleteCloudFrontOriginAccessIdentityRequest deleteCloudFrontOriginAccessIdentityRequest)
throws AmazonServiceException,
AmazonClientException
Delete an origin access identity.
deleteCloudFrontOriginAccessIdentity in interface AmazonCloudFrontdeleteCloudFrontOriginAccessIdentityRequest - 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 UpdateStreamingDistributionResult updateStreamingDistribution(UpdateStreamingDistributionRequest updateStreamingDistributionRequest)
throws AmazonServiceException,
AmazonClientException
Update a streaming distribution.
updateStreamingDistribution in interface AmazonCloudFrontupdateStreamingDistributionRequest - Container for the necessary
parameters to execute the UpdateStreamingDistribution service method
on AmazonCloudFront.
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.
public GetInvalidationResult getInvalidation(GetInvalidationRequest getInvalidationRequest)
throws AmazonServiceException,
AmazonClientException
Get the information about an invalidation.
getInvalidation in interface AmazonCloudFrontgetInvalidationRequest - 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 CreateStreamingDistributionResult createStreamingDistribution(CreateStreamingDistributionRequest createStreamingDistributionRequest)
throws AmazonServiceException,
AmazonClientException
Create a new streaming distribution.
createStreamingDistribution in interface AmazonCloudFrontcreateStreamingDistributionRequest - Container for the necessary
parameters to execute the CreateStreamingDistribution service method
on AmazonCloudFront.
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.
public GetCloudFrontOriginAccessIdentityResult getCloudFrontOriginAccessIdentity(GetCloudFrontOriginAccessIdentityRequest getCloudFrontOriginAccessIdentityRequest)
throws AmazonServiceException,
AmazonClientException
Get the information about an origin access identity.
getCloudFrontOriginAccessIdentity in interface AmazonCloudFrontgetCloudFrontOriginAccessIdentityRequest - 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 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 AmazonCloudFrontrequest - The originally executed request
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||