All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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 cache policy. *

*

* After you create a cache policy, you can attach it to one or more cache behaviors. When it’s attached to a cache * behavior, the cache policy determines the following: *

*
    *
  • *

    * The values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and * URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer. *

    *
  • *
  • *

    * The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront * cache. *

    *
  • *
*

* The headers, cookies, and query strings that are included in the cache key are automatically included in requests * that CloudFront sends to the origin. CloudFront sends a request when it can’t find an object in its cache that * matches the request’s cache key. If you want to send values to the origin but not include them in the * cache key, use CreateOriginRequestPolicy. *

*

* For more information about cache policies, see Controlling the cache key in the Amazon CloudFront Developer Guide. *

* * @param createCachePolicyRequest * @return A Java Future containing the result of the CreateCachePolicy operation returned by the service. * @sample AmazonCloudFrontAsync.CreateCachePolicy * @see AWS * API Documentation */ java.util.concurrent.Future createCachePolicyAsync(CreateCachePolicyRequest createCachePolicyRequest); /** *

* Creates a cache policy. *

*

* After you create a cache policy, you can attach it to one or more cache behaviors. When it’s attached to a cache * behavior, the cache policy determines the following: *

*
    *
  • *

    * The values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and * URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer. *

    *
  • *
  • *

    * The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront * cache. *

    *
  • *
*

* The headers, cookies, and query strings that are included in the cache key are automatically included in requests * that CloudFront sends to the origin. CloudFront sends a request when it can’t find an object in its cache that * matches the request’s cache key. If you want to send values to the origin but not include them in the * cache key, use CreateOriginRequestPolicy. *

*

* For more information about cache policies, see Controlling the cache key in the Amazon CloudFront Developer Guide. *

* * @param createCachePolicyRequest * @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 CreateCachePolicy operation returned by the service. * @sample AmazonCloudFrontAsyncHandler.CreateCachePolicy * @see AWS * API Documentation */ java.util.concurrent.Future createCachePolicyAsync(CreateCachePolicyRequest createCachePolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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); /** *

* Enables additional CloudWatch metrics for the specified CloudFront distribution. The additional metrics incur an * additional cost. *

*

* For more information, see Viewing additional CloudFront distribution metrics in the Amazon CloudFront Developer Guide. *

* * @param createMonitoringSubscriptionRequest * @return A Java Future containing the result of the CreateMonitoringSubscription operation returned by the * service. * @sample AmazonCloudFrontAsync.CreateMonitoringSubscription * @see AWS API Documentation */ java.util.concurrent.Future createMonitoringSubscriptionAsync( CreateMonitoringSubscriptionRequest createMonitoringSubscriptionRequest); /** *

* Enables additional CloudWatch metrics for the specified CloudFront distribution. The additional metrics incur an * additional cost. *

*

* For more information, see Viewing additional CloudFront distribution metrics in the Amazon CloudFront Developer Guide. *

* * @param createMonitoringSubscriptionRequest * @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 CreateMonitoringSubscription operation returned by the * service. * @sample AmazonCloudFrontAsyncHandler.CreateMonitoringSubscription * @see AWS API Documentation */ java.util.concurrent.Future createMonitoringSubscriptionAsync( CreateMonitoringSubscriptionRequest createMonitoringSubscriptionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Creates an origin request policy. *

*

* After you create an origin request policy, you can attach it to one or more cache behaviors. When it’s attached * to a cache behavior, the origin request policy determines the values that CloudFront includes in requests that it * sends to the origin. Each request that CloudFront sends to the origin includes the following: *

*
    *
  • *

    * The request body and the URL path (without the domain name) from the viewer request. *

    *
  • *
  • *

    * The headers that CloudFront automatically includes in every origin request, including Host, * User-Agent, and X-Amz-Cf-Id. *

    *
  • *
  • *

    * All HTTP headers, cookies, and URL query strings that are specified in the cache policy or the origin request * policy. These can include items from the viewer request and, in the case of headers, additional ones that are * added by CloudFront. *

    *
  • *
*

* CloudFront sends a request when it can’t find a valid object in its cache that matches the request. If you want * to send values to the origin and also include them in the cache key, use CreateCachePolicy. *

*

* For more information about origin request policies, see Controlling origin requests in the Amazon CloudFront Developer Guide. *

* * @param createOriginRequestPolicyRequest * @return A Java Future containing the result of the CreateOriginRequestPolicy operation returned by the service. * @sample AmazonCloudFrontAsync.CreateOriginRequestPolicy * @see AWS API Documentation */ java.util.concurrent.Future createOriginRequestPolicyAsync( CreateOriginRequestPolicyRequest createOriginRequestPolicyRequest); /** *

* Creates an origin request policy. *

*

* After you create an origin request policy, you can attach it to one or more cache behaviors. When it’s attached * to a cache behavior, the origin request policy determines the values that CloudFront includes in requests that it * sends to the origin. Each request that CloudFront sends to the origin includes the following: *

*
    *
  • *

    * The request body and the URL path (without the domain name) from the viewer request. *

    *
  • *
  • *

    * The headers that CloudFront automatically includes in every origin request, including Host, * User-Agent, and X-Amz-Cf-Id. *

    *
  • *
  • *

    * All HTTP headers, cookies, and URL query strings that are specified in the cache policy or the origin request * policy. These can include items from the viewer request and, in the case of headers, additional ones that are * added by CloudFront. *

    *
  • *
*

* CloudFront sends a request when it can’t find a valid object in its cache that matches the request. If you want * to send values to the origin and also include them in the cache key, use CreateCachePolicy. *

*

* For more information about origin request policies, see Controlling origin requests in the Amazon CloudFront Developer Guide. *

* * @param createOriginRequestPolicyRequest * @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 CreateOriginRequestPolicy operation returned by the service. * @sample AmazonCloudFrontAsyncHandler.CreateOriginRequestPolicy * @see AWS API Documentation */ java.util.concurrent.Future createOriginRequestPolicyAsync( CreateOriginRequestPolicyRequest createOriginRequestPolicyRequest, 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); /** *

* Deletes a cache policy. *

*

* You cannot delete a cache policy if it’s attached to a cache behavior. First update your distributions to remove * the cache policy from all cache behaviors, then delete the cache policy. *

*

* To delete a cache policy, you must provide the policy’s identifier and version. To get these values, you can use * ListCachePolicies or GetCachePolicy. *

* * @param deleteCachePolicyRequest * @return A Java Future containing the result of the DeleteCachePolicy operation returned by the service. * @sample AmazonCloudFrontAsync.DeleteCachePolicy * @see AWS * API Documentation */ java.util.concurrent.Future deleteCachePolicyAsync(DeleteCachePolicyRequest deleteCachePolicyRequest); /** *

* Deletes a cache policy. *

*

* You cannot delete a cache policy if it’s attached to a cache behavior. First update your distributions to remove * the cache policy from all cache behaviors, then delete the cache policy. *

*

* To delete a cache policy, you must provide the policy’s identifier and version. To get these values, you can use * ListCachePolicies or GetCachePolicy. *

* * @param deleteCachePolicyRequest * @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 DeleteCachePolicy operation returned by the service. * @sample AmazonCloudFrontAsyncHandler.DeleteCachePolicy * @see AWS * API Documentation */ java.util.concurrent.Future deleteCachePolicyAsync(DeleteCachePolicyRequest deleteCachePolicyRequest, 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: *

*
    *
  1. *

    * Disable the web distribution *

    *
  2. *
  3. *

    * Submit a GET Distribution Config request to get the current configuration and the * Etag header for the distribution. *

    *
  4. *
  5. *

    * Update the XML document that was returned in the response to your GET Distribution Config * request to change the value of Enabled to false. *

    *
  6. *
  7. *

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

    *
  8. *
  9. *

    * Review the response to the PUT Distribution Config request to confirm that the distribution * was successfully disabled. *

    *
  10. *
  11. *

    * Submit a GET Distribution request to confirm that your changes have propagated. When * propagation is complete, the value of Status is Deployed. *

    *
  12. *
  13. *

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

    *
  14. *
  15. *

    * Review the response to your DELETE Distribution request to confirm that the distribution was * successfully deleted. *

    *
  16. *
*

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

*
    *
  1. *

    * Disable the web distribution *

    *
  2. *
  3. *

    * Submit a GET Distribution Config request to get the current configuration and the * Etag header for the distribution. *

    *
  4. *
  5. *

    * Update the XML document that was returned in the response to your GET Distribution Config * request to change the value of Enabled to false. *

    *
  6. *
  7. *

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

    *
  8. *
  9. *

    * Review the response to the PUT Distribution Config request to confirm that the distribution * was successfully disabled. *

    *
  10. *
  11. *

    * Submit a GET Distribution request to confirm that your changes have propagated. When * propagation is complete, the value of Status is Deployed. *

    *
  12. *
  13. *

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

    *
  14. *
  15. *

    * Review the response to your DELETE Distribution request to confirm that the distribution was * successfully deleted. *

    *
  16. *
*

* 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); /** *

* Disables additional CloudWatch metrics for the specified CloudFront distribution. *

* * @param deleteMonitoringSubscriptionRequest * @return A Java Future containing the result of the DeleteMonitoringSubscription operation returned by the * service. * @sample AmazonCloudFrontAsync.DeleteMonitoringSubscription * @see AWS API Documentation */ java.util.concurrent.Future deleteMonitoringSubscriptionAsync( DeleteMonitoringSubscriptionRequest deleteMonitoringSubscriptionRequest); /** *

* Disables additional CloudWatch metrics for the specified CloudFront distribution. *

* * @param deleteMonitoringSubscriptionRequest * @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 DeleteMonitoringSubscription operation returned by the * service. * @sample AmazonCloudFrontAsyncHandler.DeleteMonitoringSubscription * @see AWS API Documentation */ java.util.concurrent.Future deleteMonitoringSubscriptionAsync( DeleteMonitoringSubscriptionRequest deleteMonitoringSubscriptionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes an origin request policy. *

*

* You cannot delete an origin request policy if it’s attached to any cache behaviors. First update your * distributions to remove the origin request policy from all cache behaviors, then delete the origin request * policy. *

*

* To delete an origin request policy, you must provide the policy’s identifier and version. To get the identifier, * you can use ListOriginRequestPolicies or GetOriginRequestPolicy. *

* * @param deleteOriginRequestPolicyRequest * @return A Java Future containing the result of the DeleteOriginRequestPolicy operation returned by the service. * @sample AmazonCloudFrontAsync.DeleteOriginRequestPolicy * @see AWS API Documentation */ java.util.concurrent.Future deleteOriginRequestPolicyAsync( DeleteOriginRequestPolicyRequest deleteOriginRequestPolicyRequest); /** *

* Deletes an origin request policy. *

*

* You cannot delete an origin request policy if it’s attached to any cache behaviors. First update your * distributions to remove the origin request policy from all cache behaviors, then delete the origin request * policy. *

*

* To delete an origin request policy, you must provide the policy’s identifier and version. To get the identifier, * you can use ListOriginRequestPolicies or GetOriginRequestPolicy. *

* * @param deleteOriginRequestPolicyRequest * @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 DeleteOriginRequestPolicy operation returned by the service. * @sample AmazonCloudFrontAsyncHandler.DeleteOriginRequestPolicy * @see AWS API Documentation */ java.util.concurrent.Future deleteOriginRequestPolicyAsync( DeleteOriginRequestPolicyRequest deleteOriginRequestPolicyRequest, 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: *

*
    *
  1. *

    * Disable the RTMP distribution. *

    *
  2. *
  3. *

    * Submit a GET Streaming Distribution Config request to get the current configuration and the * Etag header for the distribution. *

    *
  4. *
  5. *

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

    *
  6. *
  7. *

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

    *
  8. *
  9. *

    * Review the response to the PUT Streaming Distribution Config request to confirm that the * distribution was successfully disabled. *

    *
  10. *
  11. *

    * Submit a GET Streaming Distribution Config request to confirm that your changes have propagated. * When propagation is complete, the value of Status is Deployed. *

    *
  12. *
  13. *

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

    *
  14. *
  15. *

    * Review the response to your DELETE Streaming Distribution request to confirm that the distribution * was successfully deleted. *

    *
  16. *
*

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

*
    *
  1. *

    * Disable the RTMP distribution. *

    *
  2. *
  3. *

    * Submit a GET Streaming Distribution Config request to get the current configuration and the * Etag header for the distribution. *

    *
  4. *
  5. *

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

    *
  6. *
  7. *

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

    *
  8. *
  9. *

    * Review the response to the PUT Streaming Distribution Config request to confirm that the * distribution was successfully disabled. *

    *
  10. *
  11. *

    * Submit a GET Streaming Distribution Config request to confirm that your changes have propagated. * When propagation is complete, the value of Status is Deployed. *

    *
  12. *
  13. *

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

    *
  14. *
  15. *

    * Review the response to your DELETE Streaming Distribution request to confirm that the distribution * was successfully deleted. *

    *
  16. *
*

* 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); /** *

* Gets a cache policy, including the following metadata: *

*
    *
  • *

    * The policy’s identifier. *

    *
  • *
  • *

    * The date and time when the policy was last modified. *

    *
  • *
*

* To get a cache policy, you must provide the policy’s identifier. If the cache policy is attached to a * distribution’s cache behavior, you can get the policy’s identifier using ListDistributions or * GetDistribution. If the cache policy is not attached to a cache behavior, you can get the identifier * using ListCachePolicies. *

* * @param getCachePolicyRequest * @return A Java Future containing the result of the GetCachePolicy operation returned by the service. * @sample AmazonCloudFrontAsync.GetCachePolicy * @see AWS API * Documentation */ java.util.concurrent.Future getCachePolicyAsync(GetCachePolicyRequest getCachePolicyRequest); /** *

* Gets a cache policy, including the following metadata: *

*
    *
  • *

    * The policy’s identifier. *

    *
  • *
  • *

    * The date and time when the policy was last modified. *

    *
  • *
*

* To get a cache policy, you must provide the policy’s identifier. If the cache policy is attached to a * distribution’s cache behavior, you can get the policy’s identifier using ListDistributions or * GetDistribution. If the cache policy is not attached to a cache behavior, you can get the identifier * using ListCachePolicies. *

* * @param getCachePolicyRequest * @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 GetCachePolicy operation returned by the service. * @sample AmazonCloudFrontAsyncHandler.GetCachePolicy * @see AWS API * Documentation */ java.util.concurrent.Future getCachePolicyAsync(GetCachePolicyRequest getCachePolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets a cache policy configuration. *

*

* To get a cache policy configuration, you must provide the policy’s identifier. If the cache policy is attached to * a distribution’s cache behavior, you can get the policy’s identifier using ListDistributions or * GetDistribution. If the cache policy is not attached to a cache behavior, you can get the identifier * using ListCachePolicies. *

* * @param getCachePolicyConfigRequest * @return A Java Future containing the result of the GetCachePolicyConfig operation returned by the service. * @sample AmazonCloudFrontAsync.GetCachePolicyConfig * @see AWS API Documentation */ java.util.concurrent.Future getCachePolicyConfigAsync(GetCachePolicyConfigRequest getCachePolicyConfigRequest); /** *

* Gets a cache policy configuration. *

*

* To get a cache policy configuration, you must provide the policy’s identifier. If the cache policy is attached to * a distribution’s cache behavior, you can get the policy’s identifier using ListDistributions or * GetDistribution. If the cache policy is not attached to a cache behavior, you can get the identifier * using ListCachePolicies. *

* * @param getCachePolicyConfigRequest * @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 GetCachePolicyConfig operation returned by the service. * @sample AmazonCloudFrontAsyncHandler.GetCachePolicyConfig * @see AWS API Documentation */ java.util.concurrent.Future getCachePolicyConfigAsync(GetCachePolicyConfigRequest getCachePolicyConfigRequest, 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); /** *

* Gets information about whether additional CloudWatch metrics are enabled for the specified CloudFront * distribution. *

* * @param getMonitoringSubscriptionRequest * @return A Java Future containing the result of the GetMonitoringSubscription operation returned by the service. * @sample AmazonCloudFrontAsync.GetMonitoringSubscription * @see AWS API Documentation */ java.util.concurrent.Future getMonitoringSubscriptionAsync( GetMonitoringSubscriptionRequest getMonitoringSubscriptionRequest); /** *

* Gets information about whether additional CloudWatch metrics are enabled for the specified CloudFront * distribution. *

* * @param getMonitoringSubscriptionRequest * @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 GetMonitoringSubscription operation returned by the service. * @sample AmazonCloudFrontAsyncHandler.GetMonitoringSubscription * @see AWS API Documentation */ java.util.concurrent.Future getMonitoringSubscriptionAsync( GetMonitoringSubscriptionRequest getMonitoringSubscriptionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets an origin request policy, including the following metadata: *

*
    *
  • *

    * The policy’s identifier. *

    *
  • *
  • *

    * The date and time when the policy was last modified. *

    *
  • *
*

* To get an origin request policy, you must provide the policy’s identifier. If the origin request policy is * attached to a distribution’s cache behavior, you can get the policy’s identifier using * ListDistributions or GetDistribution. If the origin request policy is not attached to a * cache behavior, you can get the identifier using ListOriginRequestPolicies. *

* * @param getOriginRequestPolicyRequest * @return A Java Future containing the result of the GetOriginRequestPolicy operation returned by the service. * @sample AmazonCloudFrontAsync.GetOriginRequestPolicy * @see AWS API Documentation */ java.util.concurrent.Future getOriginRequestPolicyAsync(GetOriginRequestPolicyRequest getOriginRequestPolicyRequest); /** *

* Gets an origin request policy, including the following metadata: *

*
    *
  • *

    * The policy’s identifier. *

    *
  • *
  • *

    * The date and time when the policy was last modified. *

    *
  • *
*

* To get an origin request policy, you must provide the policy’s identifier. If the origin request policy is * attached to a distribution’s cache behavior, you can get the policy’s identifier using * ListDistributions or GetDistribution. If the origin request policy is not attached to a * cache behavior, you can get the identifier using ListOriginRequestPolicies. *

* * @param getOriginRequestPolicyRequest * @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 GetOriginRequestPolicy operation returned by the service. * @sample AmazonCloudFrontAsyncHandler.GetOriginRequestPolicy * @see AWS API Documentation */ java.util.concurrent.Future getOriginRequestPolicyAsync(GetOriginRequestPolicyRequest getOriginRequestPolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets an origin request policy configuration. *

*

* To get an origin request policy configuration, you must provide the policy’s identifier. If the origin request * policy is attached to a distribution’s cache behavior, you can get the policy’s identifier using * ListDistributions or GetDistribution. If the origin request policy is not attached to a * cache behavior, you can get the identifier using ListOriginRequestPolicies. *

* * @param getOriginRequestPolicyConfigRequest * @return A Java Future containing the result of the GetOriginRequestPolicyConfig operation returned by the * service. * @sample AmazonCloudFrontAsync.GetOriginRequestPolicyConfig * @see AWS API Documentation */ java.util.concurrent.Future getOriginRequestPolicyConfigAsync( GetOriginRequestPolicyConfigRequest getOriginRequestPolicyConfigRequest); /** *

* Gets an origin request policy configuration. *

*

* To get an origin request policy configuration, you must provide the policy’s identifier. If the origin request * policy is attached to a distribution’s cache behavior, you can get the policy’s identifier using * ListDistributions or GetDistribution. If the origin request policy is not attached to a * cache behavior, you can get the identifier using ListOriginRequestPolicies. *

* * @param getOriginRequestPolicyConfigRequest * @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 GetOriginRequestPolicyConfig operation returned by the * service. * @sample AmazonCloudFrontAsyncHandler.GetOriginRequestPolicyConfig * @see AWS API Documentation */ java.util.concurrent.Future getOriginRequestPolicyConfigAsync( GetOriginRequestPolicyConfigRequest getOriginRequestPolicyConfigRequest, 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); /** *

* Gets a list of cache policies. *

*

* You can optionally apply a filter to return only the managed policies created by AWS, or only the custom policies * created in your AWS account. *

*

* You can optionally specify the maximum number of items to receive in the response. If the total number of items * in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the * next page of items, send a subsequent request that specifies the NextMarker value from the current * response as the Marker value in the subsequent request. *

* * @param listCachePoliciesRequest * @return A Java Future containing the result of the ListCachePolicies operation returned by the service. * @sample AmazonCloudFrontAsync.ListCachePolicies * @see AWS * API Documentation */ java.util.concurrent.Future listCachePoliciesAsync(ListCachePoliciesRequest listCachePoliciesRequest); /** *

* Gets a list of cache policies. *

*

* You can optionally apply a filter to return only the managed policies created by AWS, or only the custom policies * created in your AWS account. *

*

* You can optionally specify the maximum number of items to receive in the response. If the total number of items * in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the * next page of items, send a subsequent request that specifies the NextMarker value from the current * response as the Marker value in the subsequent request. *

* * @param listCachePoliciesRequest * @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 ListCachePolicies operation returned by the service. * @sample AmazonCloudFrontAsyncHandler.ListCachePolicies * @see AWS * API Documentation */ java.util.concurrent.Future listCachePoliciesAsync(ListCachePoliciesRequest listCachePoliciesRequest, 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); /** *

* Gets a list of distribution IDs for distributions that have a cache behavior that’s associated with the specified * cache policy. *

*

* You can optionally specify the maximum number of items to receive in the response. If the total number of items * in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the * next page of items, send a subsequent request that specifies the NextMarker value from the current * response as the Marker value in the subsequent request. *

* * @param listDistributionsByCachePolicyIdRequest * @return A Java Future containing the result of the ListDistributionsByCachePolicyId operation returned by the * service. * @sample AmazonCloudFrontAsync.ListDistributionsByCachePolicyId * @see AWS API Documentation */ java.util.concurrent.Future listDistributionsByCachePolicyIdAsync( ListDistributionsByCachePolicyIdRequest listDistributionsByCachePolicyIdRequest); /** *

* Gets a list of distribution IDs for distributions that have a cache behavior that’s associated with the specified * cache policy. *

*

* You can optionally specify the maximum number of items to receive in the response. If the total number of items * in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the * next page of items, send a subsequent request that specifies the NextMarker value from the current * response as the Marker value in the subsequent request. *

* * @param listDistributionsByCachePolicyIdRequest * @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 ListDistributionsByCachePolicyId operation returned by the * service. * @sample AmazonCloudFrontAsyncHandler.ListDistributionsByCachePolicyId * @see AWS API Documentation */ java.util.concurrent.Future listDistributionsByCachePolicyIdAsync( ListDistributionsByCachePolicyIdRequest listDistributionsByCachePolicyIdRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets a list of distribution IDs for distributions that have a cache behavior that’s associated with the specified * origin request policy. *

*

* You can optionally specify the maximum number of items to receive in the response. If the total number of items * in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the * next page of items, send a subsequent request that specifies the NextMarker value from the current * response as the Marker value in the subsequent request. *

* * @param listDistributionsByOriginRequestPolicyIdRequest * @return A Java Future containing the result of the ListDistributionsByOriginRequestPolicyId operation returned by * the service. * @sample AmazonCloudFrontAsync.ListDistributionsByOriginRequestPolicyId * @see AWS API Documentation */ java.util.concurrent.Future listDistributionsByOriginRequestPolicyIdAsync( ListDistributionsByOriginRequestPolicyIdRequest listDistributionsByOriginRequestPolicyIdRequest); /** *

* Gets a list of distribution IDs for distributions that have a cache behavior that’s associated with the specified * origin request policy. *

*

* You can optionally specify the maximum number of items to receive in the response. If the total number of items * in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the * next page of items, send a subsequent request that specifies the NextMarker value from the current * response as the Marker value in the subsequent request. *

* * @param listDistributionsByOriginRequestPolicyIdRequest * @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 ListDistributionsByOriginRequestPolicyId operation returned by * the service. * @sample AmazonCloudFrontAsyncHandler.ListDistributionsByOriginRequestPolicyId * @see AWS API Documentation */ java.util.concurrent.Future listDistributionsByOriginRequestPolicyIdAsync( ListDistributionsByOriginRequestPolicyIdRequest listDistributionsByOriginRequestPolicyIdRequest, 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); /** *

* Gets a list of origin request policies. *

*

* You can optionally apply a filter to return only the managed policies created by AWS, or only the custom policies * created in your AWS account. *

*

* You can optionally specify the maximum number of items to receive in the response. If the total number of items * in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the * next page of items, send a subsequent request that specifies the NextMarker value from the current * response as the Marker value in the subsequent request. *

* * @param listOriginRequestPoliciesRequest * @return A Java Future containing the result of the ListOriginRequestPolicies operation returned by the service. * @sample AmazonCloudFrontAsync.ListOriginRequestPolicies * @see AWS API Documentation */ java.util.concurrent.Future listOriginRequestPoliciesAsync( ListOriginRequestPoliciesRequest listOriginRequestPoliciesRequest); /** *

* Gets a list of origin request policies. *

*

* You can optionally apply a filter to return only the managed policies created by AWS, or only the custom policies * created in your AWS account. *

*

* You can optionally specify the maximum number of items to receive in the response. If the total number of items * in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the * next page of items, send a subsequent request that specifies the NextMarker value from the current * response as the Marker value in the subsequent request. *

* * @param listOriginRequestPoliciesRequest * @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 ListOriginRequestPolicies operation returned by the service. * @sample AmazonCloudFrontAsyncHandler.ListOriginRequestPolicies * @see AWS API Documentation */ java.util.concurrent.Future listOriginRequestPoliciesAsync( ListOriginRequestPoliciesRequest listOriginRequestPoliciesRequest, 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); /** *

* Updates a cache policy configuration. *

*

* When you update a cache policy configuration, all the fields are updated with the values provided in the request. * You cannot update some fields independent of others. To update a cache policy configuration: *

*
    *
  1. *

    * Use GetCachePolicyConfig to get the current configuration. *

    *
  2. *
  3. *

    * Locally modify the fields in the cache policy configuration that you want to update. *

    *
  4. *
  5. *

    * Call UpdateCachePolicy by providing the entire cache policy configuration, including the fields that * you modified and those that you didn’t. *

    *
  6. *
* * @param updateCachePolicyRequest * @return A Java Future containing the result of the UpdateCachePolicy operation returned by the service. * @sample AmazonCloudFrontAsync.UpdateCachePolicy * @see AWS * API Documentation */ java.util.concurrent.Future updateCachePolicyAsync(UpdateCachePolicyRequest updateCachePolicyRequest); /** *

* Updates a cache policy configuration. *

*

* When you update a cache policy configuration, all the fields are updated with the values provided in the request. * You cannot update some fields independent of others. To update a cache policy configuration: *

*
    *
  1. *

    * Use GetCachePolicyConfig to get the current configuration. *

    *
  2. *
  3. *

    * Locally modify the fields in the cache policy configuration that you want to update. *

    *
  4. *
  5. *

    * Call UpdateCachePolicy by providing the entire cache policy configuration, including the fields that * you modified and those that you didn’t. *

    *
  6. *
* * @param updateCachePolicyRequest * @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 UpdateCachePolicy operation returned by the service. * @sample AmazonCloudFrontAsyncHandler.UpdateCachePolicy * @see AWS * API Documentation */ java.util.concurrent.Future updateCachePolicyAsync(UpdateCachePolicyRequest updateCachePolicyRequest, 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 *

*
    *
  1. *

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

    *
  2. *
  3. *

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

      *
    • *
    *
  4. *
  5. *

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

      *
    • *
    *
  6. *
  7. *

    * Review the response to the UpdateDistribution request to confirm that the configuration was * successfully updated. *

    *
  8. *
  9. *

    * Optional: Submit a GetDistribution * request to confirm that your changes have propagated. When propagation is complete, the value of * Status is Deployed. *

    *
  10. *
* * @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 *

*
    *
  1. *

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

    *
  2. *
  3. *

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

      *
    • *
    *
  4. *
  5. *

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

      *
    • *
    *
  6. *
  7. *

    * Review the response to the UpdateDistribution request to confirm that the configuration was * successfully updated. *

    *
  8. *
  9. *

    * Optional: Submit a GetDistribution * request to confirm that your changes have propagated. When propagation is complete, the value of * Status is Deployed. *

    *
  10. *
* * @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); /** *

* Updates an origin request policy configuration. *

*

* When you update an origin request policy configuration, all the fields are updated with the values provided in * the request. You cannot update some fields independent of others. To update an origin request policy * configuration: *

*
    *
  1. *

    * Use GetOriginRequestPolicyConfig to get the current configuration. *

    *
  2. *
  3. *

    * Locally modify the fields in the origin request policy configuration that you want to update. *

    *
  4. *
  5. *

    * Call UpdateOriginRequestPolicy by providing the entire origin request policy configuration, * including the fields that you modified and those that you didn’t. *

    *
  6. *
* * @param updateOriginRequestPolicyRequest * @return A Java Future containing the result of the UpdateOriginRequestPolicy operation returned by the service. * @sample AmazonCloudFrontAsync.UpdateOriginRequestPolicy * @see AWS API Documentation */ java.util.concurrent.Future updateOriginRequestPolicyAsync( UpdateOriginRequestPolicyRequest updateOriginRequestPolicyRequest); /** *

* Updates an origin request policy configuration. *

*

* When you update an origin request policy configuration, all the fields are updated with the values provided in * the request. You cannot update some fields independent of others. To update an origin request policy * configuration: *

*
    *
  1. *

    * Use GetOriginRequestPolicyConfig to get the current configuration. *

    *
  2. *
  3. *

    * Locally modify the fields in the origin request policy configuration that you want to update. *

    *
  4. *
  5. *

    * Call UpdateOriginRequestPolicy by providing the entire origin request policy configuration, * including the fields that you modified and those that you didn’t. *

    *
  6. *
* * @param updateOriginRequestPolicyRequest * @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 UpdateOriginRequestPolicy operation returned by the service. * @sample AmazonCloudFrontAsyncHandler.UpdateOriginRequestPolicy * @see AWS API Documentation */ java.util.concurrent.Future updateOriginRequestPolicyAsync( UpdateOriginRequestPolicyRequest updateOriginRequestPolicyRequest, 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); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy