Example usage for com.amazonaws.services.cloudfront.model StreamingDistribution getStatus

List of usage examples for com.amazonaws.services.cloudfront.model StreamingDistribution getStatus

Introduction

In this page you can find the example usage for com.amazonaws.services.cloudfront.model StreamingDistribution getStatus.

Prototype


public String getStatus() 

Source Link

Document

The current status of the RTMP distribution.

Usage

From source file:org.duracloud.s3task.streaming.DeleteStreamingTaskRunner.java

License:Apache License

private boolean isDeployed(String distId) {
    StreamingDistribution dist = cfClient.getStreamingDistribution(new GetStreamingDistributionRequest(distId))
            .getStreamingDistribution();
    return DEPLOYED.equals(dist.getStatus());
}