Struct rusoto_kinesis::Consumer [−][src]
pub struct Consumer { pub consumer_arn: String, pub consumer_creation_timestamp: f64, pub consumer_name: String, pub consumer_status: String, }
Expand description
An object that represents the details of the consumer you registered. This type of object is returned by RegisterStreamConsumer.
Fields
consumer_arn: String
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.
consumer_creation_timestamp: f64
consumer_name: String
The name of the consumer is something you choose when you register the consumer.
consumer_status: String
A consumer can't read data while in the CREATING
or DELETING
states.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Consumer
impl UnwindSafe for Consumer
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self