Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ConsumerDescription

import type { ConsumerDescription } from "https://aws-api.deno.dev/v0.3/services/kinesis.ts?docs=full";

An object that represents the details of a registered consumer. This type of object is returned by "DescribeStreamConsumer".

interface ConsumerDescription {
ConsumerARN: string;
ConsumerCreationTimestamp: Date | number;
ConsumerName: string;
ConsumerStatus: ConsumerStatus;
StreamARN: string;
}

§Properties

§
ConsumerARN: string
[src]

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.

§
ConsumerCreationTimestamp: Date | number
[src]
§
ConsumerName: string
[src]

The name of the consumer is something you choose when you register the consumer.

§
ConsumerStatus: ConsumerStatus
[src]

A consumer can't read data while in the CREATING or DELETING states.

§
StreamARN: string
[src]

The ARN of the stream with which you registered the consumer.