Consumer

public struct Consumer : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • When you register a consumer, Kinesis Data Streams generates an ARN for it. You need this ARN to be able to call SubscribeToShard. If you delete a consumer and then create a new one with the same name, it won’t have the same ARN. That’s because consumer ARNs contain the creation timestamp. This is important to keep in mind if you have IAM policies that reference consumer ARNs.

    Declaration

    Swift

    public let consumerARN: String
  • Undocumented

    Declaration

    Swift

    public let consumerCreationTimestamp: TimeStamp
  • The name of the consumer is something you choose when you register the consumer.

    Declaration

    Swift

    public let consumerName: String
  • A consumer can’t read data while in the CREATING or DELETING states.

    Declaration

    Swift

    public let consumerStatus: ConsumerStatus
  • Undocumented

    Declaration

    Swift

    public init(consumerARN: String, consumerCreationTimestamp: TimeStamp, consumerName: String, consumerStatus: ConsumerStatus)