@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonCloudFrontAsync extends AbstractAmazonCloudFront implements AmazonCloudFrontAsync
AmazonCloudFrontAsync. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler, which throws an
UnsupportedOperationException.ENDPOINT_PREFIXcreateCloudFrontOriginAccessIdentity, createDistribution, createDistributionWithTags, createInvalidation, createStreamingDistribution, createStreamingDistributionWithTags, deleteCloudFrontOriginAccessIdentity, deleteDistribution, deleteServiceLinkedRole, deleteStreamingDistribution, getCachedResponseMetadata, getCloudFrontOriginAccessIdentity, getCloudFrontOriginAccessIdentityConfig, getDistribution, getDistributionConfig, getInvalidation, getStreamingDistribution, getStreamingDistributionConfig, listCloudFrontOriginAccessIdentities, listDistributions, listDistributionsByWebACLId, listInvalidations, listStreamingDistributions, listTagsForResource, setEndpoint, setRegion, shutdown, tagResource, untagResource, updateCloudFrontOriginAccessIdentity, updateDistribution, updateStreamingDistribution, waitersequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateCloudFrontOriginAccessIdentity, createDistribution, createDistributionWithTags, createInvalidation, createStreamingDistribution, createStreamingDistributionWithTags, deleteCloudFrontOriginAccessIdentity, deleteDistribution, deleteServiceLinkedRole, deleteStreamingDistribution, getCachedResponseMetadata, getCloudFrontOriginAccessIdentity, getCloudFrontOriginAccessIdentityConfig, getDistribution, getDistributionConfig, getInvalidation, getStreamingDistribution, getStreamingDistributionConfig, listCloudFrontOriginAccessIdentities, listDistributions, listDistributionsByWebACLId, listInvalidations, listStreamingDistributions, listTagsForResource, setEndpoint, setRegion, shutdown, tagResource, untagResource, updateCloudFrontOriginAccessIdentity, updateDistribution, updateStreamingDistribution, waiterspublic Future<CreateCloudFrontOriginAccessIdentityResult> createCloudFrontOriginAccessIdentityAsync(CreateCloudFrontOriginAccessIdentityRequest request)
AmazonCloudFrontAsyncCreates a new origin access identity. If you're using Amazon S3 for your origin, you can use an origin access identity to require users to access your content using a CloudFront URL instead of the Amazon S3 URL. For more information about how to use origin access identities, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
createCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsyncrequest - The request to create a new origin access identity.public Future<CreateCloudFrontOriginAccessIdentityResult> createCloudFrontOriginAccessIdentityAsync(CreateCloudFrontOriginAccessIdentityRequest request, AsyncHandler<CreateCloudFrontOriginAccessIdentityRequest,CreateCloudFrontOriginAccessIdentityResult> asyncHandler)
AmazonCloudFrontAsyncCreates a new origin access identity. If you're using Amazon S3 for your origin, you can use an origin access identity to require users to access your content using a CloudFront URL instead of the Amazon S3 URL. For more information about how to use origin access identities, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
createCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsyncrequest - The request to create a new origin access identity.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateDistributionResult> createDistributionAsync(CreateDistributionRequest request)
AmazonCloudFrontAsync
Creates a new web distribution. Send a POST request to the
/CloudFront API version/distribution/distribution ID resource.
createDistributionAsync in interface AmazonCloudFrontAsyncrequest - The request to create a new distribution.public Future<CreateDistributionResult> createDistributionAsync(CreateDistributionRequest request, AsyncHandler<CreateDistributionRequest,CreateDistributionResult> asyncHandler)
AmazonCloudFrontAsync
Creates a new web distribution. Send a POST request to the
/CloudFront API version/distribution/distribution ID resource.
createDistributionAsync in interface AmazonCloudFrontAsyncrequest - The request to create a new distribution.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateDistributionWithTagsResult> createDistributionWithTagsAsync(CreateDistributionWithTagsRequest request)
AmazonCloudFrontAsyncCreate a new distribution with tags.
createDistributionWithTagsAsync in interface AmazonCloudFrontAsyncrequest - The request to create a new distribution with tags.public Future<CreateDistributionWithTagsResult> createDistributionWithTagsAsync(CreateDistributionWithTagsRequest request, AsyncHandler<CreateDistributionWithTagsRequest,CreateDistributionWithTagsResult> asyncHandler)
AmazonCloudFrontAsyncCreate a new distribution with tags.
createDistributionWithTagsAsync in interface AmazonCloudFrontAsyncrequest - The request to create a new distribution with tags.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateInvalidationResult> createInvalidationAsync(CreateInvalidationRequest request)
AmazonCloudFrontAsyncCreate a new invalidation.
createInvalidationAsync in interface AmazonCloudFrontAsyncrequest - The request to create an invalidation.public Future<CreateInvalidationResult> createInvalidationAsync(CreateInvalidationRequest request, AsyncHandler<CreateInvalidationRequest,CreateInvalidationResult> asyncHandler)
AmazonCloudFrontAsyncCreate a new invalidation.
createInvalidationAsync in interface AmazonCloudFrontAsyncrequest - The request to create an invalidation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateStreamingDistributionResult> createStreamingDistributionAsync(CreateStreamingDistributionRequest request)
AmazonCloudFrontAsyncCreates a new RMTP distribution. An RTMP distribution is similar to a web distribution, but an RTMP distribution streams media files using the Adobe Real-Time Messaging Protocol (RTMP) instead of serving files using HTTP.
To create a new web distribution, submit a POST request to the CloudFront API
version/distribution resource. The request body must include a document with a
StreamingDistributionConfig element. The response echoes the StreamingDistributionConfig
element and returns other information about the RTMP distribution.
To get the status of your request, use the GET StreamingDistribution API action. When the value of
Enabled is true and the value of Status is Deployed, your
distribution is ready. A distribution usually deploys in less than 15 minutes.
For more information about web distributions, see Working with RTMP Distributions in the Amazon CloudFront Developer Guide.
Beginning with the 2012-05-05 version of the CloudFront API, we made substantial changes to the format of the XML
document that you include in the request body when you create or update a web distribution or an RTMP
distribution, and when you invalidate objects. With previous versions of the API, we discovered that it was too
easy to accidentally delete one or more values for an element that accepts multiple values, for example, CNAMEs
and trusted signers. Our changes for the 2012-05-05 release are intended to prevent these accidental deletions
and to notify you when there's a mismatch between the number of values you say you're specifying in the
Quantity element and the number of values specified.
createStreamingDistributionAsync in interface AmazonCloudFrontAsyncrequest - The request to create a new streaming distribution.public Future<CreateStreamingDistributionResult> createStreamingDistributionAsync(CreateStreamingDistributionRequest request, AsyncHandler<CreateStreamingDistributionRequest,CreateStreamingDistributionResult> asyncHandler)
AmazonCloudFrontAsyncCreates a new RMTP distribution. An RTMP distribution is similar to a web distribution, but an RTMP distribution streams media files using the Adobe Real-Time Messaging Protocol (RTMP) instead of serving files using HTTP.
To create a new web distribution, submit a POST request to the CloudFront API
version/distribution resource. The request body must include a document with a
StreamingDistributionConfig element. The response echoes the StreamingDistributionConfig
element and returns other information about the RTMP distribution.
To get the status of your request, use the GET StreamingDistribution API action. When the value of
Enabled is true and the value of Status is Deployed, your
distribution is ready. A distribution usually deploys in less than 15 minutes.
For more information about web distributions, see Working with RTMP Distributions in the Amazon CloudFront Developer Guide.
Beginning with the 2012-05-05 version of the CloudFront API, we made substantial changes to the format of the XML
document that you include in the request body when you create or update a web distribution or an RTMP
distribution, and when you invalidate objects. With previous versions of the API, we discovered that it was too
easy to accidentally delete one or more values for an element that accepts multiple values, for example, CNAMEs
and trusted signers. Our changes for the 2012-05-05 release are intended to prevent these accidental deletions
and to notify you when there's a mismatch between the number of values you say you're specifying in the
Quantity element and the number of values specified.
createStreamingDistributionAsync in interface AmazonCloudFrontAsyncrequest - The request to create a new streaming distribution.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateStreamingDistributionWithTagsResult> createStreamingDistributionWithTagsAsync(CreateStreamingDistributionWithTagsRequest request)
AmazonCloudFrontAsyncCreate a new streaming distribution with tags.
createStreamingDistributionWithTagsAsync in interface AmazonCloudFrontAsyncrequest - The request to create a new streaming distribution with tags.public Future<CreateStreamingDistributionWithTagsResult> createStreamingDistributionWithTagsAsync(CreateStreamingDistributionWithTagsRequest request, AsyncHandler<CreateStreamingDistributionWithTagsRequest,CreateStreamingDistributionWithTagsResult> asyncHandler)
AmazonCloudFrontAsyncCreate a new streaming distribution with tags.
createStreamingDistributionWithTagsAsync in interface AmazonCloudFrontAsyncrequest - The request to create a new streaming distribution with tags.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteCloudFrontOriginAccessIdentityResult> deleteCloudFrontOriginAccessIdentityAsync(DeleteCloudFrontOriginAccessIdentityRequest request)
AmazonCloudFrontAsyncDelete an origin access identity.
deleteCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsyncrequest - Deletes a origin access identity.public Future<DeleteCloudFrontOriginAccessIdentityResult> deleteCloudFrontOriginAccessIdentityAsync(DeleteCloudFrontOriginAccessIdentityRequest request, AsyncHandler<DeleteCloudFrontOriginAccessIdentityRequest,DeleteCloudFrontOriginAccessIdentityResult> asyncHandler)
AmazonCloudFrontAsyncDelete an origin access identity.
deleteCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsyncrequest - Deletes a origin access identity.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteDistributionResult> deleteDistributionAsync(DeleteDistributionRequest request)
AmazonCloudFrontAsyncDelete a distribution.
deleteDistributionAsync in interface AmazonCloudFrontAsyncrequest - This action deletes a web distribution. To delete a web distribution using the CloudFront API, perform the
following steps.
To delete a web distribution using the CloudFront API:
Disable the web distribution
Submit a GET Distribution Config request to get the current configuration and the
Etag header for the distribution.
Update the XML document that was returned in the response to your GET Distribution Config
request to change the value of Enabled to false.
Submit a PUT Distribution Config request to update the configuration for your distribution.
In the request body, include the XML document that you updated in Step 3. Set the value of the HTTP
If-Match header to the value of the ETag header that CloudFront returned when
you submitted the GET Distribution Config request in Step 2.
Review the response to the PUT Distribution Config request to confirm that the distribution
was successfully disabled.
Submit a GET Distribution request to confirm that your changes have propagated. When
propagation is complete, the value of Status is Deployed.
Submit a DELETE Distribution request. Set the value of the HTTP If-Match header
to the value of the ETag header that CloudFront returned when you submitted the
GET Distribution Config request in Step 6.
Review the response to your DELETE Distribution request to confirm that the distribution was
successfully deleted.
For information about deleting a distribution using the CloudFront console, see Deleting a Distribution in the Amazon CloudFront Developer Guide.
public Future<DeleteDistributionResult> deleteDistributionAsync(DeleteDistributionRequest request, AsyncHandler<DeleteDistributionRequest,DeleteDistributionResult> asyncHandler)
AmazonCloudFrontAsyncDelete a distribution.
deleteDistributionAsync in interface AmazonCloudFrontAsyncrequest - This action deletes a web distribution. To delete a web distribution using the CloudFront API, perform the
following steps.
To delete a web distribution using the CloudFront API:
Disable the web distribution
Submit a GET Distribution Config request to get the current configuration and the
Etag header for the distribution.
Update the XML document that was returned in the response to your GET Distribution Config
request to change the value of Enabled to false.
Submit a PUT Distribution Config request to update the configuration for your distribution.
In the request body, include the XML document that you updated in Step 3. Set the value of the HTTP
If-Match header to the value of the ETag header that CloudFront returned when
you submitted the GET Distribution Config request in Step 2.
Review the response to the PUT Distribution Config request to confirm that the distribution
was successfully disabled.
Submit a GET Distribution request to confirm that your changes have propagated. When
propagation is complete, the value of Status is Deployed.
Submit a DELETE Distribution request. Set the value of the HTTP If-Match header
to the value of the ETag header that CloudFront returned when you submitted the
GET Distribution Config request in Step 6.
Review the response to your DELETE Distribution request to confirm that the distribution was
successfully deleted.
For information about deleting a distribution using the CloudFront console, see Deleting a Distribution in the Amazon CloudFront Developer Guide.
asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteServiceLinkedRoleResult> deleteServiceLinkedRoleAsync(DeleteServiceLinkedRoleRequest request)
deleteServiceLinkedRoleAsync in interface AmazonCloudFrontAsyncpublic Future<DeleteServiceLinkedRoleResult> deleteServiceLinkedRoleAsync(DeleteServiceLinkedRoleRequest request, AsyncHandler<DeleteServiceLinkedRoleRequest,DeleteServiceLinkedRoleResult> asyncHandler)
deleteServiceLinkedRoleAsync in interface AmazonCloudFrontAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteStreamingDistributionResult> deleteStreamingDistributionAsync(DeleteStreamingDistributionRequest request)
AmazonCloudFrontAsyncDelete a streaming distribution. To delete an RTMP distribution using the CloudFront API, perform the following steps.
To delete an RTMP distribution using the CloudFront API:
Disable the RTMP distribution.
Submit a GET Streaming Distribution Config request to get the current configuration and the
Etag header for the distribution.
Update the XML document that was returned in the response to your GET Streaming Distribution Config
request to change the value of Enabled to false.
Submit a PUT Streaming Distribution Config request to update the configuration for your
distribution. In the request body, include the XML document that you updated in Step 3. Then set the value of the
HTTP If-Match header to the value of the ETag header that CloudFront returned when you
submitted the GET Streaming Distribution Config request in Step 2.
Review the response to the PUT Streaming Distribution Config request to confirm that the
distribution was successfully disabled.
Submit a GET Streaming Distribution Config request to confirm that your changes have propagated.
When propagation is complete, the value of Status is Deployed.
Submit a DELETE Streaming Distribution request. Set the value of the HTTP If-Match
header to the value of the ETag header that CloudFront returned when you submitted the
GET Streaming Distribution Config request in Step 2.
Review the response to your DELETE Streaming Distribution request to confirm that the distribution
was successfully deleted.
For information about deleting a distribution using the CloudFront console, see Deleting a Distribution in the Amazon CloudFront Developer Guide.
deleteStreamingDistributionAsync in interface AmazonCloudFrontAsyncrequest - The request to delete a streaming distribution.public Future<DeleteStreamingDistributionResult> deleteStreamingDistributionAsync(DeleteStreamingDistributionRequest request, AsyncHandler<DeleteStreamingDistributionRequest,DeleteStreamingDistributionResult> asyncHandler)
AmazonCloudFrontAsyncDelete a streaming distribution. To delete an RTMP distribution using the CloudFront API, perform the following steps.
To delete an RTMP distribution using the CloudFront API:
Disable the RTMP distribution.
Submit a GET Streaming Distribution Config request to get the current configuration and the
Etag header for the distribution.
Update the XML document that was returned in the response to your GET Streaming Distribution Config
request to change the value of Enabled to false.
Submit a PUT Streaming Distribution Config request to update the configuration for your
distribution. In the request body, include the XML document that you updated in Step 3. Then set the value of the
HTTP If-Match header to the value of the ETag header that CloudFront returned when you
submitted the GET Streaming Distribution Config request in Step 2.
Review the response to the PUT Streaming Distribution Config request to confirm that the
distribution was successfully disabled.
Submit a GET Streaming Distribution Config request to confirm that your changes have propagated.
When propagation is complete, the value of Status is Deployed.
Submit a DELETE Streaming Distribution request. Set the value of the HTTP If-Match
header to the value of the ETag header that CloudFront returned when you submitted the
GET Streaming Distribution Config request in Step 2.
Review the response to your DELETE Streaming Distribution request to confirm that the distribution
was successfully deleted.
For information about deleting a distribution using the CloudFront console, see Deleting a Distribution in the Amazon CloudFront Developer Guide.
deleteStreamingDistributionAsync in interface AmazonCloudFrontAsyncrequest - The request to delete a streaming distribution.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetCloudFrontOriginAccessIdentityResult> getCloudFrontOriginAccessIdentityAsync(GetCloudFrontOriginAccessIdentityRequest request)
AmazonCloudFrontAsyncGet the information about an origin access identity.
getCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsyncrequest - The request to get an origin access identity's information.public Future<GetCloudFrontOriginAccessIdentityResult> getCloudFrontOriginAccessIdentityAsync(GetCloudFrontOriginAccessIdentityRequest request, AsyncHandler<GetCloudFrontOriginAccessIdentityRequest,GetCloudFrontOriginAccessIdentityResult> asyncHandler)
AmazonCloudFrontAsyncGet the information about an origin access identity.
getCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsyncrequest - The request to get an origin access identity's information.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetCloudFrontOriginAccessIdentityConfigResult> getCloudFrontOriginAccessIdentityConfigAsync(GetCloudFrontOriginAccessIdentityConfigRequest request)
AmazonCloudFrontAsyncGet the configuration information about an origin access identity.
getCloudFrontOriginAccessIdentityConfigAsync in interface AmazonCloudFrontAsyncrequest - The origin access identity's configuration information. For more information, see
CloudFrontOriginAccessIdentityConfigComplexType.public Future<GetCloudFrontOriginAccessIdentityConfigResult> getCloudFrontOriginAccessIdentityConfigAsync(GetCloudFrontOriginAccessIdentityConfigRequest request, AsyncHandler<GetCloudFrontOriginAccessIdentityConfigRequest,GetCloudFrontOriginAccessIdentityConfigResult> asyncHandler)
AmazonCloudFrontAsyncGet the configuration information about an origin access identity.
getCloudFrontOriginAccessIdentityConfigAsync in interface AmazonCloudFrontAsyncrequest - The origin access identity's configuration information. For more information, see
CloudFrontOriginAccessIdentityConfigComplexType.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetDistributionResult> getDistributionAsync(GetDistributionRequest request)
AmazonCloudFrontAsyncGet the information about a distribution.
getDistributionAsync in interface AmazonCloudFrontAsyncrequest - The request to get a distribution's information.public Future<GetDistributionResult> getDistributionAsync(GetDistributionRequest request, AsyncHandler<GetDistributionRequest,GetDistributionResult> asyncHandler)
AmazonCloudFrontAsyncGet the information about a distribution.
getDistributionAsync in interface AmazonCloudFrontAsyncrequest - The request to get a distribution's information.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetDistributionConfigResult> getDistributionConfigAsync(GetDistributionConfigRequest request)
AmazonCloudFrontAsyncGet the configuration information about a distribution.
getDistributionConfigAsync in interface AmazonCloudFrontAsyncrequest - The request to get a distribution configuration.public Future<GetDistributionConfigResult> getDistributionConfigAsync(GetDistributionConfigRequest request, AsyncHandler<GetDistributionConfigRequest,GetDistributionConfigResult> asyncHandler)
AmazonCloudFrontAsyncGet the configuration information about a distribution.
getDistributionConfigAsync in interface AmazonCloudFrontAsyncrequest - The request to get a distribution configuration.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetInvalidationResult> getInvalidationAsync(GetInvalidationRequest request)
AmazonCloudFrontAsyncGet the information about an invalidation.
getInvalidationAsync in interface AmazonCloudFrontAsyncrequest - The request to get an invalidation's information.public Future<GetInvalidationResult> getInvalidationAsync(GetInvalidationRequest request, AsyncHandler<GetInvalidationRequest,GetInvalidationResult> asyncHandler)
AmazonCloudFrontAsyncGet the information about an invalidation.
getInvalidationAsync in interface AmazonCloudFrontAsyncrequest - The request to get an invalidation's information.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetStreamingDistributionResult> getStreamingDistributionAsync(GetStreamingDistributionRequest request)
AmazonCloudFrontAsyncGets information about a specified RTMP distribution, including the distribution configuration.
getStreamingDistributionAsync in interface AmazonCloudFrontAsyncrequest - The request to get a streaming distribution's information.public Future<GetStreamingDistributionResult> getStreamingDistributionAsync(GetStreamingDistributionRequest request, AsyncHandler<GetStreamingDistributionRequest,GetStreamingDistributionResult> asyncHandler)
AmazonCloudFrontAsyncGets information about a specified RTMP distribution, including the distribution configuration.
getStreamingDistributionAsync in interface AmazonCloudFrontAsyncrequest - The request to get a streaming distribution's information.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetStreamingDistributionConfigResult> getStreamingDistributionConfigAsync(GetStreamingDistributionConfigRequest request)
AmazonCloudFrontAsyncGet the configuration information about a streaming distribution.
getStreamingDistributionConfigAsync in interface AmazonCloudFrontAsyncrequest - To request to get a streaming distribution configuration.public Future<GetStreamingDistributionConfigResult> getStreamingDistributionConfigAsync(GetStreamingDistributionConfigRequest request, AsyncHandler<GetStreamingDistributionConfigRequest,GetStreamingDistributionConfigResult> asyncHandler)
AmazonCloudFrontAsyncGet the configuration information about a streaming distribution.
getStreamingDistributionConfigAsync in interface AmazonCloudFrontAsyncrequest - To request to get a streaming distribution configuration.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListCloudFrontOriginAccessIdentitiesResult> listCloudFrontOriginAccessIdentitiesAsync(ListCloudFrontOriginAccessIdentitiesRequest request)
AmazonCloudFrontAsyncLists origin access identities.
listCloudFrontOriginAccessIdentitiesAsync in interface AmazonCloudFrontAsyncrequest - The request to list origin access identities.public Future<ListCloudFrontOriginAccessIdentitiesResult> listCloudFrontOriginAccessIdentitiesAsync(ListCloudFrontOriginAccessIdentitiesRequest request, AsyncHandler<ListCloudFrontOriginAccessIdentitiesRequest,ListCloudFrontOriginAccessIdentitiesResult> asyncHandler)
AmazonCloudFrontAsyncLists origin access identities.
listCloudFrontOriginAccessIdentitiesAsync in interface AmazonCloudFrontAsyncrequest - The request to list origin access identities.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDistributionsResult> listDistributionsAsync(ListDistributionsRequest request)
AmazonCloudFrontAsyncList distributions.
listDistributionsAsync in interface AmazonCloudFrontAsyncrequest - The request to list your distributions.public Future<ListDistributionsResult> listDistributionsAsync(ListDistributionsRequest request, AsyncHandler<ListDistributionsRequest,ListDistributionsResult> asyncHandler)
AmazonCloudFrontAsyncList distributions.
listDistributionsAsync in interface AmazonCloudFrontAsyncrequest - The request to list your distributions.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDistributionsByWebACLIdResult> listDistributionsByWebACLIdAsync(ListDistributionsByWebACLIdRequest request)
AmazonCloudFrontAsyncList the distributions that are associated with a specified AWS WAF web ACL.
listDistributionsByWebACLIdAsync in interface AmazonCloudFrontAsyncrequest - The request to list distributions that are associated with a specified AWS WAF web ACL.public Future<ListDistributionsByWebACLIdResult> listDistributionsByWebACLIdAsync(ListDistributionsByWebACLIdRequest request, AsyncHandler<ListDistributionsByWebACLIdRequest,ListDistributionsByWebACLIdResult> asyncHandler)
AmazonCloudFrontAsyncList the distributions that are associated with a specified AWS WAF web ACL.
listDistributionsByWebACLIdAsync in interface AmazonCloudFrontAsyncrequest - The request to list distributions that are associated with a specified AWS WAF web ACL.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListInvalidationsResult> listInvalidationsAsync(ListInvalidationsRequest request)
AmazonCloudFrontAsyncLists invalidation batches.
listInvalidationsAsync in interface AmazonCloudFrontAsyncrequest - The request to list invalidations.public Future<ListInvalidationsResult> listInvalidationsAsync(ListInvalidationsRequest request, AsyncHandler<ListInvalidationsRequest,ListInvalidationsResult> asyncHandler)
AmazonCloudFrontAsyncLists invalidation batches.
listInvalidationsAsync in interface AmazonCloudFrontAsyncrequest - The request to list invalidations.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListStreamingDistributionsResult> listStreamingDistributionsAsync(ListStreamingDistributionsRequest request)
AmazonCloudFrontAsyncList streaming distributions.
listStreamingDistributionsAsync in interface AmazonCloudFrontAsyncrequest - The request to list your streaming distributions.public Future<ListStreamingDistributionsResult> listStreamingDistributionsAsync(ListStreamingDistributionsRequest request, AsyncHandler<ListStreamingDistributionsRequest,ListStreamingDistributionsResult> asyncHandler)
AmazonCloudFrontAsyncList streaming distributions.
listStreamingDistributionsAsync in interface AmazonCloudFrontAsyncrequest - The request to list your streaming distributions.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonCloudFrontAsyncList tags for a CloudFront resource.
listTagsForResourceAsync in interface AmazonCloudFrontAsyncrequest - The request to list tags for a CloudFront resource.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonCloudFrontAsyncList tags for a CloudFront resource.
listTagsForResourceAsync in interface AmazonCloudFrontAsyncrequest - The request to list tags for a CloudFront resource.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonCloudFrontAsyncAdd tags to a CloudFront resource.
tagResourceAsync in interface AmazonCloudFrontAsyncrequest - The request to add tags to a CloudFront resource.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonCloudFrontAsyncAdd tags to a CloudFront resource.
tagResourceAsync in interface AmazonCloudFrontAsyncrequest - The request to add tags to a CloudFront resource.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonCloudFrontAsyncRemove tags from a CloudFront resource.
untagResourceAsync in interface AmazonCloudFrontAsyncrequest - The request to remove tags from a CloudFront resource.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonCloudFrontAsyncRemove tags from a CloudFront resource.
untagResourceAsync in interface AmazonCloudFrontAsyncrequest - The request to remove tags from a CloudFront resource.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateCloudFrontOriginAccessIdentityResult> updateCloudFrontOriginAccessIdentityAsync(UpdateCloudFrontOriginAccessIdentityRequest request)
AmazonCloudFrontAsyncUpdate an origin access identity.
updateCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsyncrequest - The request to update an origin access identity.public Future<UpdateCloudFrontOriginAccessIdentityResult> updateCloudFrontOriginAccessIdentityAsync(UpdateCloudFrontOriginAccessIdentityRequest request, AsyncHandler<UpdateCloudFrontOriginAccessIdentityRequest,UpdateCloudFrontOriginAccessIdentityResult> asyncHandler)
AmazonCloudFrontAsyncUpdate an origin access identity.
updateCloudFrontOriginAccessIdentityAsync in interface AmazonCloudFrontAsyncrequest - The request to update an origin access identity.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateDistributionResult> updateDistributionAsync(UpdateDistributionRequest request)
AmazonCloudFrontAsyncUpdates the configuration for a web distribution. Perform the following steps.
For information about updating a distribution using the CloudFront console, see Creating or Updating a Web Distribution Using the CloudFront Console in the Amazon CloudFront Developer Guide.
To update a web distribution using the CloudFront API
Submit a GetDistributionConfig request to get the current configuration and an Etag header
for the distribution.
If you update the distribution again, you need to get a new Etag header.
Update the XML document that was returned in the response to your GetDistributionConfig request to
include the desired changes. You can't change the value of CallerReference. If you try to change
this value, CloudFront returns an IllegalUpdate error.
The new configuration replaces the existing configuration; the values that you specify in an
UpdateDistribution request are not merged into the existing configuration. When you add, delete, or
replace values in an element that allows multiple values (for example, CNAME), you must specify all
of the values that you want to appear in the updated distribution. In addition, you must update the corresponding
Quantity element.
Submit an UpdateDistribution request to update the configuration for your distribution:
In the request body, include the XML document that you updated in Step 2. The request body must include an XML
document with a DistributionConfig element.
Set the value of the HTTP If-Match header to the value of the ETag header that
CloudFront returned when you submitted the GetDistributionConfig request in Step 1.
Review the response to the UpdateDistribution request to confirm that the configuration was
successfully updated.
Optional: Submit a GetDistribution request to confirm that your changes have propagated. When propagation
is complete, the value of Status is Deployed.
Beginning with the 2012-05-05 version of the CloudFront API, we made substantial changes to the format of the XML
document that you include in the request body when you create or update a distribution. With previous versions of
the API, we discovered that it was too easy to accidentally delete one or more values for an element that accepts
multiple values, for example, CNAMEs and trusted signers. Our changes for the 2012-05-05 release are intended to
prevent these accidental deletions and to notify you when there's a mismatch between the number of values you say
you're specifying in the Quantity element and the number of values you're actually specifying.
updateDistributionAsync in interface AmazonCloudFrontAsyncrequest - The request to update a distribution.public Future<UpdateDistributionResult> updateDistributionAsync(UpdateDistributionRequest request, AsyncHandler<UpdateDistributionRequest,UpdateDistributionResult> asyncHandler)
AmazonCloudFrontAsyncUpdates the configuration for a web distribution. Perform the following steps.
For information about updating a distribution using the CloudFront console, see Creating or Updating a Web Distribution Using the CloudFront Console in the Amazon CloudFront Developer Guide.
To update a web distribution using the CloudFront API
Submit a GetDistributionConfig request to get the current configuration and an Etag header
for the distribution.
If you update the distribution again, you need to get a new Etag header.
Update the XML document that was returned in the response to your GetDistributionConfig request to
include the desired changes. You can't change the value of CallerReference. If you try to change
this value, CloudFront returns an IllegalUpdate error.
The new configuration replaces the existing configuration; the values that you specify in an
UpdateDistribution request are not merged into the existing configuration. When you add, delete, or
replace values in an element that allows multiple values (for example, CNAME), you must specify all
of the values that you want to appear in the updated distribution. In addition, you must update the corresponding
Quantity element.
Submit an UpdateDistribution request to update the configuration for your distribution:
In the request body, include the XML document that you updated in Step 2. The request body must include an XML
document with a DistributionConfig element.
Set the value of the HTTP If-Match header to the value of the ETag header that
CloudFront returned when you submitted the GetDistributionConfig request in Step 1.
Review the response to the UpdateDistribution request to confirm that the configuration was
successfully updated.
Optional: Submit a GetDistribution request to confirm that your changes have propagated. When propagation
is complete, the value of Status is Deployed.
Beginning with the 2012-05-05 version of the CloudFront API, we made substantial changes to the format of the XML
document that you include in the request body when you create or update a distribution. With previous versions of
the API, we discovered that it was too easy to accidentally delete one or more values for an element that accepts
multiple values, for example, CNAMEs and trusted signers. Our changes for the 2012-05-05 release are intended to
prevent these accidental deletions and to notify you when there's a mismatch between the number of values you say
you're specifying in the Quantity element and the number of values you're actually specifying.
updateDistributionAsync in interface AmazonCloudFrontAsyncrequest - The request to update a distribution.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateStreamingDistributionResult> updateStreamingDistributionAsync(UpdateStreamingDistributionRequest request)
AmazonCloudFrontAsyncUpdate a streaming distribution.
updateStreamingDistributionAsync in interface AmazonCloudFrontAsyncrequest - The request to update a streaming distribution.public Future<UpdateStreamingDistributionResult> updateStreamingDistributionAsync(UpdateStreamingDistributionRequest request, AsyncHandler<UpdateStreamingDistributionRequest,UpdateStreamingDistributionResult> asyncHandler)
AmazonCloudFrontAsyncUpdate a streaming distribution.
updateStreamingDistributionAsync in interface AmazonCloudFrontAsyncrequest - The request to update a streaming distribution.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.