/** * Convenience method to disable a streaming distribution that you intend to delete. * This method merely calls the * {@link #updateStreamingDistributionConfig(String, Origin, String[], String, boolean, LoggingStatus)} * method with default values for most of the distribution's configuration * settings. * <p> * <strong>Warning</strong>: Do not use this method on distributions you * intend to keep, because it will reset most of the distribution's * configuration settings such as CNAMEs and logging status. * * @param id the distribution's unique identifier. * @throws CloudFrontServiceException */ public void disableStreamingDistributionForDeletion(String id) throws CloudFrontServiceException { updateStreamingDistributionConfig(id, null, new String[]{}, "Disabled prior to deletion", false, // enabled? null // LoggingStatus ); }
/** * Convenience method to disable a streaming distribution that you intend to delete. * This method merely calls the * {@link #updateStreamingDistributionConfig(String, Origin, String[], String, boolean, LoggingStatus)} * method with default values for most of the distribution's configuration * settings. * <p> * <strong>Warning</strong>: Do not use this method on distributions you * intend to keep, because it will reset most of the distribution's * configuration settings such as CNAMEs and logging status. * * @param id the distribution's unique identifier. * @throws CloudFrontServiceException */ public void disableStreamingDistributionForDeletion(String id) throws CloudFrontServiceException { updateStreamingDistributionConfig(id, null, new String[]{}, "Disabled prior to deletion", false, // enabled? null // LoggingStatus ); }
cloudFrontService.updateStreamingDistributionConfig( testStreamingDistributionId, cloudFrontService.updateStreamingDistributionConfig( testStreamingDistributionId,
cloudFrontService.updateStreamingDistributionConfig( testStreamingDistributionId, cloudFrontService.updateStreamingDistributionConfig( testStreamingDistributionId,