amazonka-kinesis-1.6.0: Amazon Kinesis SDK.

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

Network.AWS.Kinesis

Contents

Description

Amazon Kinesis Data Streams Service API Reference

Amazon Kinesis Data Streams is a managed service that scales elastically for real-time processing of streaming big data.

Synopsis

Service Configuration

kinesis :: Service #

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

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by Kinesis.

KMSInvalidStateException

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

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

KMSThrottlingException

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

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

ExpiredIteratorException

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

The provided iterator exceeds the maximum age allowed.

InvalidArgumentException

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

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

KMSOptInRequired

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

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

ProvisionedThroughputExceededException

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

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

KMSNotFoundException

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

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

ExpiredNextTokenException

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

The pagination token passed to the ListShards operation is expired. For more information, see 'ListShardsInput$NextToken' .

KMSDisabledException

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

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

ResourceNotFoundException

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

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

KMSAccessDeniedException

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

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

LimitExceededException

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

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

ResourceInUseException

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

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

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

StreamExists

streamExists :: Wait DescribeStream #

Polls DescribeStream every 10 seconds until a successful state is reached. An error is returned after 18 failed checks.

StreamNotExists

streamNotExists :: Wait DescribeStream #

Polls DescribeStream every 10 seconds until a successful state is reached. An error is returned after 18 failed checks.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

PutRecord

DecreaseStreamRetentionPeriod

MergeShards

DescribeStreamSummary

GetShardIterator

GetRecords

StopStreamEncryption

EnableEnhancedMonitoring

DescribeLimits

DisableEnhancedMonitoring

UpdateShardCount

ListTagsForStream

AddTagsToStream

PutRecords

ListShards

DeleteStream

RemoveTagsFromStream

ListStreams (Paginated)

CreateStream

StartStreamEncryption

SplitShard

IncreaseStreamRetentionPeriod

DescribeStream (Paginated)

Types

EncryptionType

data EncryptionType #

Constructors

KMS 
None 
Instances
Bounded EncryptionType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Enum EncryptionType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Eq EncryptionType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Data EncryptionType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EncryptionType -> c EncryptionType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EncryptionType #

toConstr :: EncryptionType -> Constr #

dataTypeOf :: EncryptionType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EncryptionType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EncryptionType) #

gmapT :: (forall b. Data b => b -> b) -> EncryptionType -> EncryptionType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EncryptionType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EncryptionType -> r #

gmapQ :: (forall d. Data d => d -> u) -> EncryptionType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EncryptionType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EncryptionType -> m EncryptionType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EncryptionType -> m EncryptionType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EncryptionType -> m EncryptionType #

Ord EncryptionType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Read EncryptionType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Show EncryptionType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Generic EncryptionType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Associated Types

type Rep EncryptionType :: * -> * #

Hashable EncryptionType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToJSON EncryptionType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

FromJSON EncryptionType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToHeader EncryptionType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToQuery EncryptionType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToByteString EncryptionType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

FromText EncryptionType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToText EncryptionType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

NFData EncryptionType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Methods

rnf :: EncryptionType -> () #

type Rep EncryptionType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

type Rep EncryptionType = D1 (MetaData "EncryptionType" "Network.AWS.Kinesis.Types.Sum" "amazonka-kinesis-1.6.0-4YDemIxP4OfE57cYVD0y1c" False) (C1 (MetaCons "KMS" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "None" PrefixI False) (U1 :: * -> *))

MetricsName

data MetricsName #

Instances
Bounded MetricsName # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Enum MetricsName # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Eq MetricsName # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Data MetricsName # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MetricsName -> c MetricsName #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MetricsName #

toConstr :: MetricsName -> Constr #

dataTypeOf :: MetricsName -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MetricsName) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MetricsName) #

gmapT :: (forall b. Data b => b -> b) -> MetricsName -> MetricsName #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MetricsName -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MetricsName -> r #

gmapQ :: (forall d. Data d => d -> u) -> MetricsName -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MetricsName -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MetricsName -> m MetricsName #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MetricsName -> m MetricsName #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MetricsName -> m MetricsName #

Ord MetricsName # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Read MetricsName # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Show MetricsName # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Generic MetricsName # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Associated Types

type Rep MetricsName :: * -> * #

Hashable MetricsName # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToJSON MetricsName # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

FromJSON MetricsName # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToHeader MetricsName # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToQuery MetricsName # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToByteString MetricsName # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

FromText MetricsName # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToText MetricsName # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Methods

toText :: MetricsName -> Text #

NFData MetricsName # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Methods

rnf :: MetricsName -> () #

type Rep MetricsName # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

type Rep MetricsName = D1 (MetaData "MetricsName" "Network.AWS.Kinesis.Types.Sum" "amazonka-kinesis-1.6.0-4YDemIxP4OfE57cYVD0y1c" False) (((C1 (MetaCons "All" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "IncomingBytes" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "IncomingRecords" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "IteratorAgeMilliseconds" PrefixI False) (U1 :: * -> *))) :+: ((C1 (MetaCons "OutgoingBytes" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "OutgoingRecords" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "ReadProvisionedThroughputExceeded" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "WriteProvisionedThroughputExceeded" PrefixI False) (U1 :: * -> *))))

ScalingType

data ScalingType #

Constructors

UniformScaling 
Instances
Bounded ScalingType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Enum ScalingType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Eq ScalingType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Data ScalingType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ScalingType -> c ScalingType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ScalingType #

toConstr :: ScalingType -> Constr #

dataTypeOf :: ScalingType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ScalingType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ScalingType) #

gmapT :: (forall b. Data b => b -> b) -> ScalingType -> ScalingType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ScalingType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ScalingType -> r #

gmapQ :: (forall d. Data d => d -> u) -> ScalingType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ScalingType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ScalingType -> m ScalingType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ScalingType -> m ScalingType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ScalingType -> m ScalingType #

Ord ScalingType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Read ScalingType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Show ScalingType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Generic ScalingType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Associated Types

type Rep ScalingType :: * -> * #

Hashable ScalingType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToJSON ScalingType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToHeader ScalingType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToQuery ScalingType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToByteString ScalingType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

FromText ScalingType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToText ScalingType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Methods

toText :: ScalingType -> Text #

NFData ScalingType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Methods

rnf :: ScalingType -> () #

type Rep ScalingType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

type Rep ScalingType = D1 (MetaData "ScalingType" "Network.AWS.Kinesis.Types.Sum" "amazonka-kinesis-1.6.0-4YDemIxP4OfE57cYVD0y1c" False) (C1 (MetaCons "UniformScaling" PrefixI False) (U1 :: * -> *))

ShardIteratorType

data ShardIteratorType #

Instances
Bounded ShardIteratorType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Enum ShardIteratorType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Eq ShardIteratorType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Data ShardIteratorType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ShardIteratorType -> c ShardIteratorType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ShardIteratorType #

toConstr :: ShardIteratorType -> Constr #

dataTypeOf :: ShardIteratorType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ShardIteratorType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ShardIteratorType) #

gmapT :: (forall b. Data b => b -> b) -> ShardIteratorType -> ShardIteratorType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ShardIteratorType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ShardIteratorType -> r #

gmapQ :: (forall d. Data d => d -> u) -> ShardIteratorType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ShardIteratorType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ShardIteratorType -> m ShardIteratorType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ShardIteratorType -> m ShardIteratorType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ShardIteratorType -> m ShardIteratorType #

Ord ShardIteratorType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Read ShardIteratorType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Show ShardIteratorType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Generic ShardIteratorType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Associated Types

type Rep ShardIteratorType :: * -> * #

Hashable ShardIteratorType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToJSON ShardIteratorType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToHeader ShardIteratorType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToQuery ShardIteratorType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToByteString ShardIteratorType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

FromText ShardIteratorType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToText ShardIteratorType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

NFData ShardIteratorType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Methods

rnf :: ShardIteratorType -> () #

type Rep ShardIteratorType # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

type Rep ShardIteratorType = D1 (MetaData "ShardIteratorType" "Network.AWS.Kinesis.Types.Sum" "amazonka-kinesis-1.6.0-4YDemIxP4OfE57cYVD0y1c" False) ((C1 (MetaCons "AfterSequenceNumber" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "AtSequenceNumber" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "AtTimestamp" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "Latest" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "TrimHorizon" PrefixI False) (U1 :: * -> *))))

StreamStatus

data StreamStatus #

Constructors

Active 
Creating 
Deleting 
Updating 
Instances
Bounded StreamStatus # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Enum StreamStatus # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Eq StreamStatus # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Data StreamStatus # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StreamStatus -> c StreamStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StreamStatus #

toConstr :: StreamStatus -> Constr #

dataTypeOf :: StreamStatus -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c StreamStatus) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StreamStatus) #

gmapT :: (forall b. Data b => b -> b) -> StreamStatus -> StreamStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StreamStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StreamStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> StreamStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StreamStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StreamStatus -> m StreamStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StreamStatus -> m StreamStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StreamStatus -> m StreamStatus #

Ord StreamStatus # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Read StreamStatus # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Show StreamStatus # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Generic StreamStatus # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Associated Types

type Rep StreamStatus :: * -> * #

Hashable StreamStatus # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

FromJSON StreamStatus # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToHeader StreamStatus # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToQuery StreamStatus # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToByteString StreamStatus # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

FromText StreamStatus # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToText StreamStatus # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Methods

toText :: StreamStatus -> Text #

NFData StreamStatus # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Methods

rnf :: StreamStatus -> () #

type Rep StreamStatus # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

type Rep StreamStatus = D1 (MetaData "StreamStatus" "Network.AWS.Kinesis.Types.Sum" "amazonka-kinesis-1.6.0-4YDemIxP4OfE57cYVD0y1c" False) ((C1 (MetaCons "Active" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Creating" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "Deleting" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Updating" PrefixI False) (U1 :: * -> *)))

EnhancedMetrics

data EnhancedMetrics #

Represents enhanced metrics types.

See: enhancedMetrics smart constructor.

Instances
Eq EnhancedMetrics # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Data EnhancedMetrics # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EnhancedMetrics -> c EnhancedMetrics #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EnhancedMetrics #

toConstr :: EnhancedMetrics -> Constr #

dataTypeOf :: EnhancedMetrics -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EnhancedMetrics) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EnhancedMetrics) #

gmapT :: (forall b. Data b => b -> b) -> EnhancedMetrics -> EnhancedMetrics #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EnhancedMetrics -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EnhancedMetrics -> r #

gmapQ :: (forall d. Data d => d -> u) -> EnhancedMetrics -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EnhancedMetrics -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EnhancedMetrics -> m EnhancedMetrics #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EnhancedMetrics -> m EnhancedMetrics #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EnhancedMetrics -> m EnhancedMetrics #

Read EnhancedMetrics # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Show EnhancedMetrics # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Generic EnhancedMetrics # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Associated Types

type Rep EnhancedMetrics :: * -> * #

Hashable EnhancedMetrics # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

FromJSON EnhancedMetrics # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

NFData EnhancedMetrics # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

rnf :: EnhancedMetrics -> () #

type Rep EnhancedMetrics # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

type Rep EnhancedMetrics = D1 (MetaData "EnhancedMetrics" "Network.AWS.Kinesis.Types.Product" "amazonka-kinesis-1.6.0-4YDemIxP4OfE57cYVD0y1c" True) (C1 (MetaCons "EnhancedMetrics'" PrefixI True) (S1 (MetaSel (Just "_emShardLevelMetrics") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [MetricsName]))))

enhancedMetrics :: EnhancedMetrics #

Creates a value of EnhancedMetrics with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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

emShardLevelMetrics :: Lens' EnhancedMetrics [MetricsName] #

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 #

Represents the output for EnableEnhancedMonitoring and DisableEnhancedMonitoring .

See: enhancedMonitoringOutput smart constructor.

Instances
Eq EnhancedMonitoringOutput # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Data EnhancedMonitoringOutput # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EnhancedMonitoringOutput -> c EnhancedMonitoringOutput #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EnhancedMonitoringOutput #

toConstr :: EnhancedMonitoringOutput -> Constr #

dataTypeOf :: EnhancedMonitoringOutput -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EnhancedMonitoringOutput) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EnhancedMonitoringOutput) #

gmapT :: (forall b. Data b => b -> b) -> EnhancedMonitoringOutput -> EnhancedMonitoringOutput #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EnhancedMonitoringOutput -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EnhancedMonitoringOutput -> r #

gmapQ :: (forall d. Data d => d -> u) -> EnhancedMonitoringOutput -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EnhancedMonitoringOutput -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EnhancedMonitoringOutput -> m EnhancedMonitoringOutput #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EnhancedMonitoringOutput -> m EnhancedMonitoringOutput #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EnhancedMonitoringOutput -> m EnhancedMonitoringOutput #

Read EnhancedMonitoringOutput # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Show EnhancedMonitoringOutput # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Generic EnhancedMonitoringOutput # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Associated Types

type Rep EnhancedMonitoringOutput :: * -> * #

Hashable EnhancedMonitoringOutput # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

FromJSON EnhancedMonitoringOutput # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

NFData EnhancedMonitoringOutput # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

type Rep EnhancedMonitoringOutput # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

type Rep EnhancedMonitoringOutput = D1 (MetaData "EnhancedMonitoringOutput" "Network.AWS.Kinesis.Types.Product" "amazonka-kinesis-1.6.0-4YDemIxP4OfE57cYVD0y1c" False) (C1 (MetaCons "EnhancedMonitoringOutput'" PrefixI True) (S1 (MetaSel (Just "_emoDesiredShardLevelMetrics") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [MetricsName])) :*: (S1 (MetaSel (Just "_emoCurrentShardLevelMetrics") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [MetricsName])) :*: S1 (MetaSel (Just "_emoStreamName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

enhancedMonitoringOutput :: EnhancedMonitoringOutput #

Creates a value of EnhancedMonitoringOutput with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

emoDesiredShardLevelMetrics :: Lens' EnhancedMonitoringOutput [MetricsName] #

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

emoCurrentShardLevelMetrics :: Lens' EnhancedMonitoringOutput [MetricsName] #

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

emoStreamName :: Lens' EnhancedMonitoringOutput (Maybe Text) #

The name of the Kinesis data stream.

HashKeyRange

data HashKeyRange #

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

See: hashKeyRange smart constructor.

Instances
Eq HashKeyRange # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Data HashKeyRange # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HashKeyRange -> c HashKeyRange #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HashKeyRange #

toConstr :: HashKeyRange -> Constr #

dataTypeOf :: HashKeyRange -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c HashKeyRange) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HashKeyRange) #

gmapT :: (forall b. Data b => b -> b) -> HashKeyRange -> HashKeyRange #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HashKeyRange -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HashKeyRange -> r #

gmapQ :: (forall d. Data d => d -> u) -> HashKeyRange -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HashKeyRange -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HashKeyRange -> m HashKeyRange #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HashKeyRange -> m HashKeyRange #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HashKeyRange -> m HashKeyRange #

Read HashKeyRange # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Show HashKeyRange # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Generic HashKeyRange # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Associated Types

type Rep HashKeyRange :: * -> * #

Hashable HashKeyRange # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

FromJSON HashKeyRange # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

NFData HashKeyRange # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

rnf :: HashKeyRange -> () #

type Rep HashKeyRange # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

type Rep HashKeyRange = D1 (MetaData "HashKeyRange" "Network.AWS.Kinesis.Types.Product" "amazonka-kinesis-1.6.0-4YDemIxP4OfE57cYVD0y1c" False) (C1 (MetaCons "HashKeyRange'" PrefixI True) (S1 (MetaSel (Just "_hkrStartingHashKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_hkrEndingHashKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))

hashKeyRange #

Creates a value of HashKeyRange with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

hkrStartingHashKey :: Lens' HashKeyRange Text #

The starting hash key of the hash key range.

hkrEndingHashKey :: Lens' HashKeyRange Text #

The ending hash key of the hash key range.

PutRecordsRequestEntry

data PutRecordsRequestEntry #

Represents the output for PutRecords .

See: putRecordsRequestEntry smart constructor.

Instances
Eq PutRecordsRequestEntry # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Data PutRecordsRequestEntry # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PutRecordsRequestEntry -> c PutRecordsRequestEntry #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PutRecordsRequestEntry #

toConstr :: PutRecordsRequestEntry -> Constr #

dataTypeOf :: PutRecordsRequestEntry -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PutRecordsRequestEntry) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PutRecordsRequestEntry) #

gmapT :: (forall b. Data b => b -> b) -> PutRecordsRequestEntry -> PutRecordsRequestEntry #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PutRecordsRequestEntry -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PutRecordsRequestEntry -> r #

gmapQ :: (forall d. Data d => d -> u) -> PutRecordsRequestEntry -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PutRecordsRequestEntry -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PutRecordsRequestEntry -> m PutRecordsRequestEntry #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PutRecordsRequestEntry -> m PutRecordsRequestEntry #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PutRecordsRequestEntry -> m PutRecordsRequestEntry #

Read PutRecordsRequestEntry # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Show PutRecordsRequestEntry # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Generic PutRecordsRequestEntry # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Associated Types

type Rep PutRecordsRequestEntry :: * -> * #

Hashable PutRecordsRequestEntry # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

ToJSON PutRecordsRequestEntry # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

NFData PutRecordsRequestEntry # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

rnf :: PutRecordsRequestEntry -> () #

type Rep PutRecordsRequestEntry # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

type Rep PutRecordsRequestEntry = D1 (MetaData "PutRecordsRequestEntry" "Network.AWS.Kinesis.Types.Product" "amazonka-kinesis-1.6.0-4YDemIxP4OfE57cYVD0y1c" False) (C1 (MetaCons "PutRecordsRequestEntry'" PrefixI True) (S1 (MetaSel (Just "_prreExplicitHashKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_prreData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Base64) :*: S1 (MetaSel (Just "_prrePartitionKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

putRecordsRequestEntry #

Creates a value of PutRecordsRequestEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • prreExplicitHashKey - The hash value used to determine explicitly the shard that the data record is assigned to by overriding the partition key hash.
  • prreData - 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 MB).-- 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.
  • prrePartitionKey - 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.

prreExplicitHashKey :: Lens' PutRecordsRequestEntry (Maybe Text) #

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

prreData :: Lens' PutRecordsRequestEntry ByteString #

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 MB).-- 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.

prrePartitionKey :: Lens' PutRecordsRequestEntry 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.

PutRecordsResultEntry

data PutRecordsResultEntry #

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: putRecordsResultEntry smart constructor.

Instances
Eq PutRecordsResultEntry # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Data PutRecordsResultEntry # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PutRecordsResultEntry -> c PutRecordsResultEntry #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PutRecordsResultEntry #

toConstr :: PutRecordsResultEntry -> Constr #

dataTypeOf :: PutRecordsResultEntry -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PutRecordsResultEntry) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PutRecordsResultEntry) #

gmapT :: (forall b. Data b => b -> b) -> PutRecordsResultEntry -> PutRecordsResultEntry #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PutRecordsResultEntry -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PutRecordsResultEntry -> r #

gmapQ :: (forall d. Data d => d -> u) -> PutRecordsResultEntry -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PutRecordsResultEntry -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PutRecordsResultEntry -> m PutRecordsResultEntry #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PutRecordsResultEntry -> m PutRecordsResultEntry #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PutRecordsResultEntry -> m PutRecordsResultEntry #

Read PutRecordsResultEntry # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Show PutRecordsResultEntry # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Generic PutRecordsResultEntry # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Associated Types

type Rep PutRecordsResultEntry :: * -> * #

Hashable PutRecordsResultEntry # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

FromJSON PutRecordsResultEntry # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

NFData PutRecordsResultEntry # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

rnf :: PutRecordsResultEntry -> () #

type Rep PutRecordsResultEntry # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

type Rep PutRecordsResultEntry = D1 (MetaData "PutRecordsResultEntry" "Network.AWS.Kinesis.Types.Product" "amazonka-kinesis-1.6.0-4YDemIxP4OfE57cYVD0y1c" False) (C1 (MetaCons "PutRecordsResultEntry'" PrefixI True) ((S1 (MetaSel (Just "_prreSequenceNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prreErrorCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_prreErrorMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prreShardId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

putRecordsResultEntry :: PutRecordsResultEntry #

Creates a value of PutRecordsResultEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • prreSequenceNumber - The sequence number for an individual record result.
  • prreErrorCode - The error code for an individual record result. ErrorCodes can be either ProvisionedThroughputExceededException or InternalFailure .
  • prreErrorMessage - 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" .
  • prreShardId - The shard ID for an individual record result.

prreSequenceNumber :: Lens' PutRecordsResultEntry (Maybe Text) #

The sequence number for an individual record result.

prreErrorCode :: Lens' PutRecordsResultEntry (Maybe Text) #

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

prreErrorMessage :: Lens' PutRecordsResultEntry (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" .

prreShardId :: Lens' PutRecordsResultEntry (Maybe Text) #

The shard ID for an individual record result.

Record

data Record #

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

See: record smart constructor.

Instances
Eq Record # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

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

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

Data Record # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Record -> c Record #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Record #

toConstr :: Record -> Constr #

dataTypeOf :: Record -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Record) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Record) #

gmapT :: (forall b. Data b => b -> b) -> Record -> Record #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Record -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Record -> r #

gmapQ :: (forall d. Data d => d -> u) -> Record -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Record -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Record -> m Record #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Record -> m Record #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Record -> m Record #

Read Record # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Show Record # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Generic Record # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Associated Types

type Rep Record :: * -> * #

Methods

from :: Record -> Rep Record x #

to :: Rep Record x -> Record #

Hashable Record # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

hashWithSalt :: Int -> Record -> Int #

hash :: Record -> Int #

FromJSON Record # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

NFData Record # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

rnf :: Record -> () #

type Rep Record # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

type Rep Record = D1 (MetaData "Record" "Network.AWS.Kinesis.Types.Product" "amazonka-kinesis-1.6.0-4YDemIxP4OfE57cYVD0y1c" False) (C1 (MetaCons "Record'" PrefixI True) ((S1 (MetaSel (Just "_rEncryptionType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EncryptionType)) :*: S1 (MetaSel (Just "_rApproximateArrivalTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 (MetaSel (Just "_rSequenceNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_rData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Base64) :*: S1 (MetaSel (Just "_rPartitionKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

record #

Creates a value of Record with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • rEncryptionType - The encryption type used on the record. This parameter can be one of the following values: * NONE : Do not encrypt the records in the stream. * KMS : Use server-side encryption on the records in the stream using a customer-managed AWS KMS key.
  • rApproximateArrivalTimestamp - The approximate time that the record was inserted into the stream.
  • rSequenceNumber - The unique identifier of the record within its shard.
  • rData - 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 MB).-- 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.
  • rPartitionKey - Identifies which shard in the stream the data record is assigned to.

rEncryptionType :: Lens' Record (Maybe EncryptionType) #

The encryption type used on the record. This parameter can be one of the following values: * NONE : Do not encrypt the records in the stream. * KMS : Use server-side encryption on the records in the stream using a customer-managed AWS KMS key.

rApproximateArrivalTimestamp :: Lens' Record (Maybe UTCTime) #

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

rSequenceNumber :: Lens' Record Text #

The unique identifier of the record within its shard.

rData :: Lens' Record ByteString #

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 MB).-- 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.

rPartitionKey :: Lens' Record Text #

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

SequenceNumberRange

data SequenceNumberRange #

The range of possible sequence numbers for the shard.

See: sequenceNumberRange smart constructor.

Instances
Eq SequenceNumberRange # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Data SequenceNumberRange # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SequenceNumberRange -> c SequenceNumberRange #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SequenceNumberRange #

toConstr :: SequenceNumberRange -> Constr #

dataTypeOf :: SequenceNumberRange -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SequenceNumberRange) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SequenceNumberRange) #

gmapT :: (forall b. Data b => b -> b) -> SequenceNumberRange -> SequenceNumberRange #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SequenceNumberRange -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SequenceNumberRange -> r #

gmapQ :: (forall d. Data d => d -> u) -> SequenceNumberRange -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SequenceNumberRange -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SequenceNumberRange -> m SequenceNumberRange #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SequenceNumberRange -> m SequenceNumberRange #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SequenceNumberRange -> m SequenceNumberRange #

Read SequenceNumberRange # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Show SequenceNumberRange # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Generic SequenceNumberRange # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Associated Types

type Rep SequenceNumberRange :: * -> * #

Hashable SequenceNumberRange # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

FromJSON SequenceNumberRange # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

NFData SequenceNumberRange # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

rnf :: SequenceNumberRange -> () #

type Rep SequenceNumberRange # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

type Rep SequenceNumberRange = D1 (MetaData "SequenceNumberRange" "Network.AWS.Kinesis.Types.Product" "amazonka-kinesis-1.6.0-4YDemIxP4OfE57cYVD0y1c" False) (C1 (MetaCons "SequenceNumberRange'" PrefixI True) (S1 (MetaSel (Just "_snrEndingSequenceNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_snrStartingSequenceNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))

sequenceNumberRange #

Creates a value of SequenceNumberRange with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

snrEndingSequenceNumber :: Lens' SequenceNumberRange (Maybe Text) #

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

snrStartingSequenceNumber :: Lens' SequenceNumberRange Text #

The starting sequence number for the range.

Shard

data Shard #

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

See: shard smart constructor.

Instances
Eq Shard # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

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

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

Data Shard # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Shard -> c Shard #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Shard #

toConstr :: Shard -> Constr #

dataTypeOf :: Shard -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Shard) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Shard) #

gmapT :: (forall b. Data b => b -> b) -> Shard -> Shard #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Shard -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Shard -> r #

gmapQ :: (forall d. Data d => d -> u) -> Shard -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Shard -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Shard -> m Shard #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Shard -> m Shard #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Shard -> m Shard #

Read Shard # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Show Shard # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

showsPrec :: Int -> Shard -> ShowS #

show :: Shard -> String #

showList :: [Shard] -> ShowS #

Generic Shard # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Associated Types

type Rep Shard :: * -> * #

Methods

from :: Shard -> Rep Shard x #

to :: Rep Shard x -> Shard #

Hashable Shard # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

hashWithSalt :: Int -> Shard -> Int #

hash :: Shard -> Int #

FromJSON Shard # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

NFData Shard # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

rnf :: Shard -> () #

type Rep Shard # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

type Rep Shard = D1 (MetaData "Shard" "Network.AWS.Kinesis.Types.Product" "amazonka-kinesis-1.6.0-4YDemIxP4OfE57cYVD0y1c" False) (C1 (MetaCons "Shard'" PrefixI True) ((S1 (MetaSel (Just "_sAdjacentParentShardId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sParentShardId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_sShardId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_sHashKeyRange") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 HashKeyRange) :*: S1 (MetaSel (Just "_sSequenceNumberRange") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SequenceNumberRange)))))

shard #

Creates a value of Shard with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • sAdjacentParentShardId - The shard ID of the shard adjacent to the shard's parent.
  • sParentShardId - The shard ID of the shard's parent.
  • sShardId - The unique identifier of the shard within the stream.
  • sHashKeyRange - The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.
  • sSequenceNumberRange - The range of possible sequence numbers for the shard.

sAdjacentParentShardId :: Lens' Shard (Maybe Text) #

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

sParentShardId :: Lens' Shard (Maybe Text) #

The shard ID of the shard's parent.

sShardId :: Lens' Shard Text #

The unique identifier of the shard within the stream.

sHashKeyRange :: Lens' Shard HashKeyRange #

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

sSequenceNumberRange :: Lens' Shard SequenceNumberRange #

The range of possible sequence numbers for the shard.

StreamDescription

data StreamDescription #

Represents the output for DescribeStream .

See: streamDescription smart constructor.

Instances
Eq StreamDescription # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Data StreamDescription # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StreamDescription -> c StreamDescription #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StreamDescription #

toConstr :: StreamDescription -> Constr #

dataTypeOf :: StreamDescription -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c StreamDescription) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StreamDescription) #

gmapT :: (forall b. Data b => b -> b) -> StreamDescription -> StreamDescription #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StreamDescription -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StreamDescription -> r #

gmapQ :: (forall d. Data d => d -> u) -> StreamDescription -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StreamDescription -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StreamDescription -> m StreamDescription #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StreamDescription -> m StreamDescription #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StreamDescription -> m StreamDescription #

Read StreamDescription # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Show StreamDescription # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Generic StreamDescription # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Associated Types

type Rep StreamDescription :: * -> * #

Hashable StreamDescription # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

FromJSON StreamDescription # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

NFData StreamDescription # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

rnf :: StreamDescription -> () #

type Rep StreamDescription # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

streamDescription #

Creates a value of StreamDescription with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • sdEncryptionType - The server-side encryption type used on the stream. This parameter can be one of the following values: * NONE : Do not encrypt the records in the stream. * KMS : Use server-side encryption on the records in the stream using a customer-managed AWS KMS key.
  • sdKeyId - The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by "alias".You can also use a master key owned by Kinesis Data Streams by specifying the alias @awskinesis . * Key ARN example: arn:aws:kms:us-east-1:123456789012:key12345678-1234-1234-1234-123456789012 * Alias ARN example: arn:aws:kms:us-east-1:123456789012:aliasMyAliasName * Globally unique key ID example: 12345678-1234-1234-1234-123456789012 * Alias name example: aliasMyAliasName * Master key owned by Kinesis Data Streams: aliasaws/kinesis@
  • sdStreamName - The name of the stream being described.
  • sdStreamARN - The Amazon Resource Name (ARN) for the stream being described.
  • sdStreamStatus - 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.
  • sdShards - The shards that comprise the stream.
  • sdHasMoreShards - If set to true , more shards in the stream are available to describe.
  • sdRetentionPeriodHours - The current retention period, in hours.
  • sdStreamCreationTimestamp - The approximate time that the stream was created.
  • sdEnhancedMonitoring - Represents the current enhanced monitoring settings of the stream.

sdEncryptionType :: Lens' StreamDescription (Maybe EncryptionType) #

The server-side encryption type used on the stream. This parameter can be one of the following values: * NONE : Do not encrypt the records in the stream. * KMS : Use server-side encryption on the records in the stream using a customer-managed AWS KMS key.

sdKeyId :: Lens' StreamDescription (Maybe Text) #

The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by "alias".You can also use a master key owned by Kinesis Data Streams by specifying the alias @awskinesis . * Key ARN example: arn:aws:kms:us-east-1:123456789012:key12345678-1234-1234-1234-123456789012 * Alias ARN example: arn:aws:kms:us-east-1:123456789012:aliasMyAliasName * Globally unique key ID example: 12345678-1234-1234-1234-123456789012 * Alias name example: aliasMyAliasName * Master key owned by Kinesis Data Streams: aliasaws/kinesis@

sdStreamName :: Lens' StreamDescription Text #

The name of the stream being described.

sdStreamARN :: Lens' StreamDescription Text #

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

sdStreamStatus :: Lens' 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.

sdShards :: Lens' StreamDescription [Shard] #

The shards that comprise the stream.

sdHasMoreShards :: Lens' StreamDescription Bool #

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

sdRetentionPeriodHours :: Lens' StreamDescription Natural #

The current retention period, in hours.

sdStreamCreationTimestamp :: Lens' StreamDescription UTCTime #

The approximate time that the stream was created.

sdEnhancedMonitoring :: Lens' StreamDescription [EnhancedMetrics] #

Represents the current enhanced monitoring settings of the stream.

StreamDescriptionSummary

data StreamDescriptionSummary #

Represents the output for DescribeStreamSummary

See: streamDescriptionSummary smart constructor.

Instances
Eq StreamDescriptionSummary # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Data StreamDescriptionSummary # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StreamDescriptionSummary -> c StreamDescriptionSummary #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StreamDescriptionSummary #

toConstr :: StreamDescriptionSummary -> Constr #

dataTypeOf :: StreamDescriptionSummary -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c StreamDescriptionSummary) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StreamDescriptionSummary) #

gmapT :: (forall b. Data b => b -> b) -> StreamDescriptionSummary -> StreamDescriptionSummary #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StreamDescriptionSummary -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StreamDescriptionSummary -> r #

gmapQ :: (forall d. Data d => d -> u) -> StreamDescriptionSummary -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StreamDescriptionSummary -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StreamDescriptionSummary -> m StreamDescriptionSummary #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StreamDescriptionSummary -> m StreamDescriptionSummary #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StreamDescriptionSummary -> m StreamDescriptionSummary #

Read StreamDescriptionSummary # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Show StreamDescriptionSummary # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Generic StreamDescriptionSummary # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Associated Types

type Rep StreamDescriptionSummary :: * -> * #

Hashable StreamDescriptionSummary # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

FromJSON StreamDescriptionSummary # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

NFData StreamDescriptionSummary # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

type Rep StreamDescriptionSummary # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

type Rep StreamDescriptionSummary = D1 (MetaData "StreamDescriptionSummary" "Network.AWS.Kinesis.Types.Product" "amazonka-kinesis-1.6.0-4YDemIxP4OfE57cYVD0y1c" False) (C1 (MetaCons "StreamDescriptionSummary'" PrefixI True) (((S1 (MetaSel (Just "_sdsEncryptionType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EncryptionType)) :*: S1 (MetaSel (Just "_sdsKeyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_sdsStreamName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sdsStreamARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: ((S1 (MetaSel (Just "_sdsStreamStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 StreamStatus) :*: S1 (MetaSel (Just "_sdsRetentionPeriodHours") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Nat)) :*: (S1 (MetaSel (Just "_sdsStreamCreationTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 POSIX) :*: (S1 (MetaSel (Just "_sdsEnhancedMonitoring") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [EnhancedMetrics]) :*: S1 (MetaSel (Just "_sdsOpenShardCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Nat))))))

streamDescriptionSummary #

Creates a value of StreamDescriptionSummary with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • sdsEncryptionType - The encryption type used. This value is one of the following: * KMS * NONE
  • sdsKeyId - The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by "alias".You can also use a master key owned by Kinesis Data Streams by specifying the alias @awskinesis . * Key ARN example: arn:aws:kms:us-east-1:123456789012:key12345678-1234-1234-1234-123456789012 * Alias ARN example: arn:aws:kms:us-east-1:123456789012:aliasMyAliasName * Globally unique key ID example: 12345678-1234-1234-1234-123456789012 * Alias name example: aliasMyAliasName * Master key owned by Kinesis Data Streams: aliasaws/kinesis@
  • sdsStreamName - The name of the stream being described.
  • sdsStreamARN - The Amazon Resource Name (ARN) for the stream being described.
  • sdsStreamStatus - 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.
  • sdsRetentionPeriodHours - The current retention period, in hours.
  • sdsStreamCreationTimestamp - The approximate time that the stream was created.
  • sdsEnhancedMonitoring - Represents the current enhanced monitoring settings of the stream.
  • sdsOpenShardCount - The number of open shards in the stream.

sdsEncryptionType :: Lens' StreamDescriptionSummary (Maybe EncryptionType) #

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

sdsKeyId :: Lens' StreamDescriptionSummary (Maybe Text) #

The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by "alias".You can also use a master key owned by Kinesis Data Streams by specifying the alias @awskinesis . * Key ARN example: arn:aws:kms:us-east-1:123456789012:key12345678-1234-1234-1234-123456789012 * Alias ARN example: arn:aws:kms:us-east-1:123456789012:aliasMyAliasName * Globally unique key ID example: 12345678-1234-1234-1234-123456789012 * Alias name example: aliasMyAliasName * Master key owned by Kinesis Data Streams: aliasaws/kinesis@

sdsStreamName :: Lens' StreamDescriptionSummary Text #

The name of the stream being described.

sdsStreamARN :: Lens' StreamDescriptionSummary Text #

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

sdsStreamStatus :: Lens' 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.

sdsRetentionPeriodHours :: Lens' StreamDescriptionSummary Natural #

The current retention period, in hours.

sdsStreamCreationTimestamp :: Lens' StreamDescriptionSummary UTCTime #

The approximate time that the stream was created.

sdsEnhancedMonitoring :: Lens' StreamDescriptionSummary [EnhancedMetrics] #

Represents the current enhanced monitoring settings of the stream.

sdsOpenShardCount :: Lens' StreamDescriptionSummary Natural #

The number of open shards in the stream.

Tag

data Tag #

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

See: tag smart constructor.

Instances
Eq Tag # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

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

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

Data Tag # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Tag -> c Tag #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Tag #

toConstr :: Tag -> Constr #

dataTypeOf :: Tag -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Tag) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Tag) #

gmapT :: (forall b. Data b => b -> b) -> Tag -> Tag #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Tag -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Tag -> r #

gmapQ :: (forall d. Data d => d -> u) -> Tag -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Tag -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Tag -> m Tag #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Tag -> m Tag #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Tag -> m Tag #

Read Tag # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Show Tag # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

Generic Tag # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Associated Types

type Rep Tag :: * -> * #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

Hashable Tag # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

FromJSON Tag # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

NFData Tag # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

rnf :: Tag -> () #

type Rep Tag # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

type Rep Tag = D1 (MetaData "Tag" "Network.AWS.Kinesis.Types.Product" "amazonka-kinesis-1.6.0-4YDemIxP4OfE57cYVD0y1c" False) (C1 (MetaCons "Tag'" PrefixI True) (S1 (MetaSel (Just "_tagValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tagKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))

tag #

Arguments

:: Text

tagKey

-> Tag 

Creates a value of Tag with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • tagValue - An optional string, typically used to describe or define the tag. Maximum length: 256 characters. Valid characters: Unicode letters, digits, white space, _ . / = + - % @
  • tagKey - A unique identifier for the tag. Maximum length: 128 characters. Valid characters: Unicode letters, digits, white space, _ . / = + - % @

tagValue :: Lens' Tag (Maybe Text) #

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

tagKey :: Lens' Tag Text #

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