amazonka-kinesis-2.0: Amazon Kinesis SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Kinesis.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

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

Errors

_AccessDeniedException :: AsError a => Fold a ServiceError Source #

Specifies that you do not have the permissions required to perform this operation.

_ExpiredIteratorException :: AsError a => Fold a ServiceError Source #

The provided iterator exceeds the maximum age allowed.

_ExpiredNextTokenException :: AsError a => Fold a ServiceError Source #

The pagination token passed to the operation is expired.

_InternalFailureException :: AsError a => Fold a ServiceError Source #

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

_InvalidArgumentException :: AsError a => Fold a ServiceError Source #

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

_KMSAccessDeniedException :: AsError a => Fold a ServiceError Source #

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

_KMSDisabledException :: AsError a => Fold a ServiceError Source #

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

_KMSInvalidStateException :: AsError a => Fold 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 Amazon Web Services Key Management Service Developer Guide.

_KMSNotFoundException :: AsError a => Fold a ServiceError Source #

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

_KMSOptInRequired :: AsError a => Fold a ServiceError Source #

The Amazon Web Services access key ID needs a subscription for the service.

_KMSThrottlingException :: AsError a => Fold a ServiceError Source #

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

_LimitExceededException :: AsError a => Fold a ServiceError Source #

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

_ProvisionedThroughputExceededException :: AsError a => Fold 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 Amazon Web Services in the Amazon Web Services General Reference.

_ResourceInUseException :: AsError a => Fold a ServiceError Source #

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

_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #

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

_ValidationException :: AsError a => Fold a ServiceError Source #

Specifies that you tried to invoke this API for a data stream with the on-demand capacity mode. This API is only supported for data streams with the provisioned capacity mode.

ConsumerStatus

newtype ConsumerStatus Source #

Constructors

ConsumerStatus' 

Instances

Instances details
FromJSON ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

FromJSONKey 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

ToByteString ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

ToHeader ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

ToLog ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

ToQuery 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

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 #

Generic ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

Associated Types

type Rep ConsumerStatus :: Type -> Type #

Read ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

Show ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

NFData ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

Methods

rnf :: ConsumerStatus -> () #

Eq ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

Ord ConsumerStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerStatus

Hashable 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" "amazonka-kinesis-2.0-AW1spVPMUGf3LUqQQ22bci" '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
FromJSON EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

FromJSONKey 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

ToByteString EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

ToHeader EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

ToLog EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

ToQuery 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

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 #

Generic EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

Associated Types

type Rep EncryptionType :: Type -> Type #

Read EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

Show EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

NFData EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

Methods

rnf :: EncryptionType -> () #

Eq EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

Ord EncryptionType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EncryptionType

Hashable 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" "amazonka-kinesis-2.0-AW1spVPMUGf3LUqQQ22bci" 'True) (C1 ('MetaCons "EncryptionType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEncryptionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

MetricsName

newtype MetricsName Source #

Constructors

MetricsName' 

Instances

Instances details
FromJSON MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

FromJSONKey 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

ToByteString MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

ToHeader MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

ToLog MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

ToQuery 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 #

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 #

Generic MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

Associated Types

type Rep MetricsName :: Type -> Type #

Read MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

Show MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

NFData MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

Methods

rnf :: MetricsName -> () #

Eq MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

Ord MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

Hashable MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

type Rep MetricsName Source # 
Instance details

Defined in Amazonka.Kinesis.Types.MetricsName

type Rep MetricsName = D1 ('MetaData "MetricsName" "Amazonka.Kinesis.Types.MetricsName" "amazonka-kinesis-2.0-AW1spVPMUGf3LUqQQ22bci" '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
FromJSON ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

FromJSONKey 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

ToByteString ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

ToHeader ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

ToLog ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

ToQuery 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 #

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 #

Generic ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

Associated Types

type Rep ScalingType :: Type -> Type #

Read ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

Show ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

NFData ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

Methods

rnf :: ScalingType -> () #

Eq ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

Ord ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

Hashable ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

type Rep ScalingType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ScalingType

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

ShardFilterType

newtype ShardFilterType Source #

Constructors

ShardFilterType' 

Instances

Instances details
FromJSON ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

FromJSONKey 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

ToByteString ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

ToHeader ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

ToLog ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

ToQuery 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

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 #

Generic ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

Associated Types

type Rep ShardFilterType :: Type -> Type #

Read ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

Show ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

NFData ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

Methods

rnf :: ShardFilterType -> () #

Eq ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

Ord ShardFilterType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilterType

Hashable 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" "amazonka-kinesis-2.0-AW1spVPMUGf3LUqQQ22bci" 'True) (C1 ('MetaCons "ShardFilterType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromShardFilterType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ShardIteratorType

newtype ShardIteratorType Source #

Instances

Instances details
FromJSON ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

FromJSONKey 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

ToByteString ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

ToHeader ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

ToLog ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

ToQuery 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

FromXML ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

ToXML 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 #

Read ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

Show ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

NFData ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

Methods

rnf :: ShardIteratorType -> () #

Eq ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

Ord ShardIteratorType Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardIteratorType

Hashable 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" "amazonka-kinesis-2.0-AW1spVPMUGf3LUqQQ22bci" 'True) (C1 ('MetaCons "ShardIteratorType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromShardIteratorType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

StreamMode

newtype StreamMode Source #

Constructors

StreamMode' 

Fields

Bundled Patterns

pattern StreamMode_ON_DEMAND :: StreamMode 
pattern StreamMode_PROVISIONED :: StreamMode 

Instances

Instances details
FromJSON StreamMode Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamMode

FromJSONKey StreamMode Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamMode

ToJSON StreamMode Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamMode

ToJSONKey StreamMode Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamMode

ToByteString StreamMode Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamMode

ToHeader StreamMode Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamMode

ToLog StreamMode Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamMode

ToQuery StreamMode Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamMode

FromText StreamMode Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamMode

ToText StreamMode Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamMode

Methods

toText :: StreamMode -> Text #

FromXML StreamMode Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamMode

ToXML StreamMode Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamMode

Methods

toXML :: StreamMode -> XML #

Generic StreamMode Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamMode

Associated Types

type Rep StreamMode :: Type -> Type #

Read StreamMode Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamMode

Show StreamMode Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamMode

NFData StreamMode Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamMode

Methods

rnf :: StreamMode -> () #

Eq StreamMode Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamMode

Ord StreamMode Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamMode

Hashable StreamMode Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamMode

type Rep StreamMode Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamMode

type Rep StreamMode = D1 ('MetaData "StreamMode" "Amazonka.Kinesis.Types.StreamMode" "amazonka-kinesis-2.0-AW1spVPMUGf3LUqQQ22bci" 'True) (C1 ('MetaCons "StreamMode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStreamMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

StreamStatus

newtype StreamStatus Source #

Constructors

StreamStatus' 

Instances

Instances details
FromJSON StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

FromJSONKey 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

ToByteString StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

ToHeader StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

ToLog StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

ToQuery 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 #

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 #

Generic StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

Associated Types

type Rep StreamStatus :: Type -> Type #

Read StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

Show StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

NFData StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

Methods

rnf :: StreamStatus -> () #

Eq StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

Ord StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

Hashable StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

type Rep StreamStatus Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamStatus

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

ChildShard

data ChildShard Source #

Output parameter of the GetRecords API. The existing child shard of the current shard.

See: newChildShard smart constructor.

Constructors

ChildShard' 

Fields

Instances

Instances details
FromJSON 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 #

Read ChildShard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ChildShard

Show ChildShard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ChildShard

NFData ChildShard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ChildShard

Methods

rnf :: ChildShard -> () #

Eq ChildShard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ChildShard

Hashable 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" "amazonka-kinesis-2.0-AW1spVPMUGf3LUqQQ22bci" '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 - The shard ID of the existing child shard of the current shard.

$sel:parentShards:ChildShard', childShard_parentShards - The current shard that is the parent of the existing child shard.

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

childShard_shardId :: Lens' ChildShard Text Source #

The shard ID of the existing child shard of the current shard.

childShard_parentShards :: Lens' ChildShard [Text] Source #

The current shard that is the parent of the existing child shard.

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
FromJSON 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 #

Read Consumer Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Consumer

Show Consumer Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Consumer

NFData Consumer Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Consumer

Methods

rnf :: Consumer -> () #

Eq Consumer Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Consumer

Hashable Consumer Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Consumer

Methods

hashWithSalt :: Int -> Consumer -> Int #

hash :: Consumer -> Int #

type Rep Consumer Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Consumer

type Rep Consumer = D1 ('MetaData "Consumer" "Amazonka.Kinesis.Types.Consumer" "amazonka-kinesis-2.0-AW1spVPMUGf3LUqQQ22bci" '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
FromJSON 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 #

Read ConsumerDescription Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerDescription

Show ConsumerDescription Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerDescription

NFData ConsumerDescription Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerDescription

Methods

rnf :: ConsumerDescription -> () #

Eq ConsumerDescription Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ConsumerDescription

Hashable 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" "amazonka-kinesis-2.0-AW1spVPMUGf3LUqQQ22bci" '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
FromJSON 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 #

Read EnhancedMetrics Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMetrics

Show EnhancedMetrics Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMetrics

NFData EnhancedMetrics Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMetrics

Methods

rnf :: EnhancedMetrics -> () #

Eq EnhancedMetrics Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMetrics

Hashable 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" "amazonka-kinesis-2.0-AW1spVPMUGf3LUqQQ22bci" '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
FromJSON 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 #

Read EnhancedMonitoringOutput Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMonitoringOutput

Show EnhancedMonitoringOutput Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMonitoringOutput

NFData EnhancedMonitoringOutput Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMonitoringOutput

Eq EnhancedMonitoringOutput Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMonitoringOutput

Hashable 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" "amazonka-kinesis-2.0-AW1spVPMUGf3LUqQQ22bci" 'False) (C1 ('MetaCons "EnhancedMonitoringOutput'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "currentShardLevelMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MetricsName])) :*: S1 ('MetaSel ('Just "desiredShardLevelMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MetricsName]))) :*: (S1 ('MetaSel ('Just "streamARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:currentShardLevelMetrics:EnhancedMonitoringOutput', enhancedMonitoringOutput_currentShardLevelMetrics - Represents the current state of the metrics that are in the enhanced state before the operation.

$sel:desiredShardLevelMetrics:EnhancedMonitoringOutput', enhancedMonitoringOutput_desiredShardLevelMetrics - Represents the list of all the metrics that would be in the enhanced state after the operation.

$sel:streamARN:EnhancedMonitoringOutput', enhancedMonitoringOutput_streamARN - The ARN of the stream.

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

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

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

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

Represents the list of all the metrics that would be in the enhanced state after 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
FromJSON 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 #

Read HashKeyRange Source # 
Instance details

Defined in Amazonka.Kinesis.Types.HashKeyRange

Show HashKeyRange Source # 
Instance details

Defined in Amazonka.Kinesis.Types.HashKeyRange

NFData HashKeyRange Source # 
Instance details

Defined in Amazonka.Kinesis.Types.HashKeyRange

Methods

rnf :: HashKeyRange -> () #

Eq HashKeyRange Source # 
Instance details

Defined in Amazonka.Kinesis.Types.HashKeyRange

Hashable 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" "amazonka-kinesis-2.0-AW1spVPMUGf3LUqQQ22bci" '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
ToJSON 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 #

Read PutRecordsRequestEntry Source # 
Instance details

Defined in Amazonka.Kinesis.Types.PutRecordsRequestEntry

Show PutRecordsRequestEntry Source # 
Instance details

Defined in Amazonka.Kinesis.Types.PutRecordsRequestEntry

NFData PutRecordsRequestEntry Source # 
Instance details

Defined in Amazonka.Kinesis.Types.PutRecordsRequestEntry

Methods

rnf :: PutRecordsRequestEntry -> () #

Eq PutRecordsRequestEntry Source # 
Instance details

Defined in Amazonka.Kinesis.Types.PutRecordsRequestEntry

Hashable 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" "amazonka-kinesis-2.0-AW1spVPMUGf3LUqQQ22bci" '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

  • 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".

  • sequenceNumber :: Maybe Text

    The sequence number for an individual record result.

  • shardId :: Maybe Text

    The shard ID for an individual record result.

Instances

Instances details
FromJSON 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 #

Read PutRecordsResultEntry Source # 
Instance details

Defined in Amazonka.Kinesis.Types.PutRecordsResultEntry

Show PutRecordsResultEntry Source # 
Instance details

Defined in Amazonka.Kinesis.Types.PutRecordsResultEntry

NFData PutRecordsResultEntry Source # 
Instance details

Defined in Amazonka.Kinesis.Types.PutRecordsResultEntry

Methods

rnf :: PutRecordsResultEntry -> () #

Eq PutRecordsResultEntry Source # 
Instance details

Defined in Amazonka.Kinesis.Types.PutRecordsResultEntry

Hashable 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" "amazonka-kinesis-2.0-AW1spVPMUGf3LUqQQ22bci" 'False) (C1 ('MetaCons "PutRecordsResultEntry'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "sequenceNumber") '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: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:sequenceNumber:PutRecordsResultEntry', putRecordsResultEntry_sequenceNumber - The sequence number for an individual record result.

$sel:shardId:PutRecordsResultEntry', putRecordsResultEntry_shardId - The shard ID 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_sequenceNumber :: Lens' PutRecordsResultEntry (Maybe Text) Source #

The sequence number for an individual record result.

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

  • approximateArrivalTimestamp :: Maybe POSIX

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

  • 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 Amazon Web Services KMS key.
  • 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
FromJSON 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 #

Read Record Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Record

Show Record Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Record

NFData Record Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Record

Methods

rnf :: Record -> () #

Eq Record Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Record

Methods

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

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

Hashable Record Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Record

Methods

hashWithSalt :: Int -> Record -> Int #

hash :: Record -> Int #

type Rep Record Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Record

type Rep Record = D1 ('MetaData "Record" "Amazonka.Kinesis.Types.Record" "amazonka-kinesis-2.0-AW1spVPMUGf3LUqQQ22bci" 'False) (C1 ('MetaCons "Record'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "approximateArrivalTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "encryptionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionType))) :*: (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:approximateArrivalTimestamp:Record', record_approximateArrivalTimestamp - The approximate time that the record was inserted into the stream.

$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 Amazon Web Services KMS key.

$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_approximateArrivalTimestamp :: Lens' Record (Maybe UTCTime) Source #

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

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 Amazon Web Services KMS key.

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
FromJSON 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 #

Read SequenceNumberRange Source # 
Instance details

Defined in Amazonka.Kinesis.Types.SequenceNumberRange

Show SequenceNumberRange Source # 
Instance details

Defined in Amazonka.Kinesis.Types.SequenceNumberRange

NFData SequenceNumberRange Source # 
Instance details

Defined in Amazonka.Kinesis.Types.SequenceNumberRange

Methods

rnf :: SequenceNumberRange -> () #

Eq SequenceNumberRange Source # 
Instance details

Defined in Amazonka.Kinesis.Types.SequenceNumberRange

Hashable 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" "amazonka-kinesis-2.0-AW1spVPMUGf3LUqQQ22bci" '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
FromJSON Shard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Shard

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 #

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 #

NFData Shard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Shard

Methods

rnf :: Shard -> () #

Eq Shard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Shard

Methods

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

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

Hashable Shard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Shard

Methods

hashWithSalt :: Int -> Shard -> Int #

hash :: Shard -> Int #

type Rep Shard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Shard

type Rep Shard = D1 ('MetaData "Shard" "Amazonka.Kinesis.Types.Shard" "amazonka-kinesis-2.0-AW1spVPMUGf3LUqQQ22bci" '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 #

The request parameter used to filter out the response of the ListShards API.

See: newShardFilter smart constructor.

Constructors

ShardFilter' 

Fields

  • shardId :: Maybe Text

    The exclusive start shardID speified in the ShardFilter parameter. This property can only be used if the AFTER_SHARD_ID shard type is specified.

  • timestamp :: Maybe POSIX

    The timestamps specified in the ShardFilter parameter. A timestamp is a Unix epoch date with precision in milliseconds. For example, 2016-04-04T19:58:46.480-00:00 or 1459799926.480. This property can only be used if FROM_TIMESTAMP or AT_TIMESTAMP shard types are specified.

  • type' :: ShardFilterType

    The shard type specified in the ShardFilter parameter. This is a required property of the ShardFilter parameter.

    You can specify the following valid values:

    • AFTER_SHARD_ID - the response includes all the shards, starting with the shard whose ID immediately follows the ShardId that you provided.
    • AT_TRIM_HORIZON - the response includes all the shards that were open at TRIM_HORIZON.
    • FROM_TRIM_HORIZON - (default), the response includes all the shards within the retention period of the data stream (trim to tip).
    • AT_LATEST - the response includes only the currently open shards of the data stream.
    • AT_TIMESTAMP - the response includes all shards whose start timestamp is less than or equal to the given timestamp and end timestamp is greater than or equal to the given timestamp or still open.
    • FROM_TIMESTAMP - the response incldues all closed shards whose end timestamp is greater than or equal to the given timestamp and also all open shards. Corrected to TRIM_HORIZON of the data stream if FROM_TIMESTAMP is less than the TRIM_HORIZON value.

Instances

Instances details
ToJSON 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 #

Read ShardFilter Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilter

Show ShardFilter Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilter

NFData ShardFilter Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilter

Methods

rnf :: ShardFilter -> () #

Eq ShardFilter Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ShardFilter

Hashable 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" "amazonka-kinesis-2.0-AW1spVPMUGf3LUqQQ22bci" 'False) (C1 ('MetaCons "ShardFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "shardId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: 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:shardId:ShardFilter', shardFilter_shardId - The exclusive start shardID speified in the ShardFilter parameter. This property can only be used if the AFTER_SHARD_ID shard type is specified.

$sel:timestamp:ShardFilter', shardFilter_timestamp - The timestamps specified in the ShardFilter parameter. A timestamp is a Unix epoch date with precision in milliseconds. For example, 2016-04-04T19:58:46.480-00:00 or 1459799926.480. This property can only be used if FROM_TIMESTAMP or AT_TIMESTAMP shard types are specified.

$sel:type':ShardFilter', shardFilter_type - The shard type specified in the ShardFilter parameter. This is a required property of the ShardFilter parameter.

You can specify the following valid values:

  • AFTER_SHARD_ID - the response includes all the shards, starting with the shard whose ID immediately follows the ShardId that you provided.
  • AT_TRIM_HORIZON - the response includes all the shards that were open at TRIM_HORIZON.
  • FROM_TRIM_HORIZON - (default), the response includes all the shards within the retention period of the data stream (trim to tip).
  • AT_LATEST - the response includes only the currently open shards of the data stream.
  • AT_TIMESTAMP - the response includes all shards whose start timestamp is less than or equal to the given timestamp and end timestamp is greater than or equal to the given timestamp or still open.
  • FROM_TIMESTAMP - the response incldues all closed shards whose end timestamp is greater than or equal to the given timestamp and also all open shards. Corrected to TRIM_HORIZON of the data stream if FROM_TIMESTAMP is less than the TRIM_HORIZON value.

shardFilter_shardId :: Lens' ShardFilter (Maybe Text) Source #

The exclusive start shardID speified in the ShardFilter parameter. This property can only be used if the AFTER_SHARD_ID shard type is specified.

shardFilter_timestamp :: Lens' ShardFilter (Maybe UTCTime) Source #

The timestamps specified in the ShardFilter parameter. A timestamp is a Unix epoch date with precision in milliseconds. For example, 2016-04-04T19:58:46.480-00:00 or 1459799926.480. This property can only be used if FROM_TIMESTAMP or AT_TIMESTAMP shard types are specified.

shardFilter_type :: Lens' ShardFilter ShardFilterType Source #

The shard type specified in the ShardFilter parameter. This is a required property of the ShardFilter parameter.

You can specify the following valid values:

  • AFTER_SHARD_ID - the response includes all the shards, starting with the shard whose ID immediately follows the ShardId that you provided.
  • AT_TRIM_HORIZON - the response includes all the shards that were open at TRIM_HORIZON.
  • FROM_TRIM_HORIZON - (default), the response includes all the shards within the retention period of the data stream (trim to tip).
  • AT_LATEST - the response includes only the currently open shards of the data stream.
  • AT_TIMESTAMP - the response includes all shards whose start timestamp is less than or equal to the given timestamp and end timestamp is greater than or equal to the given timestamp or still open.
  • FROM_TIMESTAMP - the response incldues all closed shards whose end timestamp is greater than or equal to the given timestamp and also all open shards. Corrected to TRIM_HORIZON of the data stream if FROM_TIMESTAMP is less than the TRIM_HORIZON value.

StartingPosition

data StartingPosition Source #

The starting position in the data stream from which to start streaming.

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
ToJSON 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 #

Read StartingPosition Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StartingPosition

Show StartingPosition Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StartingPosition

NFData StartingPosition Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StartingPosition

Methods

rnf :: StartingPosition -> () #

Eq StartingPosition Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StartingPosition

Hashable 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" "amazonka-kinesis-2.0-AW1spVPMUGf3LUqQQ22bci" '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 Amazon Web Services KMS key.
  • keyId :: Maybe Text

    The GUID for the customer-managed Amazon Web Services 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
  • streamModeDetails :: Maybe StreamModeDetails

    Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.

  • 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
FromJSON 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 #

Read StreamDescription Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescription

Show StreamDescription Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescription

NFData StreamDescription Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescription

Methods

rnf :: StreamDescription -> () #

Eq StreamDescription Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescription

Hashable StreamDescription Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescription

type Rep StreamDescription Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescription

type Rep StreamDescription = D1 ('MetaData "StreamDescription" "Amazonka.Kinesis.Types.StreamDescription" "amazonka-kinesis-2.0-AW1spVPMUGf3LUqQQ22bci" 'False) (C1 ('MetaCons "StreamDescription'" '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 "streamModeDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamModeDetails)) :*: (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 "shards") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Shard]) :*: S1 ('MetaSel ('Just "hasMoreShards") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))) :*: (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]))))))

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 Amazon Web Services KMS key.

$sel:keyId:StreamDescription', streamDescription_keyId - The GUID for the customer-managed Amazon Web Services 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:streamModeDetails:StreamDescription', streamDescription_streamModeDetails - Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.

$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 Amazon Web Services KMS key.

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

The GUID for the customer-managed Amazon Web Services 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_streamModeDetails :: Lens' StreamDescription (Maybe StreamModeDetails) Source #

Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.

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

  • consumerCount :: Maybe Natural

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

  • 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 Amazon Web Services 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
  • streamModeDetails :: Maybe StreamModeDetails

    Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand ycapacity mode and a provisioned capacity mode for your data streams.

  • 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
FromJSON 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 #

Read StreamDescriptionSummary Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescriptionSummary

Show StreamDescriptionSummary Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescriptionSummary

NFData StreamDescriptionSummary Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescriptionSummary

Eq StreamDescriptionSummary Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamDescriptionSummary

Hashable 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" "amazonka-kinesis-2.0-AW1spVPMUGf3LUqQQ22bci" 'False) (C1 ('MetaCons "StreamDescriptionSummary'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "consumerCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "encryptionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionType))) :*: (S1 ('MetaSel ('Just "keyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "streamModeDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamModeDetails)) :*: 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:consumerCount:StreamDescriptionSummary', streamDescriptionSummary_consumerCount - The number of enhanced fan-out consumers registered with the stream.

$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 Amazon Web Services 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:streamModeDetails:StreamDescriptionSummary', streamDescriptionSummary_streamModeDetails - Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand ycapacity mode and a provisioned capacity mode for your data streams.

$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_consumerCount :: Lens' StreamDescriptionSummary (Maybe Natural) Source #

The number of enhanced fan-out consumers registered with 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 Amazon Web Services 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_streamModeDetails :: Lens' StreamDescriptionSummary (Maybe StreamModeDetails) Source #

Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand ycapacity mode and a provisioned capacity mode for your data streams.

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.

StreamModeDetails

data StreamModeDetails Source #

Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.

See: newStreamModeDetails smart constructor.

Constructors

StreamModeDetails' 

Fields

  • streamMode :: StreamMode

    Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.

Instances

Instances details
FromJSON StreamModeDetails Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamModeDetails

ToJSON StreamModeDetails Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamModeDetails

Generic StreamModeDetails Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamModeDetails

Associated Types

type Rep StreamModeDetails :: Type -> Type #

Read StreamModeDetails Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamModeDetails

Show StreamModeDetails Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamModeDetails

NFData StreamModeDetails Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamModeDetails

Methods

rnf :: StreamModeDetails -> () #

Eq StreamModeDetails Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamModeDetails

Hashable StreamModeDetails Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamModeDetails

type Rep StreamModeDetails Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamModeDetails

type Rep StreamModeDetails = D1 ('MetaData "StreamModeDetails" "Amazonka.Kinesis.Types.StreamModeDetails" "amazonka-kinesis-2.0-AW1spVPMUGf3LUqQQ22bci" 'False) (C1 ('MetaCons "StreamModeDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "streamMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StreamMode)))

newStreamModeDetails Source #

Create a value of StreamModeDetails 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:streamMode:StreamModeDetails', streamModeDetails_streamMode - Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.

streamModeDetails_streamMode :: Lens' StreamModeDetails StreamMode Source #

Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.

StreamSummary

data StreamSummary Source #

The summary of a stream.

See: newStreamSummary smart constructor.

Constructors

StreamSummary' 

Fields

Instances

Instances details
FromJSON StreamSummary Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamSummary

Generic StreamSummary Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamSummary

Associated Types

type Rep StreamSummary :: Type -> Type #

Read StreamSummary Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamSummary

Show StreamSummary Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamSummary

NFData StreamSummary Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamSummary

Methods

rnf :: StreamSummary -> () #

Eq StreamSummary Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamSummary

Hashable StreamSummary Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamSummary

type Rep StreamSummary Source # 
Instance details

Defined in Amazonka.Kinesis.Types.StreamSummary

type Rep StreamSummary = D1 ('MetaData "StreamSummary" "Amazonka.Kinesis.Types.StreamSummary" "amazonka-kinesis-2.0-AW1spVPMUGf3LUqQQ22bci" 'False) (C1 ('MetaCons "StreamSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "streamCreationTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "streamModeDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamModeDetails))) :*: (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)))))

newStreamSummary Source #

Create a value of StreamSummary 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:streamCreationTimestamp:StreamSummary', streamSummary_streamCreationTimestamp - The timestamp at which the stream was created.

$sel:streamModeDetails:StreamSummary', streamSummary_streamModeDetails - Undocumented member.

$sel:streamName:StreamSummary', streamSummary_streamName - The name of a stream.

$sel:streamARN:StreamSummary', streamSummary_streamARN - The ARN of the stream.

$sel:streamStatus:StreamSummary', streamSummary_streamStatus - The status of the stream.

streamSummary_streamCreationTimestamp :: Lens' StreamSummary (Maybe UTCTime) Source #

The timestamp at which the stream was created.

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]

    The list of the child shards of the current shard, returned only at the end of the current shard.

  • 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
FromJSON 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 #

Read SubscribeToShardEvent Source # 
Instance details

Defined in Amazonka.Kinesis.Types.SubscribeToShardEvent

Show SubscribeToShardEvent Source # 
Instance details

Defined in Amazonka.Kinesis.Types.SubscribeToShardEvent

NFData SubscribeToShardEvent Source # 
Instance details

Defined in Amazonka.Kinesis.Types.SubscribeToShardEvent

Methods

rnf :: SubscribeToShardEvent -> () #

Eq SubscribeToShardEvent Source # 
Instance details

Defined in Amazonka.Kinesis.Types.SubscribeToShardEvent

Hashable 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" "amazonka-kinesis-2.0-AW1spVPMUGf3LUqQQ22bci" '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 - The list of the child shards of the current shard, returned only at the end of the current shard.

$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_childShards :: Lens' SubscribeToShardEvent (Maybe [ChildShard]) Source #

The list of the child shards of the current shard, returned only at the end of the current shard.

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
FromJSON Tag Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Tag

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 #

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 #

NFData Tag Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Tag

Methods

rnf :: Tag -> () #

Eq Tag Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Tag

Methods

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

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

Hashable Tag Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

type Rep Tag Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.Kinesis.Types.Tag" "amazonka-kinesis-2.0-AW1spVPMUGf3LUqQQ22bci" '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, _ . / = + - % @