/** * Delete a disabled streaming distribution. You can only delete a distribution * that is already disabled, if you delete an enabled distribution this operation * will fail with a <tt>DistributionNotDisabled</tt> error. * <p> * This method performs many of the steps necessary to delete a disabled * distribution. It first performs lookup on the distribution using * {@link #getDistributionConfig(String)} to find its ETag value, then uses * this information to delete the distribution. * <p> * Because it can take a long time (minutes) to disable a distribution, this * task is not performed automatically by this method. In your own code, you * need to verify that a distribution is disabled with a status of * <tt>Deployed</tt> before you invoke this method. * * @param id the distribution's unique identifier. * @throws CloudFrontServiceException */ public void deleteStreamingDistribution(String id) throws CloudFrontServiceException { deleteDistributionImpl(true, id); }
/** * Delete a disabled distribution. You can only delete a distribution that is * already disabled, if you delete an enabled distribution this operation will * fail with a <tt>DistributionNotDisabled</tt> error. * <p> * This method performs many of the steps necessary to delete a disabled * distribution. It first performs lookup on the distribution using * {@link #getDistributionConfig(String)} to find its ETag value, then uses * this information to delete the distribution. * <p> * Because it can take a long time (minutes) to disable a distribution, this * task is not performed automatically by this method. In your own code, you * need to verify that a distribution is disabled with a status of * <tt>Deployed</tt> before you invoke this method. * * @param id the distribution's unique identifier. * @throws CloudFrontServiceException */ public void deleteDistribution(String id) throws CloudFrontServiceException { deleteDistributionImpl(false, id); }
/** * Delete a disabled streaming distribution. You can only delete a distribution * that is already disabled, if you delete an enabled distribution this operation * will fail with a <tt>DistributionNotDisabled</tt> error. * <p> * This method performs many of the steps necessary to delete a disabled * distribution. It first performs lookup on the distribution using * {@link #getDistributionConfig(String)} to find its ETag value, then uses * this information to delete the distribution. * <p> * Because it can take a long time (minutes) to disable a distribution, this * task is not performed automatically by this method. In your own code, you * need to verify that a distribution is disabled with a status of * <tt>Deployed</tt> before you invoke this method. * * @param id the distribution's unique identifier. * @throws CloudFrontServiceException */ public void deleteStreamingDistribution(String id) throws CloudFrontServiceException { deleteDistributionImpl(true, id); }
/** * Delete a disabled distribution. You can only delete a distribution that is * already disabled, if you delete an enabled distribution this operation will * fail with a <tt>DistributionNotDisabled</tt> error. * <p> * This method performs many of the steps necessary to delete a disabled * distribution. It first performs lookup on the distribution using * {@link #getDistributionConfig(String)} to find its ETag value, then uses * this information to delete the distribution. * <p> * Because it can take a long time (minutes) to disable a distribution, this * task is not performed automatically by this method. In your own code, you * need to verify that a distribution is disabled with a status of * <tt>Deployed</tt> before you invoke this method. * * @param id the distribution's unique identifier. * @throws CloudFrontServiceException */ public void deleteDistribution(String id) throws CloudFrontServiceException { deleteDistributionImpl(false, id); }