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.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2013-12-02 of the Amazon Kinesis SDK configuration.

Errors

_KMSInvalidStateException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because the state of the specified resource isn't valid for this request. For more information, see How Key State Affects Use of a Customer Master Key in the AWS Key Management Service Developer Guide.

_KMSThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was denied due to request throttling. For more information about throttling, see Limits in the AWS Key Management Service Developer Guide.

_ExpiredIteratorException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The provided iterator exceeds the maximum age allowed.

_InvalidArgumentException :: AsError a => Getting (First ServiceError) a ServiceError Source #

A specified parameter exceeds its restrictions, is not supported, or can't be used. For more information, see the returned message.

_KMSOptInRequired :: AsError a => Getting (First ServiceError) a ServiceError Source #

The AWS access key ID needs a subscription for the service.

_ProvisionedThroughputExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request rate for the stream is too high, or the requested data is too large for the available throughput. Reduce the frequency or size of your requests. For more information, see Streams Limits in the Amazon Kinesis Data Streams Developer Guide, and Error Retries and Exponential Backoff in AWS in the AWS General Reference.

_KMSNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because the specified entity or resource can't be found.

_ExpiredNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The pagination token passed to the operation is expired.

_KMSDisabledException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because the specified customer master key (CMK) isn't enabled.

_InternalFailureException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The processing of the request failed because of an unknown error, exception, or failure.

_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The requested resource could not be found. The stream might not be specified correctly.

_KMSAccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The ciphertext references a key that doesn't exist or that you don't have access to.

_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.

_ResourceInUseException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The resource is not available for this operation. For successful operation, the resource must be in the ACTIVE state.

ConsumerStatus

newtype ConsumerStatus Source #

Constructors

ConsumerStatus' 

Instances

Instances details
Eq ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

Ord ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

Read ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

Show ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

Generic ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

Associated Types

type Rep ConsumerStatus :: Type -> Type #

NFData ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

Methods

rnf :: ConsumerStatus -> () #

Hashable ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

ToJSON ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

ToJSONKey ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

FromJSON ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

FromJSONKey ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

ToLog ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

ToHeader ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

ToQuery ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

FromXML ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

ToXML ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

Methods

toXML :: ConsumerStatus -> XML #

ToByteString ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

FromText ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

ToText ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

type Rep ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

type Rep ConsumerStatus = D1 ('MetaData "ConsumerStatus" "Amazonka.Kinesis.Types.ConsumerStatus" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'True) (C1 ('MetaCons "ConsumerStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromConsumerStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EncryptionType

newtype EncryptionType Source #

Constructors

EncryptionType' 

Bundled Patterns

pattern EncryptionType_KMS :: EncryptionType 
pattern EncryptionType_NONE :: EncryptionType 

Instances

Instances details
Eq EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

Ord EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

Read EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

Show EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

Generic EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

Associated Types

type Rep EncryptionType :: Type -> Type #

NFData EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

Methods

rnf :: EncryptionType -> () #

Hashable EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

ToJSON EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

ToJSONKey EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

FromJSON EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

FromJSONKey EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

ToLog EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

ToHeader EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

ToQuery EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

FromXML EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

ToXML EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

Methods

toXML :: EncryptionType -> XML #

ToByteString EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

FromText EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

ToText EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

type Rep EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

type Rep EncryptionType = D1 ('MetaData "EncryptionType" "Amazonka.Kinesis.Types.EncryptionType" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'True) (C1 ('MetaCons "EncryptionType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEncryptionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

MetricsName

newtype MetricsName Source #

Constructors

MetricsName' 

Instances

Instances details
Eq MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

Ord MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

Read MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

Show MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

Generic MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

Associated Types

type Rep MetricsName :: Type -> Type #

NFData MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

Methods

rnf :: MetricsName -> () #

Hashable MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

ToJSON MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

ToJSONKey MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

FromJSON MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

FromJSONKey MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

ToLog MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

ToHeader MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

ToQuery MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

FromXML MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

ToXML MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

Methods

toXML :: MetricsName -> XML #

ToByteString MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

FromText MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

ToText MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

Methods

toText :: MetricsName -> Text #

type Rep MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

type Rep MetricsName = D1 ('MetaData "MetricsName" "Amazonka.Kinesis.Types.MetricsName" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'True) (C1 ('MetaCons "MetricsName'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromMetricsName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ScalingType

newtype ScalingType Source #

Constructors

ScalingType' 

Bundled Patterns

pattern ScalingType_UNIFORM_SCALING :: ScalingType 

Instances

Instances details
Eq ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

Ord ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

Read ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

Show ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

Generic ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

Associated Types

type Rep ScalingType :: Type -> Type #

NFData ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

Methods

rnf :: ScalingType -> () #

Hashable ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

ToJSON ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

ToJSONKey ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

FromJSON ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

FromJSONKey ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

ToLog ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

ToHeader ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

ToQuery ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

FromXML ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

ToXML ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

Methods

toXML :: ScalingType -> XML #

ToByteString ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

FromText ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

ToText ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

Methods

toText :: ScalingType -> Text #

type Rep ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

type Rep ScalingType = D1 ('MetaData "ScalingType" "Amazonka.Kinesis.Types.ScalingType" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'True) (C1 ('MetaCons "ScalingType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromScalingType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ShardFilterType

newtype ShardFilterType Source #

Constructors

ShardFilterType' 

Instances

Instances details
Eq ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

Ord ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

Read ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

Show ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

Generic ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

Associated Types

type Rep ShardFilterType :: Type -> Type #

NFData ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

Methods

rnf :: ShardFilterType -> () #

Hashable ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

ToJSON ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

ToJSONKey ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

FromJSON ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

FromJSONKey ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

ToLog ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

ToHeader ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

ToQuery ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

FromXML ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

ToXML ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

Methods

toXML :: ShardFilterType -> XML #

ToByteString ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

FromText ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

ToText ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

type Rep ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

type Rep ShardFilterType = D1 ('MetaData "ShardFilterType" "Amazonka.Kinesis.Types.ShardFilterType" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'True) (C1 ('MetaCons "ShardFilterType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromShardFilterType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ShardIteratorType

newtype ShardIteratorType Source #

Instances

Instances details
Eq ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

Ord ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

Read ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

Show ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

Generic ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

Associated Types

type Rep ShardIteratorType :: Type -> Type #

NFData ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

Methods

rnf :: ShardIteratorType -> () #

Hashable ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

ToJSON ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

ToJSONKey ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

FromJSON ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

FromJSONKey ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

ToLog ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

ToHeader ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

ToQuery ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

FromXML ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

ToXML ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

ToByteString ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

FromText ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

ToText ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

type Rep ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

type Rep ShardIteratorType = D1 ('MetaData "ShardIteratorType" "Amazonka.Kinesis.Types.ShardIteratorType" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'True) (C1 ('MetaCons "ShardIteratorType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromShardIteratorType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

StreamStatus

newtype StreamStatus Source #

Constructors

StreamStatus' 

Instances

Instances details
Eq StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

Ord StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

Read StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

Show StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

Generic StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

Associated Types

type Rep StreamStatus :: Type -> Type #

NFData StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

Methods

rnf :: StreamStatus -> () #

Hashable StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

ToJSON StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

ToJSONKey StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

FromJSON StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

FromJSONKey StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

ToLog StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

ToHeader StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

ToQuery StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

FromXML StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

ToXML StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

Methods

toXML :: StreamStatus -> XML #

ToByteString StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

FromText StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

ToText StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

Methods

toText :: StreamStatus -> Text #

type Rep StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

type Rep StreamStatus = D1 ('MetaData "StreamStatus" "Amazonka.Kinesis.Types.StreamStatus" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'True) (C1 ('MetaCons "StreamStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStreamStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ChildShard

data ChildShard Source #

See: newChildShard smart constructor.

Instances

Instances details
Eq ChildShard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ChildShard

Read ChildShard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ChildShard

Show ChildShard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ChildShard

Generic ChildShard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ChildShard

Associated Types

type Rep ChildShard :: Type -> Type #

NFData ChildShard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ChildShard

Methods

rnf :: ChildShard -> () #

Hashable ChildShard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ChildShard

FromJSON ChildShard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ChildShard

type Rep ChildShard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ChildShard

type Rep ChildShard = D1 ('MetaData "ChildShard" "Amazonka.Kinesis.Types.ChildShard" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'False) (C1 ('MetaCons "ChildShard'" 'PrefixI 'True) (S1 ('MetaSel ('Just "shardId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "parentShards") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "hashKeyRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HashKeyRange))))

newChildShard Source #

Create a value of ChildShard 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:shardId:ChildShard', childShard_shardId - Undocumented member.

$sel:parentShards:ChildShard', childShard_parentShards - Undocumented member.

$sel:hashKeyRange:ChildShard', childShard_hashKeyRange - Undocumented member.

Consumer

data Consumer Source #

An object that represents the details of the consumer you registered. This type of object is returned by RegisterStreamConsumer.

See: newConsumer smart constructor.

Constructors

Consumer' 

Fields

  • consumerName :: Text

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

  • consumerARN :: Text

    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.

  • consumerStatus :: ConsumerStatus

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

  • consumerCreationTimestamp :: POSIX
     

Instances

Instances details
Eq Consumer Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Consumer

Read Consumer Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Consumer

Show Consumer Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Consumer

Generic Consumer Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Consumer

Associated Types

type Rep Consumer :: Type -> Type #

Methods

from :: Consumer -> Rep Consumer x #

to :: Rep Consumer x -> Consumer #

NFData Consumer Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Consumer

Methods

rnf :: Consumer -> () #

Hashable Consumer Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Consumer

Methods

hashWithSalt :: Int -> Consumer -> Int #

hash :: Consumer -> Int #

FromJSON Consumer Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Consumer

type Rep Consumer Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Consumer

type Rep Consumer = D1 ('MetaData "Consumer" "Amazonka.Kinesis.Types.Consumer" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'False) (C1 ('MetaCons "Consumer'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "consumerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "consumerARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "consumerStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ConsumerStatus) :*: S1 ('MetaSel ('Just "consumerCreationTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))))

newConsumer Source #

Create a value of Consumer 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:consumerName:Consumer', consumer_consumerName - The name of the consumer is something you choose when you register the consumer.

$sel:consumerARN:Consumer', consumer_consumerARN - 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.

$sel:consumerStatus:Consumer', consumer_consumerStatus - A consumer can't read data while in the CREATING or DELETING states.

$sel:consumerCreationTimestamp:Consumer', consumer_consumerCreationTimestamp -

consumer_consumerName :: Lens' Consumer Text Source #

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

consumer_consumerARN :: Lens' Consumer Text Source #

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_consumerStatus :: Lens' Consumer ConsumerStatus Source #

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

ConsumerDescription

data ConsumerDescription Source #

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

See: newConsumerDescription smart constructor.

Constructors

ConsumerDescription' 

Fields

  • consumerName :: Text

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

  • consumerARN :: Text

    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.

  • consumerStatus :: ConsumerStatus

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

  • consumerCreationTimestamp :: POSIX
     
  • streamARN :: Text

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

Instances

Instances details
Eq ConsumerDescription Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerDescription

Read ConsumerDescription Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerDescription

Show ConsumerDescription Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerDescription

Generic ConsumerDescription Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerDescription

Associated Types

type Rep ConsumerDescription :: Type -> Type #

NFData ConsumerDescription Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerDescription

Methods

rnf :: ConsumerDescription -> () #

Hashable ConsumerDescription Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerDescription

FromJSON ConsumerDescription Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerDescription

type Rep ConsumerDescription Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerDescription

type Rep ConsumerDescription = D1 ('MetaData "ConsumerDescription" "Amazonka.Kinesis.Types.ConsumerDescription" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'False) (C1 ('MetaCons "ConsumerDescription'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "consumerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "consumerARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "consumerStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ConsumerStatus) :*: (S1 ('MetaSel ('Just "consumerCreationTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "streamARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newConsumerDescription Source #

Create a value of ConsumerDescription 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:consumerName:ConsumerDescription', consumerDescription_consumerName - The name of the consumer is something you choose when you register the consumer.

$sel:consumerARN:ConsumerDescription', consumerDescription_consumerARN - 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.

$sel:consumerStatus:ConsumerDescription', consumerDescription_consumerStatus - A consumer can't read data while in the CREATING or DELETING states.

$sel:consumerCreationTimestamp:ConsumerDescription', consumerDescription_consumerCreationTimestamp -

$sel:streamARN:ConsumerDescription', consumerDescription_streamARN - The ARN of the stream with which you registered the consumer.

consumerDescription_consumerName :: Lens' ConsumerDescription Text Source #

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

consumerDescription_consumerARN :: Lens' ConsumerDescription Text Source #

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.

consumerDescription_consumerStatus :: Lens' ConsumerDescription ConsumerStatus Source #

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

consumerDescription_streamARN :: Lens' ConsumerDescription Text Source #

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

EnhancedMetrics

data EnhancedMetrics Source #

Represents enhanced metrics types.

See: newEnhancedMetrics smart constructor.

Constructors

EnhancedMetrics' 

Fields

Instances

Instances details
Eq EnhancedMetrics Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMetrics

Read EnhancedMetrics Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMetrics

Show EnhancedMetrics Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMetrics

Generic EnhancedMetrics Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMetrics

Associated Types

type Rep EnhancedMetrics :: Type -> Type #

NFData EnhancedMetrics Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMetrics

Methods

rnf :: EnhancedMetrics -> () #

Hashable EnhancedMetrics Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMetrics

FromJSON EnhancedMetrics Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMetrics

type Rep EnhancedMetrics Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMetrics

type Rep EnhancedMetrics = D1 ('MetaData "EnhancedMetrics" "Amazonka.Kinesis.Types.EnhancedMetrics" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'False) (C1 ('MetaCons "EnhancedMetrics'" 'PrefixI 'True) (S1 ('MetaSel ('Just "shardLevelMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MetricsName]))))

newEnhancedMetrics :: EnhancedMetrics Source #

Create a value of EnhancedMetrics 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:shardLevelMetrics:EnhancedMetrics', enhancedMetrics_shardLevelMetrics - List of shard-level metrics.

The following are the valid shard-level metrics. The value "ALL" enhances every metric.

  • IncomingBytes
  • IncomingRecords
  • OutgoingBytes
  • OutgoingRecords
  • WriteProvisionedThroughputExceeded
  • ReadProvisionedThroughputExceeded
  • IteratorAgeMilliseconds
  • ALL

For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.

enhancedMetrics_shardLevelMetrics :: Lens' EnhancedMetrics (Maybe [MetricsName]) Source #

List of shard-level metrics.

The following are the valid shard-level metrics. The value "ALL" enhances every metric.

  • IncomingBytes
  • IncomingRecords
  • OutgoingBytes
  • OutgoingRecords
  • WriteProvisionedThroughputExceeded
  • ReadProvisionedThroughputExceeded
  • IteratorAgeMilliseconds
  • ALL

For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.

EnhancedMonitoringOutput

data EnhancedMonitoringOutput Source #

Represents the output for EnableEnhancedMonitoring and DisableEnhancedMonitoring.

See: newEnhancedMonitoringOutput smart constructor.

Constructors

EnhancedMonitoringOutput' 

Fields

Instances

Instances details
Eq EnhancedMonitoringOutput Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMonitoringOutput

Read EnhancedMonitoringOutput Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMonitoringOutput

Show EnhancedMonitoringOutput Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMonitoringOutput

Generic EnhancedMonitoringOutput Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMonitoringOutput

Associated Types

type Rep EnhancedMonitoringOutput :: Type -> Type #

NFData EnhancedMonitoringOutput Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMonitoringOutput

Hashable EnhancedMonitoringOutput Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMonitoringOutput

FromJSON EnhancedMonitoringOutput Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMonitoringOutput

type Rep EnhancedMonitoringOutput Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMonitoringOutput

type Rep EnhancedMonitoringOutput = D1 ('MetaData "EnhancedMonitoringOutput" "Amazonka.Kinesis.Types.EnhancedMonitoringOutput" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'False) (C1 ('MetaCons "EnhancedMonitoringOutput'" 'PrefixI 'True) (S1 ('MetaSel ('Just "desiredShardLevelMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MetricsName])) :*: (S1 ('MetaSel ('Just "currentShardLevelMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MetricsName])) :*: S1 ('MetaSel ('Just "streamName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newEnhancedMonitoringOutput :: EnhancedMonitoringOutput Source #

Create a value of EnhancedMonitoringOutput 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:desiredShardLevelMetrics:EnhancedMonitoringOutput', enhancedMonitoringOutput_desiredShardLevelMetrics - Represents the list of all the metrics that would be in the enhanced state after the operation.

$sel:currentShardLevelMetrics:EnhancedMonitoringOutput', enhancedMonitoringOutput_currentShardLevelMetrics - Represents the current state of the metrics that are in the enhanced state before the operation.

$sel:streamName:EnhancedMonitoringOutput', enhancedMonitoringOutput_streamName - The name of the Kinesis data stream.

enhancedMonitoringOutput_desiredShardLevelMetrics :: Lens' EnhancedMonitoringOutput (Maybe [MetricsName]) Source #

Represents the list of all the metrics that would be in the enhanced state after the operation.

enhancedMonitoringOutput_currentShardLevelMetrics :: Lens' EnhancedMonitoringOutput (Maybe [MetricsName]) Source #

Represents the current state of the metrics that are in the enhanced state before the operation.

HashKeyRange

data HashKeyRange Source #

The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.

See: newHashKeyRange smart constructor.

Constructors

HashKeyRange' 

Fields

Instances

Instances details
Eq HashKeyRange Source # 
Instance details

Defined in Amazonka.Kinesis.Types.HashKeyRange

Read HashKeyRange Source # 
Instance details

Defined in Amazonka.Kinesis.Types.HashKeyRange

Show HashKeyRange Source # 
Instance details

Defined in Amazonka.Kinesis.Types.HashKeyRange

Generic HashKeyRange Source # 
Instance details

Defined in Amazonka.Kinesis.Types.HashKeyRange

Associated Types

type Rep HashKeyRange :: Type -> Type #

NFData HashKeyRange Source # 
Instance details

Defined in Amazonka.Kinesis.Types.HashKeyRange

Methods

rnf :: HashKeyRange -> () #

Hashable HashKeyRange Source # 
Instance details

Defined in Amazonka.Kinesis.Types.HashKeyRange

FromJSON HashKeyRange Source # 
Instance details

Defined in Amazonka.Kinesis.Types.HashKeyRange

type Rep HashKeyRange Source # 
Instance details

Defined in Amazonka.Kinesis.Types.HashKeyRange

type Rep HashKeyRange = D1 ('MetaData "HashKeyRange" "Amazonka.Kinesis.Types.HashKeyRange" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'False) (C1 ('MetaCons "HashKeyRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "startingHashKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "endingHashKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newHashKeyRange Source #

Create a value of HashKeyRange 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:startingHashKey:HashKeyRange', hashKeyRange_startingHashKey - The starting hash key of the hash key range.

$sel:endingHashKey:HashKeyRange', hashKeyRange_endingHashKey - The ending hash key of the hash key range.

hashKeyRange_startingHashKey :: Lens' HashKeyRange Text Source #

The starting hash key of the hash key range.

hashKeyRange_endingHashKey :: Lens' HashKeyRange Text Source #

The ending hash key of the hash key range.

PutRecordsRequestEntry

data PutRecordsRequestEntry Source #

Represents the output for PutRecords.

See: newPutRecordsRequestEntry smart constructor.

Constructors

PutRecordsRequestEntry' 

Fields

  • explicitHashKey :: Maybe Text

    The hash value used to determine explicitly the shard that the data record is assigned to by overriding the partition key hash.

  • data' :: Base64

    The data blob to put into the record, which is base64-encoded when the blob is serialized. When the data blob (the payload before base64-encoding) is added to the partition key size, the total size must not exceed the maximum record size (1 MiB).

  • partitionKey :: Text

    Determines which shard in the stream the data record is assigned to. Partition keys are Unicode strings with a maximum length limit of 256 characters for each key. Amazon Kinesis Data Streams uses the partition key as input to a hash function that maps the partition key and associated data to a specific shard. Specifically, an MD5 hash function is used to map partition keys to 128-bit integer values and to map associated data records to shards. As a result of this hashing mechanism, all data records with the same partition key map to the same shard within the stream.

Instances

Instances details
Eq PutRecordsRequestEntry Source # 
Instance details

Defined in Amazonka.Kinesis.Types.PutRecordsRequestEntry

Read PutRecordsRequestEntry Source # 
Instance details

Defined in Amazonka.Kinesis.Types.PutRecordsRequestEntry

Show PutRecordsRequestEntry Source # 
Instance details

Defined in Amazonka.Kinesis.Types.PutRecordsRequestEntry

Generic PutRecordsRequestEntry Source # 
Instance details

Defined in Amazonka.Kinesis.Types.PutRecordsRequestEntry

Associated Types

type Rep PutRecordsRequestEntry :: Type -> Type #

NFData PutRecordsRequestEntry Source # 
Instance details

Defined in Amazonka.Kinesis.Types.PutRecordsRequestEntry

Methods

rnf :: PutRecordsRequestEntry -> () #

Hashable PutRecordsRequestEntry Source # 
Instance details

Defined in Amazonka.Kinesis.Types.PutRecordsRequestEntry

ToJSON PutRecordsRequestEntry Source # 
Instance details

Defined in Amazonka.Kinesis.Types.PutRecordsRequestEntry

type Rep PutRecordsRequestEntry Source # 
Instance details

Defined in Amazonka.Kinesis.Types.PutRecordsRequestEntry

type Rep PutRecordsRequestEntry = D1 ('MetaData "PutRecordsRequestEntry" "Amazonka.Kinesis.Types.PutRecordsRequestEntry" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'False) (C1 ('MetaCons "PutRecordsRequestEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "explicitHashKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "data'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Base64) :*: S1 ('MetaSel ('Just "partitionKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newPutRecordsRequestEntry Source #

Create a value of PutRecordsRequestEntry 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:explicitHashKey:PutRecordsRequestEntry', putRecordsRequestEntry_explicitHashKey - The hash value used to determine explicitly the shard that the data record is assigned to by overriding the partition key hash.

$sel:data':PutRecordsRequestEntry', putRecordsRequestEntry_data - The data blob to put into the record, which is base64-encoded when the blob is serialized. When the data blob (the payload before base64-encoding) is added to the partition key size, the total size must not exceed the maximum record size (1 MiB).-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

$sel:partitionKey:PutRecordsRequestEntry', putRecordsRequestEntry_partitionKey - Determines which shard in the stream the data record is assigned to. Partition keys are Unicode strings with a maximum length limit of 256 characters for each key. Amazon Kinesis Data Streams uses the partition key as input to a hash function that maps the partition key and associated data to a specific shard. Specifically, an MD5 hash function is used to map partition keys to 128-bit integer values and to map associated data records to shards. As a result of this hashing mechanism, all data records with the same partition key map to the same shard within the stream.

putRecordsRequestEntry_explicitHashKey :: Lens' PutRecordsRequestEntry (Maybe Text) Source #

The hash value used to determine explicitly the shard that the data record is assigned to by overriding the partition key hash.

putRecordsRequestEntry_data :: Lens' PutRecordsRequestEntry ByteString Source #

The data blob to put into the record, which is base64-encoded when the blob is serialized. When the data blob (the payload before base64-encoding) is added to the partition key size, the total size must not exceed the maximum record size (1 MiB).-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

putRecordsRequestEntry_partitionKey :: Lens' PutRecordsRequestEntry Text Source #

Determines which shard in the stream the data record is assigned to. Partition keys are Unicode strings with a maximum length limit of 256 characters for each key. Amazon Kinesis Data Streams uses the partition key as input to a hash function that maps the partition key and associated data to a specific shard. Specifically, an MD5 hash function is used to map partition keys to 128-bit integer values and to map associated data records to shards. As a result of this hashing mechanism, all data records with the same partition key map to the same shard within the stream.

PutRecordsResultEntry

data PutRecordsResultEntry Source #

Represents the result of an individual record from a PutRecords request. A record that is successfully added to a stream includes SequenceNumber and ShardId in the result. A record that fails to be added to the stream includes ErrorCode and ErrorMessage in the result.

See: newPutRecordsResultEntry smart constructor.

Constructors

PutRecordsResultEntry' 

Fields

  • sequenceNumber :: Maybe Text

    The sequence number for an individual record result.

  • errorCode :: Maybe Text

    The error code for an individual record result. ErrorCodes can be either ProvisionedThroughputExceededException or InternalFailure.

  • errorMessage :: Maybe Text

    The error message for an individual record result. An ErrorCode value of ProvisionedThroughputExceededException has an error message that includes the account ID, stream name, and shard ID. An ErrorCode value of InternalFailure has the error message "Internal Service Failure".

  • shardId :: Maybe Text

    The shard ID for an individual record result.

Instances

Instances details
Eq PutRecordsResultEntry Source # 
Instance details

Defined in Amazonka.Kinesis.Types.PutRecordsResultEntry

Read PutRecordsResultEntry Source # 
Instance details

Defined in Amazonka.Kinesis.Types.PutRecordsResultEntry

Show PutRecordsResultEntry Source # 
Instance details

Defined in Amazonka.Kinesis.Types.PutRecordsResultEntry

Generic PutRecordsResultEntry Source # 
Instance details

Defined in Amazonka.Kinesis.Types.PutRecordsResultEntry

Associated Types

type Rep PutRecordsResultEntry :: Type -> Type #

NFData PutRecordsResultEntry Source # 
Instance details

Defined in Amazonka.Kinesis.Types.PutRecordsResultEntry

Methods

rnf :: PutRecordsResultEntry -> () #

Hashable PutRecordsResultEntry Source # 
Instance details

Defined in Amazonka.Kinesis.Types.PutRecordsResultEntry

FromJSON PutRecordsResultEntry Source # 
Instance details

Defined in Amazonka.Kinesis.Types.PutRecordsResultEntry

type Rep PutRecordsResultEntry Source # 
Instance details

Defined in Amazonka.Kinesis.Types.PutRecordsResultEntry

type Rep PutRecordsResultEntry = D1 ('MetaData "PutRecordsResultEntry" "Amazonka.Kinesis.Types.PutRecordsResultEntry" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'False) (C1 ('MetaCons "PutRecordsResultEntry'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sequenceNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "shardId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newPutRecordsResultEntry :: PutRecordsResultEntry Source #

Create a value of PutRecordsResultEntry 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:sequenceNumber:PutRecordsResultEntry', putRecordsResultEntry_sequenceNumber - The sequence number for an individual record result.

$sel:errorCode:PutRecordsResultEntry', putRecordsResultEntry_errorCode - The error code for an individual record result. ErrorCodes can be either ProvisionedThroughputExceededException or InternalFailure.

$sel:errorMessage:PutRecordsResultEntry', putRecordsResultEntry_errorMessage - The error message for an individual record result. An ErrorCode value of ProvisionedThroughputExceededException has an error message that includes the account ID, stream name, and shard ID. An ErrorCode value of InternalFailure has the error message "Internal Service Failure".

$sel:shardId:PutRecordsResultEntry', putRecordsResultEntry_shardId - The shard ID for an individual record result.

putRecordsResultEntry_sequenceNumber :: Lens' PutRecordsResultEntry (Maybe Text) Source #

The sequence number for an individual record result.

putRecordsResultEntry_errorCode :: Lens' PutRecordsResultEntry (Maybe Text) Source #

The error code for an individual record result. ErrorCodes can be either ProvisionedThroughputExceededException or InternalFailure.

putRecordsResultEntry_errorMessage :: Lens' PutRecordsResultEntry (Maybe Text) Source #

The error message for an individual record result. An ErrorCode value of ProvisionedThroughputExceededException has an error message that includes the account ID, stream name, and shard ID. An ErrorCode value of InternalFailure has the error message "Internal Service Failure".

putRecordsResultEntry_shardId :: Lens' PutRecordsResultEntry (Maybe Text) Source #

The shard ID for an individual record result.

Record

data Record Source #

The unit of data of the Kinesis data stream, which is composed of a sequence number, a partition key, and a data blob.

See: newRecord smart constructor.

Constructors

Record' 

Fields

  • encryptionType :: Maybe EncryptionType

    The encryption type used on the record. This parameter can be one of the following values:

    • NONE: Do not encrypt the records in the stream.
    • KMS: Use server-side encryption on the records in the stream using a customer-managed AWS KMS key.
  • approximateArrivalTimestamp :: Maybe POSIX

    The approximate time that the record was inserted into the stream.

  • sequenceNumber :: Text

    The unique identifier of the record within its shard.

  • data' :: Base64

    The data blob. The data in the blob is both opaque and immutable to Kinesis Data Streams, which does not inspect, interpret, or change the data in the blob in any way. When the data blob (the payload before base64-encoding) is added to the partition key size, the total size must not exceed the maximum record size (1 MiB).

  • partitionKey :: Text

    Identifies which shard in the stream the data record is assigned to.

Instances

Instances details
Eq Record Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Record

Methods

(==) :: Record -> Record -> Bool #

(/=) :: Record -> Record -> Bool #

Read Record Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Record

Show Record Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Record

Generic Record Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Record

Associated Types

type Rep Record :: Type -> Type #

Methods

from :: Record -> Rep Record x #

to :: Rep Record x -> Record #

NFData Record Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Record

Methods

rnf :: Record -> () #

Hashable Record Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Record

Methods

hashWithSalt :: Int -> Record -> Int #

hash :: Record -> Int #

FromJSON Record Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Record

type Rep Record Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Record

type Rep Record = D1 ('MetaData "Record" "Amazonka.Kinesis.Types.Record" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'False) (C1 ('MetaCons "Record'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "encryptionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionType)) :*: S1 ('MetaSel ('Just "approximateArrivalTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "sequenceNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "data'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Base64) :*: S1 ('MetaSel ('Just "partitionKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newRecord Source #

Create a value of Record 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:encryptionType:Record', record_encryptionType - The encryption type used on the record. This parameter can be one of the following values:

  • NONE: Do not encrypt the records in the stream.
  • KMS: Use server-side encryption on the records in the stream using a customer-managed AWS KMS key.

$sel:approximateArrivalTimestamp:Record', record_approximateArrivalTimestamp - The approximate time that the record was inserted into the stream.

$sel:sequenceNumber:Record', record_sequenceNumber - The unique identifier of the record within its shard.

$sel:data':Record', record_data - The data blob. The data in the blob is both opaque and immutable to Kinesis Data Streams, which does not inspect, interpret, or change the data in the blob in any way. When the data blob (the payload before base64-encoding) is added to the partition key size, the total size must not exceed the maximum record size (1 MiB).-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

$sel:partitionKey:Record', record_partitionKey - Identifies which shard in the stream the data record is assigned to.

record_encryptionType :: Lens' Record (Maybe EncryptionType) Source #

The encryption type used on the record. This parameter can be one of the following values:

  • NONE: Do not encrypt the records in the stream.
  • KMS: Use server-side encryption on the records in the stream using a customer-managed AWS KMS key.

record_approximateArrivalTimestamp :: Lens' Record (Maybe UTCTime) Source #

The approximate time that the record was inserted into the stream.

record_sequenceNumber :: Lens' Record Text Source #

The unique identifier of the record within its shard.

record_data :: Lens' Record ByteString Source #

The data blob. The data in the blob is both opaque and immutable to Kinesis Data Streams, which does not inspect, interpret, or change the data in the blob in any way. When the data blob (the payload before base64-encoding) is added to the partition key size, the total size must not exceed the maximum record size (1 MiB).-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

record_partitionKey :: Lens' Record Text Source #

Identifies which shard in the stream the data record is assigned to.

SequenceNumberRange

data SequenceNumberRange Source #

The range of possible sequence numbers for the shard.

See: newSequenceNumberRange smart constructor.

Constructors

SequenceNumberRange' 

Fields

Instances

Instances details
Eq SequenceNumberRange Source # 
Instance details

Defined in Amazonka.Kinesis.Types.SequenceNumberRange

Read SequenceNumberRange Source # 
Instance details

Defined in Amazonka.Kinesis.Types.SequenceNumberRange

Show SequenceNumberRange Source # 
Instance details

Defined in Amazonka.Kinesis.Types.SequenceNumberRange

Generic SequenceNumberRange Source # 
Instance details

Defined in Amazonka.Kinesis.Types.SequenceNumberRange

Associated Types

type Rep SequenceNumberRange :: Type -> Type #

NFData SequenceNumberRange Source # 
Instance details

Defined in Amazonka.Kinesis.Types.SequenceNumberRange

Methods

rnf :: SequenceNumberRange -> () #

Hashable SequenceNumberRange Source # 
Instance details

Defined in Amazonka.Kinesis.Types.SequenceNumberRange

FromJSON SequenceNumberRange Source # 
Instance details

Defined in Amazonka.Kinesis.Types.SequenceNumberRange

type Rep SequenceNumberRange Source # 
Instance details

Defined in Amazonka.Kinesis.Types.SequenceNumberRange

type Rep SequenceNumberRange = D1 ('MetaData "SequenceNumberRange" "Amazonka.Kinesis.Types.SequenceNumberRange" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'False) (C1 ('MetaCons "SequenceNumberRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endingSequenceNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "startingSequenceNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newSequenceNumberRange Source #

Create a value of SequenceNumberRange 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:endingSequenceNumber:SequenceNumberRange', sequenceNumberRange_endingSequenceNumber - The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence number of null.

$sel:startingSequenceNumber:SequenceNumberRange', sequenceNumberRange_startingSequenceNumber - The starting sequence number for the range.

sequenceNumberRange_endingSequenceNumber :: Lens' SequenceNumberRange (Maybe Text) Source #

The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence number of null.

Shard

data Shard Source #

A uniquely identified group of data records in a Kinesis data stream.

See: newShard smart constructor.

Constructors

Shard' 

Fields

Instances

Instances details
Eq Shard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Shard

Methods

(==) :: Shard -> Shard -> Bool #

(/=) :: Shard -> Shard -> Bool #

Read Shard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Shard

Show Shard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Shard

Methods

showsPrec :: Int -> Shard -> ShowS #

show :: Shard -> String #

showList :: [Shard] -> ShowS #

Generic Shard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Shard

Associated Types

type Rep Shard :: Type -> Type #

Methods

from :: Shard -> Rep Shard x #

to :: Rep Shard x -> Shard #

NFData Shard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Shard

Methods

rnf :: Shard -> () #

Hashable Shard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Shard

Methods

hashWithSalt :: Int -> Shard -> Int #

hash :: Shard -> Int #

FromJSON Shard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Shard

type Rep Shard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Shard

type Rep Shard = D1 ('MetaData "Shard" "Amazonka.Kinesis.Types.Shard" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'False) (C1 ('MetaCons "Shard'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "adjacentParentShardId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "parentShardId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "shardId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "hashKeyRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HashKeyRange) :*: S1 ('MetaSel ('Just "sequenceNumberRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SequenceNumberRange)))))

newShard Source #

Create a value of Shard 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:adjacentParentShardId:Shard', shard_adjacentParentShardId - The shard ID of the shard adjacent to the shard's parent.

$sel:parentShardId:Shard', shard_parentShardId - The shard ID of the shard's parent.

$sel:shardId:Shard', shard_shardId - The unique identifier of the shard within the stream.

$sel:hashKeyRange:Shard', shard_hashKeyRange - The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.

$sel:sequenceNumberRange:Shard', shard_sequenceNumberRange - The range of possible sequence numbers for the shard.

shard_adjacentParentShardId :: Lens' Shard (Maybe Text) Source #

The shard ID of the shard adjacent to the shard's parent.

shard_parentShardId :: Lens' Shard (Maybe Text) Source #

The shard ID of the shard's parent.

shard_shardId :: Lens' Shard Text Source #

The unique identifier of the shard within the stream.

shard_hashKeyRange :: Lens' Shard HashKeyRange Source #

The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.

shard_sequenceNumberRange :: Lens' Shard SequenceNumberRange Source #

The range of possible sequence numbers for the shard.

ShardFilter

data ShardFilter Source #

See: newShardFilter smart constructor.

Instances

Instances details
Eq ShardFilter Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilter

Read ShardFilter Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilter

Show ShardFilter Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilter

Generic ShardFilter Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilter

Associated Types

type Rep ShardFilter :: Type -> Type #

NFData ShardFilter Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilter

Methods

rnf :: ShardFilter -> () #

Hashable ShardFilter Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilter

ToJSON ShardFilter Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilter

type Rep ShardFilter Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilter

type Rep ShardFilter = D1 ('MetaData "ShardFilter" "Amazonka.Kinesis.Types.ShardFilter" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'False) (C1 ('MetaCons "ShardFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "shardId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ShardFilterType))))

newShardFilter Source #

Create a value of ShardFilter 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:timestamp:ShardFilter', shardFilter_timestamp - Undocumented member.

$sel:shardId:ShardFilter', shardFilter_shardId - Undocumented member.

$sel:type':ShardFilter', shardFilter_type - Undocumented member.

StartingPosition

data StartingPosition Source #

See: newStartingPosition smart constructor.

Constructors

StartingPosition' 

Fields

  • sequenceNumber :: Maybe Text

    The sequence number of the data record in the shard from which to start streaming. To specify a sequence number, set StartingPosition to AT_SEQUENCE_NUMBER or AFTER_SEQUENCE_NUMBER.

  • timestamp :: Maybe POSIX

    The time stamp of the data record from which to start reading. To specify a time stamp, set StartingPosition to Type AT_TIMESTAMP. A time stamp is the Unix epoch date with precision in milliseconds. For example, 2016-04-04T19:58:46.480-00:00 or 1459799926.480. If a record with this exact time stamp does not exist, records will be streamed from the next (later) record. If the time stamp is older than the current trim horizon, records will be streamed from the oldest untrimmed data record (TRIM_HORIZON).

  • type' :: ShardIteratorType

    You can set the starting position to one of the following values:

    AT_SEQUENCE_NUMBER: Start streaming from the position denoted by the sequence number specified in the SequenceNumber field.

    AFTER_SEQUENCE_NUMBER: Start streaming right after the position denoted by the sequence number specified in the SequenceNumber field.

    AT_TIMESTAMP: Start streaming from the position denoted by the time stamp specified in the Timestamp field.

    TRIM_HORIZON: Start streaming at the last untrimmed record in the shard, which is the oldest data record in the shard.

    LATEST: Start streaming just after the most recent record in the shard, so that you always read the most recent data in the shard.

Instances

Instances details
Eq StartingPosition Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StartingPosition

Read StartingPosition Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StartingPosition

Show StartingPosition Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StartingPosition

Generic StartingPosition Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StartingPosition

Associated Types

type Rep StartingPosition :: Type -> Type #

NFData StartingPosition Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StartingPosition

Methods

rnf :: StartingPosition -> () #

Hashable StartingPosition Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StartingPosition

ToJSON StartingPosition Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StartingPosition

type Rep StartingPosition Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StartingPosition

type Rep StartingPosition = D1 ('MetaData "StartingPosition" "Amazonka.Kinesis.Types.StartingPosition" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'False) (C1 ('MetaCons "StartingPosition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sequenceNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ShardIteratorType))))

newStartingPosition Source #

Create a value of StartingPosition 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:sequenceNumber:StartingPosition', startingPosition_sequenceNumber - The sequence number of the data record in the shard from which to start streaming. To specify a sequence number, set StartingPosition to AT_SEQUENCE_NUMBER or AFTER_SEQUENCE_NUMBER.

$sel:timestamp:StartingPosition', startingPosition_timestamp - The time stamp of the data record from which to start reading. To specify a time stamp, set StartingPosition to Type AT_TIMESTAMP. A time stamp is the Unix epoch date with precision in milliseconds. For example, 2016-04-04T19:58:46.480-00:00 or 1459799926.480. If a record with this exact time stamp does not exist, records will be streamed from the next (later) record. If the time stamp is older than the current trim horizon, records will be streamed from the oldest untrimmed data record (TRIM_HORIZON).

$sel:type':StartingPosition', startingPosition_type - You can set the starting position to one of the following values:

AT_SEQUENCE_NUMBER: Start streaming from the position denoted by the sequence number specified in the SequenceNumber field.

AFTER_SEQUENCE_NUMBER: Start streaming right after the position denoted by the sequence number specified in the SequenceNumber field.

AT_TIMESTAMP: Start streaming from the position denoted by the time stamp specified in the Timestamp field.

TRIM_HORIZON: Start streaming at the last untrimmed record in the shard, which is the oldest data record in the shard.

LATEST: Start streaming just after the most recent record in the shard, so that you always read the most recent data in the shard.

startingPosition_sequenceNumber :: Lens' StartingPosition (Maybe Text) Source #

The sequence number of the data record in the shard from which to start streaming. To specify a sequence number, set StartingPosition to AT_SEQUENCE_NUMBER or AFTER_SEQUENCE_NUMBER.

startingPosition_timestamp :: Lens' StartingPosition (Maybe UTCTime) Source #

The time stamp of the data record from which to start reading. To specify a time stamp, set StartingPosition to Type AT_TIMESTAMP. A time stamp is the Unix epoch date with precision in milliseconds. For example, 2016-04-04T19:58:46.480-00:00 or 1459799926.480. If a record with this exact time stamp does not exist, records will be streamed from the next (later) record. If the time stamp is older than the current trim horizon, records will be streamed from the oldest untrimmed data record (TRIM_HORIZON).

startingPosition_type :: Lens' StartingPosition ShardIteratorType Source #

You can set the starting position to one of the following values:

AT_SEQUENCE_NUMBER: Start streaming from the position denoted by the sequence number specified in the SequenceNumber field.

AFTER_SEQUENCE_NUMBER: Start streaming right after the position denoted by the sequence number specified in the SequenceNumber field.

AT_TIMESTAMP: Start streaming from the position denoted by the time stamp specified in the Timestamp field.

TRIM_HORIZON: Start streaming at the last untrimmed record in the shard, which is the oldest data record in the shard.

LATEST: Start streaming just after the most recent record in the shard, so that you always read the most recent data in the shard.

StreamDescription

data StreamDescription Source #

Represents the output for DescribeStream.

See: newStreamDescription smart constructor.

Constructors

StreamDescription' 

Fields

  • encryptionType :: Maybe EncryptionType

    The server-side encryption type used on the stream. This parameter can be one of the following values:

    • NONE: Do not encrypt the records in the stream.
    • KMS: Use server-side encryption on the records in the stream using a customer-managed AWS KMS key.
  • keyId :: Maybe Text

    The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by specifying the alias aws/kinesis.

    • Key ARN example: arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012
    • Alias ARN example: arn:aws:kms:us-east-1:123456789012:alias/MyAliasName
    • Globally unique key ID example: 12345678-1234-1234-1234-123456789012
    • Alias name example: alias/MyAliasName
    • Master key owned by Kinesis Data Streams: alias/aws/kinesis
  • streamName :: Text

    The name of the stream being described.

  • streamARN :: Text

    The Amazon Resource Name (ARN) for the stream being described.

  • streamStatus :: StreamStatus

    The current status of the stream being described. The stream status is one of the following states:

    • CREATING - The stream is being created. Kinesis Data Streams immediately returns and sets StreamStatus to CREATING.
    • DELETING - The stream is being deleted. The specified stream is in the DELETING state until Kinesis Data Streams completes the deletion.
    • ACTIVE - The stream exists and is ready for read and write operations or deletion. You should perform read and write operations only on an ACTIVE stream.
    • UPDATING - Shards in the stream are being merged or split. Read and write operations continue to work while the stream is in the UPDATING state.
  • shards :: [Shard]

    The shards that comprise the stream.

  • hasMoreShards :: Bool

    If set to true, more shards in the stream are available to describe.

  • retentionPeriodHours :: Int

    The current retention period, in hours. Minimum value of 24. Maximum value of 168.

  • streamCreationTimestamp :: POSIX

    The approximate time that the stream was created.

  • enhancedMonitoring :: [EnhancedMetrics]

    Represents the current enhanced monitoring settings of the stream.

Instances

Instances details
Eq StreamDescription Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescription

Read StreamDescription Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescription

Show StreamDescription Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescription

Generic StreamDescription Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescription

Associated Types

type Rep StreamDescription :: Type -> Type #

NFData StreamDescription Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescription

Methods

rnf :: StreamDescription -> () #

Hashable StreamDescription Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescription

FromJSON StreamDescription Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescription

type Rep StreamDescription Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescription

newStreamDescription Source #

Create a value of StreamDescription 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:encryptionType:StreamDescription', streamDescription_encryptionType - The server-side encryption type used on the stream. This parameter can be one of the following values:

  • NONE: Do not encrypt the records in the stream.
  • KMS: Use server-side encryption on the records in the stream using a customer-managed AWS KMS key.

$sel:keyId:StreamDescription', streamDescription_keyId - The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by specifying the alias aws/kinesis.

  • Key ARN example: arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012
  • Alias ARN example: arn:aws:kms:us-east-1:123456789012:alias/MyAliasName
  • Globally unique key ID example: 12345678-1234-1234-1234-123456789012
  • Alias name example: alias/MyAliasName
  • Master key owned by Kinesis Data Streams: alias/aws/kinesis

$sel:streamName:StreamDescription', streamDescription_streamName - The name of the stream being described.

$sel:streamARN:StreamDescription', streamDescription_streamARN - The Amazon Resource Name (ARN) for the stream being described.

$sel:streamStatus:StreamDescription', streamDescription_streamStatus - The current status of the stream being described. The stream status is one of the following states:

  • CREATING - The stream is being created. Kinesis Data Streams immediately returns and sets StreamStatus to CREATING.
  • DELETING - The stream is being deleted. The specified stream is in the DELETING state until Kinesis Data Streams completes the deletion.
  • ACTIVE - The stream exists and is ready for read and write operations or deletion. You should perform read and write operations only on an ACTIVE stream.
  • UPDATING - Shards in the stream are being merged or split. Read and write operations continue to work while the stream is in the UPDATING state.

$sel:shards:StreamDescription', streamDescription_shards - The shards that comprise the stream.

$sel:hasMoreShards:StreamDescription', streamDescription_hasMoreShards - If set to true, more shards in the stream are available to describe.

$sel:retentionPeriodHours:StreamDescription', streamDescription_retentionPeriodHours - The current retention period, in hours. Minimum value of 24. Maximum value of 168.

$sel:streamCreationTimestamp:StreamDescription', streamDescription_streamCreationTimestamp - The approximate time that the stream was created.

$sel:enhancedMonitoring:StreamDescription', streamDescription_enhancedMonitoring - Represents the current enhanced monitoring settings of the stream.

streamDescription_encryptionType :: Lens' StreamDescription (Maybe EncryptionType) Source #

The server-side encryption type used on the stream. This parameter can be one of the following values:

  • NONE: Do not encrypt the records in the stream.
  • KMS: Use server-side encryption on the records in the stream using a customer-managed AWS KMS key.

streamDescription_keyId :: Lens' StreamDescription (Maybe Text) Source #

The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by specifying the alias aws/kinesis.

  • Key ARN example: arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012
  • Alias ARN example: arn:aws:kms:us-east-1:123456789012:alias/MyAliasName
  • Globally unique key ID example: 12345678-1234-1234-1234-123456789012
  • Alias name example: alias/MyAliasName
  • Master key owned by Kinesis Data Streams: alias/aws/kinesis

streamDescription_streamName :: Lens' StreamDescription Text Source #

The name of the stream being described.

streamDescription_streamARN :: Lens' StreamDescription Text Source #

The Amazon Resource Name (ARN) for the stream being described.

streamDescription_streamStatus :: Lens' StreamDescription StreamStatus Source #

The current status of the stream being described. The stream status is one of the following states:

  • CREATING - The stream is being created. Kinesis Data Streams immediately returns and sets StreamStatus to CREATING.
  • DELETING - The stream is being deleted. The specified stream is in the DELETING state until Kinesis Data Streams completes the deletion.
  • ACTIVE - The stream exists and is ready for read and write operations or deletion. You should perform read and write operations only on an ACTIVE stream.
  • UPDATING - Shards in the stream are being merged or split. Read and write operations continue to work while the stream is in the UPDATING state.

streamDescription_shards :: Lens' StreamDescription [Shard] Source #

The shards that comprise the stream.

streamDescription_hasMoreShards :: Lens' StreamDescription Bool Source #

If set to true, more shards in the stream are available to describe.

streamDescription_retentionPeriodHours :: Lens' StreamDescription Int Source #

The current retention period, in hours. Minimum value of 24. Maximum value of 168.

streamDescription_streamCreationTimestamp :: Lens' StreamDescription UTCTime Source #

The approximate time that the stream was created.

streamDescription_enhancedMonitoring :: Lens' StreamDescription [EnhancedMetrics] Source #

Represents the current enhanced monitoring settings of the stream.

StreamDescriptionSummary

data StreamDescriptionSummary Source #

Represents the output for DescribeStreamSummary

See: newStreamDescriptionSummary smart constructor.

Constructors

StreamDescriptionSummary' 

Fields

  • encryptionType :: Maybe EncryptionType

    The encryption type used. This value is one of the following:

    • KMS
    • NONE
  • keyId :: Maybe Text

    The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by specifying the alias aws/kinesis.

    • Key ARN example: arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012
    • Alias ARN example: arn:aws:kms:us-east-1:123456789012:alias/MyAliasName
    • Globally unique key ID example: 12345678-1234-1234-1234-123456789012
    • Alias name example: alias/MyAliasName
    • Master key owned by Kinesis Data Streams: alias/aws/kinesis
  • consumerCount :: Maybe Natural

    The number of enhanced fan-out consumers registered with the stream.

  • streamName :: Text

    The name of the stream being described.

  • streamARN :: Text

    The Amazon Resource Name (ARN) for the stream being described.

  • streamStatus :: StreamStatus

    The current status of the stream being described. The stream status is one of the following states:

    • CREATING - The stream is being created. Kinesis Data Streams immediately returns and sets StreamStatus to CREATING.
    • DELETING - The stream is being deleted. The specified stream is in the DELETING state until Kinesis Data Streams completes the deletion.
    • ACTIVE - The stream exists and is ready for read and write operations or deletion. You should perform read and write operations only on an ACTIVE stream.
    • UPDATING - Shards in the stream are being merged or split. Read and write operations continue to work while the stream is in the UPDATING state.
  • retentionPeriodHours :: Int

    The current retention period, in hours.

  • streamCreationTimestamp :: POSIX

    The approximate time that the stream was created.

  • enhancedMonitoring :: [EnhancedMetrics]

    Represents the current enhanced monitoring settings of the stream.

  • openShardCount :: Natural

    The number of open shards in the stream.

Instances

Instances details
Eq StreamDescriptionSummary Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescriptionSummary

Read StreamDescriptionSummary Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescriptionSummary

Show StreamDescriptionSummary Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescriptionSummary

Generic StreamDescriptionSummary Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescriptionSummary

Associated Types

type Rep StreamDescriptionSummary :: Type -> Type #

NFData StreamDescriptionSummary Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescriptionSummary

Hashable StreamDescriptionSummary Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescriptionSummary

FromJSON StreamDescriptionSummary Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescriptionSummary

type Rep StreamDescriptionSummary Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescriptionSummary

type Rep StreamDescriptionSummary = D1 ('MetaData "StreamDescriptionSummary" "Amazonka.Kinesis.Types.StreamDescriptionSummary" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'False) (C1 ('MetaCons "StreamDescriptionSummary'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "encryptionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionType)) :*: S1 ('MetaSel ('Just "keyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "consumerCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "streamName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "streamARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) :*: ((S1 ('MetaSel ('Just "streamStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StreamStatus) :*: S1 ('MetaSel ('Just "retentionPeriodHours") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "streamCreationTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: (S1 ('MetaSel ('Just "enhancedMonitoring") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [EnhancedMetrics]) :*: S1 ('MetaSel ('Just "openShardCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural))))))

newStreamDescriptionSummary Source #

Create a value of StreamDescriptionSummary 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:encryptionType:StreamDescriptionSummary', streamDescriptionSummary_encryptionType - The encryption type used. This value is one of the following:

  • KMS
  • NONE

$sel:keyId:StreamDescriptionSummary', streamDescriptionSummary_keyId - The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by specifying the alias aws/kinesis.

  • Key ARN example: arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012
  • Alias ARN example: arn:aws:kms:us-east-1:123456789012:alias/MyAliasName
  • Globally unique key ID example: 12345678-1234-1234-1234-123456789012
  • Alias name example: alias/MyAliasName
  • Master key owned by Kinesis Data Streams: alias/aws/kinesis

$sel:consumerCount:StreamDescriptionSummary', streamDescriptionSummary_consumerCount - The number of enhanced fan-out consumers registered with the stream.

$sel:streamName:StreamDescriptionSummary', streamDescriptionSummary_streamName - The name of the stream being described.

$sel:streamARN:StreamDescriptionSummary', streamDescriptionSummary_streamARN - The Amazon Resource Name (ARN) for the stream being described.

$sel:streamStatus:StreamDescriptionSummary', streamDescriptionSummary_streamStatus - The current status of the stream being described. The stream status is one of the following states:

  • CREATING - The stream is being created. Kinesis Data Streams immediately returns and sets StreamStatus to CREATING.
  • DELETING - The stream is being deleted. The specified stream is in the DELETING state until Kinesis Data Streams completes the deletion.
  • ACTIVE - The stream exists and is ready for read and write operations or deletion. You should perform read and write operations only on an ACTIVE stream.
  • UPDATING - Shards in the stream are being merged or split. Read and write operations continue to work while the stream is in the UPDATING state.

$sel:retentionPeriodHours:StreamDescriptionSummary', streamDescriptionSummary_retentionPeriodHours - The current retention period, in hours.

$sel:streamCreationTimestamp:StreamDescriptionSummary', streamDescriptionSummary_streamCreationTimestamp - The approximate time that the stream was created.

$sel:enhancedMonitoring:StreamDescriptionSummary', streamDescriptionSummary_enhancedMonitoring - Represents the current enhanced monitoring settings of the stream.

$sel:openShardCount:StreamDescriptionSummary', streamDescriptionSummary_openShardCount - The number of open shards in the stream.

streamDescriptionSummary_encryptionType :: Lens' StreamDescriptionSummary (Maybe EncryptionType) Source #

The encryption type used. This value is one of the following:

  • KMS
  • NONE

streamDescriptionSummary_keyId :: Lens' StreamDescriptionSummary (Maybe Text) Source #

The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by specifying the alias aws/kinesis.

  • Key ARN example: arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012
  • Alias ARN example: arn:aws:kms:us-east-1:123456789012:alias/MyAliasName
  • Globally unique key ID example: 12345678-1234-1234-1234-123456789012
  • Alias name example: alias/MyAliasName
  • Master key owned by Kinesis Data Streams: alias/aws/kinesis

streamDescriptionSummary_consumerCount :: Lens' StreamDescriptionSummary (Maybe Natural) Source #

The number of enhanced fan-out consumers registered with the stream.

streamDescriptionSummary_streamARN :: Lens' StreamDescriptionSummary Text Source #

The Amazon Resource Name (ARN) for the stream being described.

streamDescriptionSummary_streamStatus :: Lens' StreamDescriptionSummary StreamStatus Source #

The current status of the stream being described. The stream status is one of the following states:

  • CREATING - The stream is being created. Kinesis Data Streams immediately returns and sets StreamStatus to CREATING.
  • DELETING - The stream is being deleted. The specified stream is in the DELETING state until Kinesis Data Streams completes the deletion.
  • ACTIVE - The stream exists and is ready for read and write operations or deletion. You should perform read and write operations only on an ACTIVE stream.
  • UPDATING - Shards in the stream are being merged or split. Read and write operations continue to work while the stream is in the UPDATING state.

streamDescriptionSummary_enhancedMonitoring :: Lens' StreamDescriptionSummary [EnhancedMetrics] Source #

Represents the current enhanced monitoring settings of the stream.

SubscribeToShardEvent

data SubscribeToShardEvent Source #

After you call SubscribeToShard, Kinesis Data Streams sends events of this type over an HTTP/2 connection to your consumer.

See: newSubscribeToShardEvent smart constructor.

Constructors

SubscribeToShardEvent' 

Fields

  • childShards :: Maybe [ChildShard]
     
  • records :: [Record]
     
  • continuationSequenceNumber :: Text

    Use this as SequenceNumber in the next call to SubscribeToShard, with StartingPosition set to AT_SEQUENCE_NUMBER or AFTER_SEQUENCE_NUMBER. Use ContinuationSequenceNumber for checkpointing because it captures your shard progress even when no data is written to the shard.

  • millisBehindLatest :: Natural

    The number of milliseconds the read records are from the tip of the stream, indicating how far behind current time the consumer is. A value of zero indicates that record processing is caught up, and there are no new records to process at this moment.

Instances

Instances details
Eq SubscribeToShardEvent Source # 
Instance details

Defined in Amazonka.Kinesis.Types.SubscribeToShardEvent

Read SubscribeToShardEvent Source # 
Instance details

Defined in Amazonka.Kinesis.Types.SubscribeToShardEvent

Show SubscribeToShardEvent Source # 
Instance details

Defined in Amazonka.Kinesis.Types.SubscribeToShardEvent

Generic SubscribeToShardEvent Source # 
Instance details

Defined in Amazonka.Kinesis.Types.SubscribeToShardEvent

Associated Types

type Rep SubscribeToShardEvent :: Type -> Type #

NFData SubscribeToShardEvent Source # 
Instance details

Defined in Amazonka.Kinesis.Types.SubscribeToShardEvent

Methods

rnf :: SubscribeToShardEvent -> () #

Hashable SubscribeToShardEvent Source # 
Instance details

Defined in Amazonka.Kinesis.Types.SubscribeToShardEvent

FromJSON SubscribeToShardEvent Source # 
Instance details

Defined in Amazonka.Kinesis.Types.SubscribeToShardEvent

type Rep SubscribeToShardEvent Source # 
Instance details

Defined in Amazonka.Kinesis.Types.SubscribeToShardEvent

type Rep SubscribeToShardEvent = D1 ('MetaData "SubscribeToShardEvent" "Amazonka.Kinesis.Types.SubscribeToShardEvent" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'False) (C1 ('MetaCons "SubscribeToShardEvent'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "childShards") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ChildShard])) :*: S1 ('MetaSel ('Just "records") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Record])) :*: (S1 ('MetaSel ('Just "continuationSequenceNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "millisBehindLatest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural))))

newSubscribeToShardEvent Source #

Create a value of SubscribeToShardEvent 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:childShards:SubscribeToShardEvent', subscribeToShardEvent_childShards - Undocumented member.

$sel:records:SubscribeToShardEvent', subscribeToShardEvent_records -

$sel:continuationSequenceNumber:SubscribeToShardEvent', subscribeToShardEvent_continuationSequenceNumber - Use this as SequenceNumber in the next call to SubscribeToShard, with StartingPosition set to AT_SEQUENCE_NUMBER or AFTER_SEQUENCE_NUMBER. Use ContinuationSequenceNumber for checkpointing because it captures your shard progress even when no data is written to the shard.

$sel:millisBehindLatest:SubscribeToShardEvent', subscribeToShardEvent_millisBehindLatest - The number of milliseconds the read records are from the tip of the stream, indicating how far behind current time the consumer is. A value of zero indicates that record processing is caught up, and there are no new records to process at this moment.

subscribeToShardEvent_continuationSequenceNumber :: Lens' SubscribeToShardEvent Text Source #

Use this as SequenceNumber in the next call to SubscribeToShard, with StartingPosition set to AT_SEQUENCE_NUMBER or AFTER_SEQUENCE_NUMBER. Use ContinuationSequenceNumber for checkpointing because it captures your shard progress even when no data is written to the shard.

subscribeToShardEvent_millisBehindLatest :: Lens' SubscribeToShardEvent Natural Source #

The number of milliseconds the read records are from the tip of the stream, indicating how far behind current time the consumer is. A value of zero indicates that record processing is caught up, and there are no new records to process at this moment.

Tag

data Tag Source #

Metadata assigned to the stream, consisting of a key-value pair.

See: newTag smart constructor.

Constructors

Tag' 

Fields

  • value :: Maybe Text

    An optional string, typically used to describe or define the tag. Maximum length: 256 characters. Valid characters: Unicode letters, digits, white space, _ . / = + - % @

  • key :: Text

    A unique identifier for the tag. Maximum length: 128 characters. Valid characters: Unicode letters, digits, white space, _ . / = + - % @

Instances

Instances details
Eq Tag Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Tag

Methods

(==) :: Tag -> Tag -> Bool #

(/=) :: Tag -> Tag -> Bool #

Read Tag Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Tag

Show Tag Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Tag

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

Generic Tag Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Tag

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

NFData Tag Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Tag

Methods

rnf :: Tag -> () #

Hashable Tag Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

FromJSON Tag Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Tag

type Rep Tag Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.Kinesis.Types.Tag" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newTag Source #

Arguments

:: Text

$sel:key:Tag'

-> Tag 

Create a value of Tag 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:value:Tag', tag_value - An optional string, typically used to describe or define the tag. Maximum length: 256 characters. Valid characters: Unicode letters, digits, white space, _ . / = + - % @

$sel:key:Tag', tag_key - A unique identifier for the tag. Maximum length: 128 characters. Valid characters: Unicode letters, digits, white space, _ . / = + - % @

tag_value :: Lens' Tag (Maybe Text) Source #

An optional string, typically used to describe or define the tag. Maximum length: 256 characters. Valid characters: Unicode letters, digits, white space, _ . / = + - % @

tag_key :: Lens' Tag Text Source #

A unique identifier for the tag. Maximum length: 128 characters. Valid characters: Unicode letters, digits, white space, _ . / = + - % @