libZSservicesZSamazonka-kinesisZSamazonka-kinesis
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Kinesis.DescribeStreamConsumer

Description

To get the description of a registered consumer, provide the ARN of the consumer. Alternatively, you can provide the ARN of the data stream and the name you gave the consumer when you registered it. You may also provide all three parameters, as long as they don't conflict with each other. If you don't know the name or ARN of the consumer that you want to describe, you can use the ListStreamConsumers operation to get a list of the descriptions of all the consumers that are currently registered with a given data stream.

This operation has a limit of 20 transactions per second per stream.

Synopsis

Creating a Request

data DescribeStreamConsumer Source #

See: newDescribeStreamConsumer smart constructor.

Constructors

DescribeStreamConsumer' 

Fields

Instances

Instances details
Eq DescribeStreamConsumer Source # 
Instance details

Defined in Amazonka.Kinesis.DescribeStreamConsumer

Read DescribeStreamConsumer Source # 
Instance details

Defined in Amazonka.Kinesis.DescribeStreamConsumer

Show DescribeStreamConsumer Source # 
Instance details

Defined in Amazonka.Kinesis.DescribeStreamConsumer

Generic DescribeStreamConsumer Source # 
Instance details

Defined in Amazonka.Kinesis.DescribeStreamConsumer

Associated Types

type Rep DescribeStreamConsumer :: Type -> Type #

NFData DescribeStreamConsumer Source # 
Instance details

Defined in Amazonka.Kinesis.DescribeStreamConsumer

Methods

rnf :: DescribeStreamConsumer -> () #

Hashable DescribeStreamConsumer Source # 
Instance details

Defined in Amazonka.Kinesis.DescribeStreamConsumer

ToJSON DescribeStreamConsumer Source # 
Instance details

Defined in Amazonka.Kinesis.DescribeStreamConsumer

AWSRequest DescribeStreamConsumer Source # 
Instance details

Defined in Amazonka.Kinesis.DescribeStreamConsumer

Associated Types

type AWSResponse DescribeStreamConsumer #

ToHeaders DescribeStreamConsumer Source # 
Instance details

Defined in Amazonka.Kinesis.DescribeStreamConsumer

ToPath DescribeStreamConsumer Source # 
Instance details

Defined in Amazonka.Kinesis.DescribeStreamConsumer

ToQuery DescribeStreamConsumer Source # 
Instance details

Defined in Amazonka.Kinesis.DescribeStreamConsumer

type Rep DescribeStreamConsumer Source # 
Instance details

Defined in Amazonka.Kinesis.DescribeStreamConsumer

type Rep DescribeStreamConsumer = D1 ('MetaData "DescribeStreamConsumer" "Amazonka.Kinesis.DescribeStreamConsumer" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'False) (C1 ('MetaCons "DescribeStreamConsumer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "consumerARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "streamARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "consumerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))
type AWSResponse DescribeStreamConsumer Source # 
Instance details

Defined in Amazonka.Kinesis.DescribeStreamConsumer

newDescribeStreamConsumer :: DescribeStreamConsumer Source #

Create a value of DescribeStreamConsumer with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:consumerARN:DescribeStreamConsumer', describeStreamConsumer_consumerARN - The ARN returned by Kinesis Data Streams when you registered the consumer.

$sel:streamARN:DescribeStreamConsumer', describeStreamConsumer_streamARN - The ARN of the Kinesis data stream that the consumer is registered with. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces.

$sel:consumerName:DescribeStreamConsumer', describeStreamConsumer_consumerName - The name that you gave to the consumer.

Request Lenses

describeStreamConsumer_consumerARN :: Lens' DescribeStreamConsumer (Maybe Text) Source #

The ARN returned by Kinesis Data Streams when you registered the consumer.

describeStreamConsumer_streamARN :: Lens' DescribeStreamConsumer (Maybe Text) Source #

The ARN of the Kinesis data stream that the consumer is registered with. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces.

Destructuring the Response

data DescribeStreamConsumerResponse Source #

See: newDescribeStreamConsumerResponse smart constructor.

Constructors

DescribeStreamConsumerResponse' 

Fields

Instances

Instances details
Eq DescribeStreamConsumerResponse Source # 
Instance details

Defined in Amazonka.Kinesis.DescribeStreamConsumer

Read DescribeStreamConsumerResponse Source # 
Instance details

Defined in Amazonka.Kinesis.DescribeStreamConsumer

Show DescribeStreamConsumerResponse Source # 
Instance details

Defined in Amazonka.Kinesis.DescribeStreamConsumer

Generic DescribeStreamConsumerResponse Source # 
Instance details

Defined in Amazonka.Kinesis.DescribeStreamConsumer

Associated Types

type Rep DescribeStreamConsumerResponse :: Type -> Type #

NFData DescribeStreamConsumerResponse Source # 
Instance details

Defined in Amazonka.Kinesis.DescribeStreamConsumer

type Rep DescribeStreamConsumerResponse Source # 
Instance details

Defined in Amazonka.Kinesis.DescribeStreamConsumer

type Rep DescribeStreamConsumerResponse = D1 ('MetaData "DescribeStreamConsumerResponse" "Amazonka.Kinesis.DescribeStreamConsumer" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'False) (C1 ('MetaCons "DescribeStreamConsumerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "consumerDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ConsumerDescription)))

newDescribeStreamConsumerResponse Source #

Create a value of DescribeStreamConsumerResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:DescribeStreamConsumerResponse', describeStreamConsumerResponse_httpStatus - The response's http status code.

$sel:consumerDescription:DescribeStreamConsumerResponse', describeStreamConsumerResponse_consumerDescription - An object that represents the details of the consumer.

Response Lenses