com.amazonaws.services.cloudfront.AmazonCloudFrontAsync Maven / Gradle / Ivy
/*
* Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.cloudfront;
import javax.annotation.Generated;
import com.amazonaws.services.cloudfront.model.*;
/**
* Interface for accessing CloudFront asynchronously. Each asynchronous method will return a Java Future object
* representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive
* notification when an asynchronous operation completes.
*
* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
* {@link com.amazonaws.services.cloudfront.AbstractAmazonCloudFrontAsync} instead.
*
*
* Amazon CloudFront
*
* This is the Amazon CloudFront API Reference. This guide is for developers who need detailed information about
* CloudFront API actions, data types, and errors. For detailed information about CloudFront features, see the Amazon
* CloudFront Developer Guide.
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AmazonCloudFrontAsync extends AmazonCloudFront {
/**
*
* Creates 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.
*
*
* @param createCloudFrontOriginAccessIdentityRequest
* The request to create a new origin access identity (OAI). An origin access identity is a special
* CloudFront user that you can associate with Amazon S3 origins, so that you can secure all or just some of
* your Amazon S3 content. For more information, see Restricting Access to Amazon S3 Content by Using an Origin Access Identity in the Amazon
* CloudFront Developer Guide.
* @return A Java Future containing the result of the CreateCloudFrontOriginAccessIdentity operation returned by the
* service.
* @sample AmazonCloudFrontAsync.CreateCloudFrontOriginAccessIdentity
* @see AWS API Documentation
*/
java.util.concurrent.Future createCloudFrontOriginAccessIdentityAsync(
CreateCloudFrontOriginAccessIdentityRequest createCloudFrontOriginAccessIdentityRequest);
/**
*
* Creates 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.
*
*
* @param createCloudFrontOriginAccessIdentityRequest
* The request to create a new origin access identity (OAI). An origin access identity is a special
* CloudFront user that you can associate with Amazon S3 origins, so that you can secure all or just some of
* your Amazon S3 content. For more information, see Restricting Access to Amazon S3 Content by Using an Origin Access Identity in the Amazon
* CloudFront Developer Guide.
* @param 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.
* @return A Java Future containing the result of the CreateCloudFrontOriginAccessIdentity operation returned by the
* service.
* @sample AmazonCloudFrontAsyncHandler.CreateCloudFrontOriginAccessIdentity
* @see AWS API Documentation
*/
java.util.concurrent.Future createCloudFrontOriginAccessIdentityAsync(
CreateCloudFrontOriginAccessIdentityRequest createCloudFrontOriginAccessIdentityRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a new web distribution. You create a CloudFront distribution to tell CloudFront where you want content to
* be delivered from, and the details about how to track and manage content delivery. Send a POST
* request to the /CloudFront API version/distribution
/distribution ID
resource.
*
*
*
* When you update a distribution, there are more required fields than when you create a distribution. When you
* update your distribution by using UpdateDistribution, follow the steps included in the documentation to get the current configuration and then
* make your updates. This helps to make sure that you include all of the required fields. To view a summary, see Required Fields for Create Distribution and Update Distribution in the Amazon CloudFront Developer
* Guide.
*
*
*
* @param createDistributionRequest
* The request to create a new distribution.
* @return A Java Future containing the result of the CreateDistribution operation returned by the service.
* @sample AmazonCloudFrontAsync.CreateDistribution
* @see AWS
* API Documentation
*/
java.util.concurrent.Future createDistributionAsync(CreateDistributionRequest createDistributionRequest);
/**
*
* Creates a new web distribution. You create a CloudFront distribution to tell CloudFront where you want content to
* be delivered from, and the details about how to track and manage content delivery. Send a POST
* request to the /CloudFront API version/distribution
/distribution ID
resource.
*
*
*
* When you update a distribution, there are more required fields than when you create a distribution. When you
* update your distribution by using UpdateDistribution, follow the steps included in the documentation to get the current configuration and then
* make your updates. This helps to make sure that you include all of the required fields. To view a summary, see Required Fields for Create Distribution and Update Distribution in the Amazon CloudFront Developer
* Guide.
*
*
*
* @param createDistributionRequest
* The request to create a new distribution.
* @param 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.
* @return A Java Future containing the result of the CreateDistribution operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.CreateDistribution
* @see AWS
* API Documentation
*/
java.util.concurrent.Future createDistributionAsync(CreateDistributionRequest createDistributionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Create a new distribution with tags.
*
*
* @param createDistributionWithTagsRequest
* The request to create a new distribution with tags.
* @return A Java Future containing the result of the CreateDistributionWithTags operation returned by the service.
* @sample AmazonCloudFrontAsync.CreateDistributionWithTags
* @see AWS API Documentation
*/
java.util.concurrent.Future createDistributionWithTagsAsync(
CreateDistributionWithTagsRequest createDistributionWithTagsRequest);
/**
*
* Create a new distribution with tags.
*
*
* @param createDistributionWithTagsRequest
* The request to create a new distribution with tags.
* @param 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.
* @return A Java Future containing the result of the CreateDistributionWithTags operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.CreateDistributionWithTags
* @see AWS API Documentation
*/
java.util.concurrent.Future createDistributionWithTagsAsync(
CreateDistributionWithTagsRequest createDistributionWithTagsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Create a new field-level encryption configuration.
*
*
* @param createFieldLevelEncryptionConfigRequest
* @return A Java Future containing the result of the CreateFieldLevelEncryptionConfig operation returned by the
* service.
* @sample AmazonCloudFrontAsync.CreateFieldLevelEncryptionConfig
* @see AWS API Documentation
*/
java.util.concurrent.Future createFieldLevelEncryptionConfigAsync(
CreateFieldLevelEncryptionConfigRequest createFieldLevelEncryptionConfigRequest);
/**
*
* Create a new field-level encryption configuration.
*
*
* @param createFieldLevelEncryptionConfigRequest
* @param 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.
* @return A Java Future containing the result of the CreateFieldLevelEncryptionConfig operation returned by the
* service.
* @sample AmazonCloudFrontAsyncHandler.CreateFieldLevelEncryptionConfig
* @see AWS API Documentation
*/
java.util.concurrent.Future createFieldLevelEncryptionConfigAsync(
CreateFieldLevelEncryptionConfigRequest createFieldLevelEncryptionConfigRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Create a field-level encryption profile.
*
*
* @param createFieldLevelEncryptionProfileRequest
* @return A Java Future containing the result of the CreateFieldLevelEncryptionProfile operation returned by the
* service.
* @sample AmazonCloudFrontAsync.CreateFieldLevelEncryptionProfile
* @see AWS API Documentation
*/
java.util.concurrent.Future createFieldLevelEncryptionProfileAsync(
CreateFieldLevelEncryptionProfileRequest createFieldLevelEncryptionProfileRequest);
/**
*
* Create a field-level encryption profile.
*
*
* @param createFieldLevelEncryptionProfileRequest
* @param 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.
* @return A Java Future containing the result of the CreateFieldLevelEncryptionProfile operation returned by the
* service.
* @sample AmazonCloudFrontAsyncHandler.CreateFieldLevelEncryptionProfile
* @see AWS API Documentation
*/
java.util.concurrent.Future createFieldLevelEncryptionProfileAsync(
CreateFieldLevelEncryptionProfileRequest createFieldLevelEncryptionProfileRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Create a new invalidation.
*
*
* @param createInvalidationRequest
* The request to create an invalidation.
* @return A Java Future containing the result of the CreateInvalidation operation returned by the service.
* @sample AmazonCloudFrontAsync.CreateInvalidation
* @see AWS
* API Documentation
*/
java.util.concurrent.Future createInvalidationAsync(CreateInvalidationRequest createInvalidationRequest);
/**
*
* Create a new invalidation.
*
*
* @param createInvalidationRequest
* The request to create an invalidation.
* @param 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.
* @return A Java Future containing the result of the CreateInvalidation operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.CreateInvalidation
* @see AWS
* API Documentation
*/
java.util.concurrent.Future createInvalidationAsync(CreateInvalidationRequest createInvalidationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Add a new public key to CloudFront to use, for example, for field-level encryption. You can add a maximum of 10
* public keys with one AWS account.
*
*
* @param createPublicKeyRequest
* @return A Java Future containing the result of the CreatePublicKey operation returned by the service.
* @sample AmazonCloudFrontAsync.CreatePublicKey
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createPublicKeyAsync(CreatePublicKeyRequest createPublicKeyRequest);
/**
*
* Add a new public key to CloudFront to use, for example, for field-level encryption. You can add a maximum of 10
* public keys with one AWS account.
*
*
* @param createPublicKeyRequest
* @param 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.
* @return A Java Future containing the result of the CreatePublicKey operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.CreatePublicKey
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createPublicKeyAsync(CreatePublicKeyRequest createPublicKeyRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a new RTMP 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 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.
*
*
*
* @param createStreamingDistributionRequest
* The request to create a new streaming distribution.
* @return A Java Future containing the result of the CreateStreamingDistribution operation returned by the service.
* @sample AmazonCloudFrontAsync.CreateStreamingDistribution
* @see AWS API Documentation
*/
java.util.concurrent.Future createStreamingDistributionAsync(
CreateStreamingDistributionRequest createStreamingDistributionRequest);
/**
*
* Creates a new RTMP 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 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.
*
*
*
* @param createStreamingDistributionRequest
* The request to create a new streaming distribution.
* @param 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.
* @return A Java Future containing the result of the CreateStreamingDistribution operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.CreateStreamingDistribution
* @see AWS API Documentation
*/
java.util.concurrent.Future createStreamingDistributionAsync(
CreateStreamingDistributionRequest createStreamingDistributionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Create a new streaming distribution with tags.
*
*
* @param createStreamingDistributionWithTagsRequest
* The request to create a new streaming distribution with tags.
* @return A Java Future containing the result of the CreateStreamingDistributionWithTags operation returned by the
* service.
* @sample AmazonCloudFrontAsync.CreateStreamingDistributionWithTags
* @see AWS API Documentation
*/
java.util.concurrent.Future createStreamingDistributionWithTagsAsync(
CreateStreamingDistributionWithTagsRequest createStreamingDistributionWithTagsRequest);
/**
*
* Create a new streaming distribution with tags.
*
*
* @param createStreamingDistributionWithTagsRequest
* The request to create a new streaming distribution with tags.
* @param 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.
* @return A Java Future containing the result of the CreateStreamingDistributionWithTags operation returned by the
* service.
* @sample AmazonCloudFrontAsyncHandler.CreateStreamingDistributionWithTags
* @see AWS API Documentation
*/
java.util.concurrent.Future createStreamingDistributionWithTagsAsync(
CreateStreamingDistributionWithTagsRequest createStreamingDistributionWithTagsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Delete an origin access identity.
*
*
* @param deleteCloudFrontOriginAccessIdentityRequest
* Deletes a origin access identity.
* @return A Java Future containing the result of the DeleteCloudFrontOriginAccessIdentity operation returned by the
* service.
* @sample AmazonCloudFrontAsync.DeleteCloudFrontOriginAccessIdentity
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteCloudFrontOriginAccessIdentityAsync(
DeleteCloudFrontOriginAccessIdentityRequest deleteCloudFrontOriginAccessIdentityRequest);
/**
*
* Delete an origin access identity.
*
*
* @param deleteCloudFrontOriginAccessIdentityRequest
* Deletes a origin access identity.
* @param 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.
* @return A Java Future containing the result of the DeleteCloudFrontOriginAccessIdentity operation returned by the
* service.
* @sample AmazonCloudFrontAsyncHandler.DeleteCloudFrontOriginAccessIdentity
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteCloudFrontOriginAccessIdentityAsync(
DeleteCloudFrontOriginAccessIdentityRequest deleteCloudFrontOriginAccessIdentityRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Delete a distribution.
*
*
* @param deleteDistributionRequest
* 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.
* @return A Java Future containing the result of the DeleteDistribution operation returned by the service.
* @sample AmazonCloudFrontAsync.DeleteDistribution
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteDistributionAsync(DeleteDistributionRequest deleteDistributionRequest);
/**
*
* Delete a distribution.
*
*
* @param deleteDistributionRequest
* 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.
* @param 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.
* @return A Java Future containing the result of the DeleteDistribution operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.DeleteDistribution
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteDistributionAsync(DeleteDistributionRequest deleteDistributionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Remove a field-level encryption configuration.
*
*
* @param deleteFieldLevelEncryptionConfigRequest
* @return A Java Future containing the result of the DeleteFieldLevelEncryptionConfig operation returned by the
* service.
* @sample AmazonCloudFrontAsync.DeleteFieldLevelEncryptionConfig
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteFieldLevelEncryptionConfigAsync(
DeleteFieldLevelEncryptionConfigRequest deleteFieldLevelEncryptionConfigRequest);
/**
*
* Remove a field-level encryption configuration.
*
*
* @param deleteFieldLevelEncryptionConfigRequest
* @param 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.
* @return A Java Future containing the result of the DeleteFieldLevelEncryptionConfig operation returned by the
* service.
* @sample AmazonCloudFrontAsyncHandler.DeleteFieldLevelEncryptionConfig
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteFieldLevelEncryptionConfigAsync(
DeleteFieldLevelEncryptionConfigRequest deleteFieldLevelEncryptionConfigRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Remove a field-level encryption profile.
*
*
* @param deleteFieldLevelEncryptionProfileRequest
* @return A Java Future containing the result of the DeleteFieldLevelEncryptionProfile operation returned by the
* service.
* @sample AmazonCloudFrontAsync.DeleteFieldLevelEncryptionProfile
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteFieldLevelEncryptionProfileAsync(
DeleteFieldLevelEncryptionProfileRequest deleteFieldLevelEncryptionProfileRequest);
/**
*
* Remove a field-level encryption profile.
*
*
* @param deleteFieldLevelEncryptionProfileRequest
* @param 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.
* @return A Java Future containing the result of the DeleteFieldLevelEncryptionProfile operation returned by the
* service.
* @sample AmazonCloudFrontAsyncHandler.DeleteFieldLevelEncryptionProfile
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteFieldLevelEncryptionProfileAsync(
DeleteFieldLevelEncryptionProfileRequest deleteFieldLevelEncryptionProfileRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Remove a public key you previously added to CloudFront.
*
*
* @param deletePublicKeyRequest
* @return A Java Future containing the result of the DeletePublicKey operation returned by the service.
* @sample AmazonCloudFrontAsync.DeletePublicKey
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deletePublicKeyAsync(DeletePublicKeyRequest deletePublicKeyRequest);
/**
*
* Remove a public key you previously added to CloudFront.
*
*
* @param deletePublicKeyRequest
* @param 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.
* @return A Java Future containing the result of the DeletePublicKey operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.DeletePublicKey
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deletePublicKeyAsync(DeletePublicKeyRequest deletePublicKeyRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Delete 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.
*
*
* @param deleteStreamingDistributionRequest
* The request to delete a streaming distribution.
* @return A Java Future containing the result of the DeleteStreamingDistribution operation returned by the service.
* @sample AmazonCloudFrontAsync.DeleteStreamingDistribution
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteStreamingDistributionAsync(
DeleteStreamingDistributionRequest deleteStreamingDistributionRequest);
/**
*
* Delete 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.
*
*
* @param deleteStreamingDistributionRequest
* The request to delete a streaming distribution.
* @param 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.
* @return A Java Future containing the result of the DeleteStreamingDistribution operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.DeleteStreamingDistribution
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteStreamingDistributionAsync(
DeleteStreamingDistributionRequest deleteStreamingDistributionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Get the information about an origin access identity.
*
*
* @param getCloudFrontOriginAccessIdentityRequest
* The request to get an origin access identity's information.
* @return A Java Future containing the result of the GetCloudFrontOriginAccessIdentity operation returned by the
* service.
* @sample AmazonCloudFrontAsync.GetCloudFrontOriginAccessIdentity
* @see AWS API Documentation
*/
java.util.concurrent.Future getCloudFrontOriginAccessIdentityAsync(
GetCloudFrontOriginAccessIdentityRequest getCloudFrontOriginAccessIdentityRequest);
/**
*
* Get the information about an origin access identity.
*
*
* @param getCloudFrontOriginAccessIdentityRequest
* The request to get an origin access identity's information.
* @param 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.
* @return A Java Future containing the result of the GetCloudFrontOriginAccessIdentity operation returned by the
* service.
* @sample AmazonCloudFrontAsyncHandler.GetCloudFrontOriginAccessIdentity
* @see AWS API Documentation
*/
java.util.concurrent.Future getCloudFrontOriginAccessIdentityAsync(
GetCloudFrontOriginAccessIdentityRequest getCloudFrontOriginAccessIdentityRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Get the configuration information about an origin access identity.
*
*
* @param getCloudFrontOriginAccessIdentityConfigRequest
* The origin access identity's configuration information. For more information, see CloudFrontOriginAccessIdentityConfig.
* @return A Java Future containing the result of the GetCloudFrontOriginAccessIdentityConfig operation returned by
* the service.
* @sample AmazonCloudFrontAsync.GetCloudFrontOriginAccessIdentityConfig
* @see AWS API Documentation
*/
java.util.concurrent.Future getCloudFrontOriginAccessIdentityConfigAsync(
GetCloudFrontOriginAccessIdentityConfigRequest getCloudFrontOriginAccessIdentityConfigRequest);
/**
*
* Get the configuration information about an origin access identity.
*
*
* @param getCloudFrontOriginAccessIdentityConfigRequest
* The origin access identity's configuration information. For more information, see CloudFrontOriginAccessIdentityConfig.
* @param 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.
* @return A Java Future containing the result of the GetCloudFrontOriginAccessIdentityConfig operation returned by
* the service.
* @sample AmazonCloudFrontAsyncHandler.GetCloudFrontOriginAccessIdentityConfig
* @see AWS API Documentation
*/
java.util.concurrent.Future getCloudFrontOriginAccessIdentityConfigAsync(
GetCloudFrontOriginAccessIdentityConfigRequest getCloudFrontOriginAccessIdentityConfigRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Get the information about a distribution.
*
*
* @param getDistributionRequest
* The request to get a distribution's information.
* @return A Java Future containing the result of the GetDistribution operation returned by the service.
* @sample AmazonCloudFrontAsync.GetDistribution
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getDistributionAsync(GetDistributionRequest getDistributionRequest);
/**
*
* Get the information about a distribution.
*
*
* @param getDistributionRequest
* The request to get a distribution's information.
* @param 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.
* @return A Java Future containing the result of the GetDistribution operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.GetDistribution
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getDistributionAsync(GetDistributionRequest getDistributionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Get the configuration information about a distribution.
*
*
* @param getDistributionConfigRequest
* The request to get a distribution configuration.
* @return A Java Future containing the result of the GetDistributionConfig operation returned by the service.
* @sample AmazonCloudFrontAsync.GetDistributionConfig
* @see AWS API Documentation
*/
java.util.concurrent.Future getDistributionConfigAsync(GetDistributionConfigRequest getDistributionConfigRequest);
/**
*
* Get the configuration information about a distribution.
*
*
* @param getDistributionConfigRequest
* The request to get a distribution configuration.
* @param 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.
* @return A Java Future containing the result of the GetDistributionConfig operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.GetDistributionConfig
* @see AWS API Documentation
*/
java.util.concurrent.Future getDistributionConfigAsync(GetDistributionConfigRequest getDistributionConfigRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Get the field-level encryption configuration information.
*
*
* @param getFieldLevelEncryptionRequest
* @return A Java Future containing the result of the GetFieldLevelEncryption operation returned by the service.
* @sample AmazonCloudFrontAsync.GetFieldLevelEncryption
* @see AWS API Documentation
*/
java.util.concurrent.Future getFieldLevelEncryptionAsync(GetFieldLevelEncryptionRequest getFieldLevelEncryptionRequest);
/**
*
* Get the field-level encryption configuration information.
*
*
* @param getFieldLevelEncryptionRequest
* @param 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.
* @return A Java Future containing the result of the GetFieldLevelEncryption operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.GetFieldLevelEncryption
* @see AWS API Documentation
*/
java.util.concurrent.Future getFieldLevelEncryptionAsync(GetFieldLevelEncryptionRequest getFieldLevelEncryptionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Get the field-level encryption configuration information.
*
*
* @param getFieldLevelEncryptionConfigRequest
* @return A Java Future containing the result of the GetFieldLevelEncryptionConfig operation returned by the
* service.
* @sample AmazonCloudFrontAsync.GetFieldLevelEncryptionConfig
* @see AWS API Documentation
*/
java.util.concurrent.Future getFieldLevelEncryptionConfigAsync(
GetFieldLevelEncryptionConfigRequest getFieldLevelEncryptionConfigRequest);
/**
*
* Get the field-level encryption configuration information.
*
*
* @param getFieldLevelEncryptionConfigRequest
* @param 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.
* @return A Java Future containing the result of the GetFieldLevelEncryptionConfig operation returned by the
* service.
* @sample AmazonCloudFrontAsyncHandler.GetFieldLevelEncryptionConfig
* @see AWS API Documentation
*/
java.util.concurrent.Future getFieldLevelEncryptionConfigAsync(
GetFieldLevelEncryptionConfigRequest getFieldLevelEncryptionConfigRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Get the field-level encryption profile information.
*
*
* @param getFieldLevelEncryptionProfileRequest
* @return A Java Future containing the result of the GetFieldLevelEncryptionProfile operation returned by the
* service.
* @sample AmazonCloudFrontAsync.GetFieldLevelEncryptionProfile
* @see AWS API Documentation
*/
java.util.concurrent.Future getFieldLevelEncryptionProfileAsync(
GetFieldLevelEncryptionProfileRequest getFieldLevelEncryptionProfileRequest);
/**
*
* Get the field-level encryption profile information.
*
*
* @param getFieldLevelEncryptionProfileRequest
* @param 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.
* @return A Java Future containing the result of the GetFieldLevelEncryptionProfile operation returned by the
* service.
* @sample AmazonCloudFrontAsyncHandler.GetFieldLevelEncryptionProfile
* @see AWS API Documentation
*/
java.util.concurrent.Future getFieldLevelEncryptionProfileAsync(
GetFieldLevelEncryptionProfileRequest getFieldLevelEncryptionProfileRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Get the field-level encryption profile configuration information.
*
*
* @param getFieldLevelEncryptionProfileConfigRequest
* @return A Java Future containing the result of the GetFieldLevelEncryptionProfileConfig operation returned by the
* service.
* @sample AmazonCloudFrontAsync.GetFieldLevelEncryptionProfileConfig
* @see AWS API Documentation
*/
java.util.concurrent.Future getFieldLevelEncryptionProfileConfigAsync(
GetFieldLevelEncryptionProfileConfigRequest getFieldLevelEncryptionProfileConfigRequest);
/**
*
* Get the field-level encryption profile configuration information.
*
*
* @param getFieldLevelEncryptionProfileConfigRequest
* @param 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.
* @return A Java Future containing the result of the GetFieldLevelEncryptionProfileConfig operation returned by the
* service.
* @sample AmazonCloudFrontAsyncHandler.GetFieldLevelEncryptionProfileConfig
* @see AWS API Documentation
*/
java.util.concurrent.Future getFieldLevelEncryptionProfileConfigAsync(
GetFieldLevelEncryptionProfileConfigRequest getFieldLevelEncryptionProfileConfigRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Get the information about an invalidation.
*
*
* @param getInvalidationRequest
* The request to get an invalidation's information.
* @return A Java Future containing the result of the GetInvalidation operation returned by the service.
* @sample AmazonCloudFrontAsync.GetInvalidation
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getInvalidationAsync(GetInvalidationRequest getInvalidationRequest);
/**
*
* Get the information about an invalidation.
*
*
* @param getInvalidationRequest
* The request to get an invalidation's information.
* @param 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.
* @return A Java Future containing the result of the GetInvalidation operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.GetInvalidation
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getInvalidationAsync(GetInvalidationRequest getInvalidationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Get the public key information.
*
*
* @param getPublicKeyRequest
* @return A Java Future containing the result of the GetPublicKey operation returned by the service.
* @sample AmazonCloudFrontAsync.GetPublicKey
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getPublicKeyAsync(GetPublicKeyRequest getPublicKeyRequest);
/**
*
* Get the public key information.
*
*
* @param getPublicKeyRequest
* @param 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.
* @return A Java Future containing the result of the GetPublicKey operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.GetPublicKey
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getPublicKeyAsync(GetPublicKeyRequest getPublicKeyRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Return public key configuration informaation
*
*
* @param getPublicKeyConfigRequest
* @return A Java Future containing the result of the GetPublicKeyConfig operation returned by the service.
* @sample AmazonCloudFrontAsync.GetPublicKeyConfig
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getPublicKeyConfigAsync(GetPublicKeyConfigRequest getPublicKeyConfigRequest);
/**
*
* Return public key configuration informaation
*
*
* @param getPublicKeyConfigRequest
* @param 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.
* @return A Java Future containing the result of the GetPublicKeyConfig operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.GetPublicKeyConfig
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getPublicKeyConfigAsync(GetPublicKeyConfigRequest getPublicKeyConfigRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about a specified RTMP distribution, including the distribution configuration.
*
*
* @param getStreamingDistributionRequest
* The request to get a streaming distribution's information.
* @return A Java Future containing the result of the GetStreamingDistribution operation returned by the service.
* @sample AmazonCloudFrontAsync.GetStreamingDistribution
* @see AWS API Documentation
*/
java.util.concurrent.Future getStreamingDistributionAsync(GetStreamingDistributionRequest getStreamingDistributionRequest);
/**
*
* Gets information about a specified RTMP distribution, including the distribution configuration.
*
*
* @param getStreamingDistributionRequest
* The request to get a streaming distribution's information.
* @param 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.
* @return A Java Future containing the result of the GetStreamingDistribution operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.GetStreamingDistribution
* @see AWS API Documentation
*/
java.util.concurrent.Future getStreamingDistributionAsync(GetStreamingDistributionRequest getStreamingDistributionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Get the configuration information about a streaming distribution.
*
*
* @param getStreamingDistributionConfigRequest
* To request to get a streaming distribution configuration.
* @return A Java Future containing the result of the GetStreamingDistributionConfig operation returned by the
* service.
* @sample AmazonCloudFrontAsync.GetStreamingDistributionConfig
* @see AWS API Documentation
*/
java.util.concurrent.Future getStreamingDistributionConfigAsync(
GetStreamingDistributionConfigRequest getStreamingDistributionConfigRequest);
/**
*
* Get the configuration information about a streaming distribution.
*
*
* @param getStreamingDistributionConfigRequest
* To request to get a streaming distribution configuration.
* @param 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.
* @return A Java Future containing the result of the GetStreamingDistributionConfig operation returned by the
* service.
* @sample AmazonCloudFrontAsyncHandler.GetStreamingDistributionConfig
* @see AWS API Documentation
*/
java.util.concurrent.Future getStreamingDistributionConfigAsync(
GetStreamingDistributionConfigRequest getStreamingDistributionConfigRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists origin access identities.
*
*
* @param listCloudFrontOriginAccessIdentitiesRequest
* The request to list origin access identities.
* @return A Java Future containing the result of the ListCloudFrontOriginAccessIdentities operation returned by the
* service.
* @sample AmazonCloudFrontAsync.ListCloudFrontOriginAccessIdentities
* @see AWS API Documentation
*/
java.util.concurrent.Future listCloudFrontOriginAccessIdentitiesAsync(
ListCloudFrontOriginAccessIdentitiesRequest listCloudFrontOriginAccessIdentitiesRequest);
/**
*
* Lists origin access identities.
*
*
* @param listCloudFrontOriginAccessIdentitiesRequest
* The request to list origin access identities.
* @param 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.
* @return A Java Future containing the result of the ListCloudFrontOriginAccessIdentities operation returned by the
* service.
* @sample AmazonCloudFrontAsyncHandler.ListCloudFrontOriginAccessIdentities
* @see AWS API Documentation
*/
java.util.concurrent.Future listCloudFrontOriginAccessIdentitiesAsync(
ListCloudFrontOriginAccessIdentitiesRequest listCloudFrontOriginAccessIdentitiesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* List CloudFront distributions.
*
*
* @param listDistributionsRequest
* The request to list your distributions.
* @return A Java Future containing the result of the ListDistributions operation returned by the service.
* @sample AmazonCloudFrontAsync.ListDistributions
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listDistributionsAsync(ListDistributionsRequest listDistributionsRequest);
/**
*
* List CloudFront distributions.
*
*
* @param listDistributionsRequest
* The request to list your distributions.
* @param 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.
* @return A Java Future containing the result of the ListDistributions operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.ListDistributions
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listDistributionsAsync(ListDistributionsRequest listDistributionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* List the distributions that are associated with a specified AWS WAF web ACL.
*
*
* @param listDistributionsByWebACLIdRequest
* The request to list distributions that are associated with a specified AWS WAF web ACL.
* @return A Java Future containing the result of the ListDistributionsByWebACLId operation returned by the service.
* @sample AmazonCloudFrontAsync.ListDistributionsByWebACLId
* @see AWS API Documentation
*/
java.util.concurrent.Future listDistributionsByWebACLIdAsync(
ListDistributionsByWebACLIdRequest listDistributionsByWebACLIdRequest);
/**
*
* List the distributions that are associated with a specified AWS WAF web ACL.
*
*
* @param listDistributionsByWebACLIdRequest
* The request to list distributions that are associated with a specified AWS WAF web ACL.
* @param 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.
* @return A Java Future containing the result of the ListDistributionsByWebACLId operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.ListDistributionsByWebACLId
* @see AWS API Documentation
*/
java.util.concurrent.Future listDistributionsByWebACLIdAsync(
ListDistributionsByWebACLIdRequest listDistributionsByWebACLIdRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* List all field-level encryption configurations that have been created in CloudFront for this account.
*
*
* @param listFieldLevelEncryptionConfigsRequest
* @return A Java Future containing the result of the ListFieldLevelEncryptionConfigs operation returned by the
* service.
* @sample AmazonCloudFrontAsync.ListFieldLevelEncryptionConfigs
* @see AWS API Documentation
*/
java.util.concurrent.Future listFieldLevelEncryptionConfigsAsync(
ListFieldLevelEncryptionConfigsRequest listFieldLevelEncryptionConfigsRequest);
/**
*
* List all field-level encryption configurations that have been created in CloudFront for this account.
*
*
* @param listFieldLevelEncryptionConfigsRequest
* @param 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.
* @return A Java Future containing the result of the ListFieldLevelEncryptionConfigs operation returned by the
* service.
* @sample AmazonCloudFrontAsyncHandler.ListFieldLevelEncryptionConfigs
* @see AWS API Documentation
*/
java.util.concurrent.Future listFieldLevelEncryptionConfigsAsync(
ListFieldLevelEncryptionConfigsRequest listFieldLevelEncryptionConfigsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Request a list of field-level encryption profiles that have been created in CloudFront for this account.
*
*
* @param listFieldLevelEncryptionProfilesRequest
* @return A Java Future containing the result of the ListFieldLevelEncryptionProfiles operation returned by the
* service.
* @sample AmazonCloudFrontAsync.ListFieldLevelEncryptionProfiles
* @see AWS API Documentation
*/
java.util.concurrent.Future listFieldLevelEncryptionProfilesAsync(
ListFieldLevelEncryptionProfilesRequest listFieldLevelEncryptionProfilesRequest);
/**
*
* Request a list of field-level encryption profiles that have been created in CloudFront for this account.
*
*
* @param listFieldLevelEncryptionProfilesRequest
* @param 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.
* @return A Java Future containing the result of the ListFieldLevelEncryptionProfiles operation returned by the
* service.
* @sample AmazonCloudFrontAsyncHandler.ListFieldLevelEncryptionProfiles
* @see AWS API Documentation
*/
java.util.concurrent.Future listFieldLevelEncryptionProfilesAsync(
ListFieldLevelEncryptionProfilesRequest listFieldLevelEncryptionProfilesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists invalidation batches.
*
*
* @param listInvalidationsRequest
* The request to list invalidations.
* @return A Java Future containing the result of the ListInvalidations operation returned by the service.
* @sample AmazonCloudFrontAsync.ListInvalidations
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listInvalidationsAsync(ListInvalidationsRequest listInvalidationsRequest);
/**
*
* Lists invalidation batches.
*
*
* @param listInvalidationsRequest
* The request to list invalidations.
* @param 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.
* @return A Java Future containing the result of the ListInvalidations operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.ListInvalidations
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listInvalidationsAsync(ListInvalidationsRequest listInvalidationsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* List all public keys that have been added to CloudFront for this account.
*
*
* @param listPublicKeysRequest
* @return A Java Future containing the result of the ListPublicKeys operation returned by the service.
* @sample AmazonCloudFrontAsync.ListPublicKeys
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listPublicKeysAsync(ListPublicKeysRequest listPublicKeysRequest);
/**
*
* List all public keys that have been added to CloudFront for this account.
*
*
* @param listPublicKeysRequest
* @param 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.
* @return A Java Future containing the result of the ListPublicKeys operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.ListPublicKeys
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listPublicKeysAsync(ListPublicKeysRequest listPublicKeysRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* List streaming distributions.
*
*
* @param listStreamingDistributionsRequest
* The request to list your streaming distributions.
* @return A Java Future containing the result of the ListStreamingDistributions operation returned by the service.
* @sample AmazonCloudFrontAsync.ListStreamingDistributions
* @see AWS API Documentation
*/
java.util.concurrent.Future listStreamingDistributionsAsync(
ListStreamingDistributionsRequest listStreamingDistributionsRequest);
/**
*
* List streaming distributions.
*
*
* @param listStreamingDistributionsRequest
* The request to list your streaming distributions.
* @param 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.
* @return A Java Future containing the result of the ListStreamingDistributions operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.ListStreamingDistributions
* @see AWS API Documentation
*/
java.util.concurrent.Future listStreamingDistributionsAsync(
ListStreamingDistributionsRequest listStreamingDistributionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* List tags for a CloudFront resource.
*
*
* @param listTagsForResourceRequest
* The request to list tags for a CloudFront resource.
* @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* @sample AmazonCloudFrontAsync.ListTagsForResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest);
/**
*
* List tags for a CloudFront resource.
*
*
* @param listTagsForResourceRequest
* The request to list tags for a CloudFront resource.
* @param 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.
* @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.ListTagsForResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Add tags to a CloudFront resource.
*
*
* @param tagResourceRequest
* The request to add tags to a CloudFront resource.
* @return A Java Future containing the result of the TagResource operation returned by the service.
* @sample AmazonCloudFrontAsync.TagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest);
/**
*
* Add tags to a CloudFront resource.
*
*
* @param tagResourceRequest
* The request to add tags to a CloudFront resource.
* @param 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.
* @return A Java Future containing the result of the TagResource operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.TagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Remove tags from a CloudFront resource.
*
*
* @param untagResourceRequest
* The request to remove tags from a CloudFront resource.
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* @sample AmazonCloudFrontAsync.UntagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest);
/**
*
* Remove tags from a CloudFront resource.
*
*
* @param untagResourceRequest
* The request to remove tags from a CloudFront resource.
* @param 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.
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.UntagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Update an origin access identity.
*
*
* @param updateCloudFrontOriginAccessIdentityRequest
* The request to update an origin access identity.
* @return A Java Future containing the result of the UpdateCloudFrontOriginAccessIdentity operation returned by the
* service.
* @sample AmazonCloudFrontAsync.UpdateCloudFrontOriginAccessIdentity
* @see AWS API Documentation
*/
java.util.concurrent.Future updateCloudFrontOriginAccessIdentityAsync(
UpdateCloudFrontOriginAccessIdentityRequest updateCloudFrontOriginAccessIdentityRequest);
/**
*
* Update an origin access identity.
*
*
* @param updateCloudFrontOriginAccessIdentityRequest
* The request to update an origin access identity.
* @param 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.
* @return A Java Future containing the result of the UpdateCloudFrontOriginAccessIdentity operation returned by the
* service.
* @sample AmazonCloudFrontAsyncHandler.UpdateCloudFrontOriginAccessIdentity
* @see AWS API Documentation
*/
java.util.concurrent.Future updateCloudFrontOriginAccessIdentityAsync(
UpdateCloudFrontOriginAccessIdentityRequest updateCloudFrontOriginAccessIdentityRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates the configuration for a web distribution.
*
*
*
* When you update a distribution, there are more required fields than when you create a distribution. When you
* update your distribution by using this API action, follow the steps here to get the current configuration and
* then make your updates, to make sure that you include all of the required fields. To view a summary, see Required Fields for Create Distribution and Update Distribution in the Amazon CloudFront Developer
* Guide.
*
*
*
* The update process includes getting the current distribution configuration, updating the XML document that is
* returned to make your changes, and then submitting an UpdateDistribution
request to make the
* updates.
*
*
* For information about updating a distribution using the CloudFront console instead, see Creating a Distribution 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 must get a new Etag
header.
*
*
* -
*
* Update the XML document that was returned in the response to your GetDistributionConfig
request to
* include your changes.
*
*
*
* When you edit the XML file, be aware of the following:
*
*
* -
*
* You must strip out the ETag parameter that is returned.
*
*
* -
*
* Additional fields are required when you update a distribution. There may be fields included in the XML file for
* features that you haven't configured for your distribution. This is expected and required to successfully update
* the distribution.
*
*
* -
*
* 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 your 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
.
*
*
*
*
* @param updateDistributionRequest
* The request to update a distribution.
* @return A Java Future containing the result of the UpdateDistribution operation returned by the service.
* @sample AmazonCloudFrontAsync.UpdateDistribution
* @see AWS
* API Documentation
*/
java.util.concurrent.Future updateDistributionAsync(UpdateDistributionRequest updateDistributionRequest);
/**
*
* Updates the configuration for a web distribution.
*
*
*
* When you update a distribution, there are more required fields than when you create a distribution. When you
* update your distribution by using this API action, follow the steps here to get the current configuration and
* then make your updates, to make sure that you include all of the required fields. To view a summary, see Required Fields for Create Distribution and Update Distribution in the Amazon CloudFront Developer
* Guide.
*
*
*
* The update process includes getting the current distribution configuration, updating the XML document that is
* returned to make your changes, and then submitting an UpdateDistribution
request to make the
* updates.
*
*
* For information about updating a distribution using the CloudFront console instead, see Creating a Distribution 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 must get a new Etag
header.
*
*
* -
*
* Update the XML document that was returned in the response to your GetDistributionConfig
request to
* include your changes.
*
*
*
* When you edit the XML file, be aware of the following:
*
*
* -
*
* You must strip out the ETag parameter that is returned.
*
*
* -
*
* Additional fields are required when you update a distribution. There may be fields included in the XML file for
* features that you haven't configured for your distribution. This is expected and required to successfully update
* the distribution.
*
*
* -
*
* 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 your 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
.
*
*
*
*
* @param updateDistributionRequest
* The request to update a distribution.
* @param 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.
* @return A Java Future containing the result of the UpdateDistribution operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.UpdateDistribution
* @see AWS
* API Documentation
*/
java.util.concurrent.Future updateDistributionAsync(UpdateDistributionRequest updateDistributionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Update a field-level encryption configuration.
*
*
* @param updateFieldLevelEncryptionConfigRequest
* @return A Java Future containing the result of the UpdateFieldLevelEncryptionConfig operation returned by the
* service.
* @sample AmazonCloudFrontAsync.UpdateFieldLevelEncryptionConfig
* @see AWS API Documentation
*/
java.util.concurrent.Future updateFieldLevelEncryptionConfigAsync(
UpdateFieldLevelEncryptionConfigRequest updateFieldLevelEncryptionConfigRequest);
/**
*
* Update a field-level encryption configuration.
*
*
* @param updateFieldLevelEncryptionConfigRequest
* @param 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.
* @return A Java Future containing the result of the UpdateFieldLevelEncryptionConfig operation returned by the
* service.
* @sample AmazonCloudFrontAsyncHandler.UpdateFieldLevelEncryptionConfig
* @see AWS API Documentation
*/
java.util.concurrent.Future updateFieldLevelEncryptionConfigAsync(
UpdateFieldLevelEncryptionConfigRequest updateFieldLevelEncryptionConfigRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Update a field-level encryption profile.
*
*
* @param updateFieldLevelEncryptionProfileRequest
* @return A Java Future containing the result of the UpdateFieldLevelEncryptionProfile operation returned by the
* service.
* @sample AmazonCloudFrontAsync.UpdateFieldLevelEncryptionProfile
* @see AWS API Documentation
*/
java.util.concurrent.Future updateFieldLevelEncryptionProfileAsync(
UpdateFieldLevelEncryptionProfileRequest updateFieldLevelEncryptionProfileRequest);
/**
*
* Update a field-level encryption profile.
*
*
* @param updateFieldLevelEncryptionProfileRequest
* @param 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.
* @return A Java Future containing the result of the UpdateFieldLevelEncryptionProfile operation returned by the
* service.
* @sample AmazonCloudFrontAsyncHandler.UpdateFieldLevelEncryptionProfile
* @see AWS API Documentation
*/
java.util.concurrent.Future updateFieldLevelEncryptionProfileAsync(
UpdateFieldLevelEncryptionProfileRequest updateFieldLevelEncryptionProfileRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Update public key information. Note that the only value you can change is the comment.
*
*
* @param updatePublicKeyRequest
* @return A Java Future containing the result of the UpdatePublicKey operation returned by the service.
* @sample AmazonCloudFrontAsync.UpdatePublicKey
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updatePublicKeyAsync(UpdatePublicKeyRequest updatePublicKeyRequest);
/**
*
* Update public key information. Note that the only value you can change is the comment.
*
*
* @param updatePublicKeyRequest
* @param 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.
* @return A Java Future containing the result of the UpdatePublicKey operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.UpdatePublicKey
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updatePublicKeyAsync(UpdatePublicKeyRequest updatePublicKeyRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Update a streaming distribution.
*
*
* @param updateStreamingDistributionRequest
* The request to update a streaming distribution.
* @return A Java Future containing the result of the UpdateStreamingDistribution operation returned by the service.
* @sample AmazonCloudFrontAsync.UpdateStreamingDistribution
* @see AWS API Documentation
*/
java.util.concurrent.Future updateStreamingDistributionAsync(
UpdateStreamingDistributionRequest updateStreamingDistributionRequest);
/**
*
* Update a streaming distribution.
*
*
* @param updateStreamingDistributionRequest
* The request to update a streaming distribution.
* @param 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.
* @return A Java Future containing the result of the UpdateStreamingDistribution operation returned by the service.
* @sample AmazonCloudFrontAsyncHandler.UpdateStreamingDistribution
* @see AWS API Documentation
*/
java.util.concurrent.Future updateStreamingDistributionAsync(
UpdateStreamingDistributionRequest updateStreamingDistributionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}