Class SubscriptionStatusEvent


  • public class SubscriptionStatusEvent
    extends Object
    An event that describes a change in subscription status for a streaming operation.
    • Method Detail

      • getType

        public SubscriptionStatusEventType getType()
        Gets the type of status change represented by the event.
        Returns:
        The type of status change represented by the event
      • getError

        public Optional<Integer> getError()
        Gets the underlying reason for the event. Only set for SubscriptionLost and SubscriptionHalted. Use CRT.awsErrorString() to convert the integer error code into an error description.
        Returns:
        underlying reason for the event