use of com.amazonaws.services.kinesis.model.DescribeStreamSummaryRequest in project hazelcast by hazelcast.
the class KinesisTestHelper method getStreamStatus.
private StreamStatus getStreamStatus() {
DescribeStreamSummaryRequest request = new DescribeStreamSummaryRequest();
request.setStreamName(stream);
StreamDescriptionSummary description = kinesis.describeStreamSummary(request).getStreamDescriptionSummary();
String statusString = description.getStreamStatus();
return StreamStatus.valueOf(statusString);
}
use of com.amazonaws.services.kinesis.model.DescribeStreamSummaryRequest in project hazelcast by hazelcast.
the class NoopShardCountMonitor method describeStreamSummaryAsync.
private Future<DescribeStreamSummaryResult> describeStreamSummaryAsync() {
DescribeStreamSummaryRequest request = new DescribeStreamSummaryRequest();
request.setStreamName(streamName);
return kinesis.describeStreamSummaryAsync(request);
}
Aggregations