cloudFrontService.getStreamingDistributionInfo(testStreamingDistributionId);
System.out.println("Streaming Distribution is deployed? "
+ streamingDistributionCheck.isDeployed());
// Convenience method to disable a streaming distribution prior to deletion
cloudFrontService.disableStreamingDistributionForDeletion(testStreamingDistributionId);
// Delete a streaming distribution (the distribution must be disabled and deployed first)
cloudFrontService.deleteStreamingDistribution(testStreamingDistributionId);
// ------------------------------------------------------------