amazonka-kinesis-1.6.1: 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 Source #

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

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

KMSThrottlingException

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

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

ExpiredIteratorException

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

The provided iterator exceeds the maximum age allowed.

InvalidArgumentException

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

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

KMSOptInRequired

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

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

ProvisionedThroughputExceededException

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

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

KMSNotFoundException

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

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

ExpiredNextTokenException

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

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

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

ResourceNotFoundException

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

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

KMSAccessDeniedException

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

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

LimitExceededException

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

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

ResourceInUseException

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

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

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

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

StreamNotExists

streamNotExists :: Wait DescribeStream Source #

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

Constructors

KMS 
None 
Instances
Bounded EncryptionType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Enum EncryptionType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Eq EncryptionType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Data EncryptionType Source # 
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 Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Read EncryptionType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Show EncryptionType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Generic EncryptionType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Associated Types

type Rep EncryptionType :: Type -> Type #

Hashable EncryptionType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToJSON EncryptionType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

FromJSON EncryptionType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToHeader EncryptionType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToQuery EncryptionType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToByteString EncryptionType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

FromText EncryptionType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToText EncryptionType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

NFData EncryptionType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Methods

rnf :: EncryptionType -> () #

type Rep EncryptionType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

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

MetricsName

data MetricsName Source #

Instances
Bounded MetricsName Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Enum MetricsName Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Eq MetricsName Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Data MetricsName Source # 
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 Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Read MetricsName Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Show MetricsName Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Generic MetricsName Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Associated Types

type Rep MetricsName :: Type -> Type #

Hashable MetricsName Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToJSON MetricsName Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

FromJSON MetricsName Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToHeader MetricsName Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToQuery MetricsName Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToByteString MetricsName Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

FromText MetricsName Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToText MetricsName Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Methods

toText :: MetricsName -> Text #

NFData MetricsName Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Methods

rnf :: MetricsName -> () #

type Rep MetricsName Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

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

ScalingType

data ScalingType Source #

Constructors

UniformScaling 
Instances
Bounded ScalingType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Enum ScalingType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Eq ScalingType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Data ScalingType Source # 
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 Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Read ScalingType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Show ScalingType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Generic ScalingType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Associated Types

type Rep ScalingType :: Type -> Type #

Hashable ScalingType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToJSON ScalingType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToHeader ScalingType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToQuery ScalingType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToByteString ScalingType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

FromText ScalingType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToText ScalingType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Methods

toText :: ScalingType -> Text #

NFData ScalingType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Methods

rnf :: ScalingType -> () #

type Rep ScalingType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

type Rep ScalingType = D1 (MetaData "ScalingType" "Network.AWS.Kinesis.Types.Sum" "amazonka-kinesis-1.6.1-DicNGWPqg566LpzNlyqosm" False) (C1 (MetaCons "UniformScaling" PrefixI False) (U1 :: Type -> Type))

ShardIteratorType

data ShardIteratorType Source #

Instances
Bounded ShardIteratorType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Enum ShardIteratorType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Eq ShardIteratorType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Data ShardIteratorType Source # 
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 Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Read ShardIteratorType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Show ShardIteratorType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Generic ShardIteratorType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Associated Types

type Rep ShardIteratorType :: Type -> Type #

Hashable ShardIteratorType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToJSON ShardIteratorType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToHeader ShardIteratorType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToQuery ShardIteratorType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToByteString ShardIteratorType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

FromText ShardIteratorType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToText ShardIteratorType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

NFData ShardIteratorType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Methods

rnf :: ShardIteratorType -> () #

type Rep ShardIteratorType Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

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

StreamStatus

data StreamStatus Source #

Constructors

Active 
Creating 
Deleting 
Updating 
Instances
Bounded StreamStatus Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Enum StreamStatus Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Eq StreamStatus Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Data StreamStatus Source # 
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 Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Read StreamStatus Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Show StreamStatus Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Generic StreamStatus Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Associated Types

type Rep StreamStatus :: Type -> Type #

Hashable StreamStatus Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

FromJSON StreamStatus Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToHeader StreamStatus Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToQuery StreamStatus Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToByteString StreamStatus Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

FromText StreamStatus Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

ToText StreamStatus Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Methods

toText :: StreamStatus -> Text #

NFData StreamStatus Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

Methods

rnf :: StreamStatus -> () #

type Rep StreamStatus Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Sum

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

EnhancedMetrics

data EnhancedMetrics Source #

Represents enhanced metrics types.

See: enhancedMetrics smart constructor.

Instances
Eq EnhancedMetrics Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Data EnhancedMetrics Source # 
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 Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Show EnhancedMetrics Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Generic EnhancedMetrics Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Associated Types

type Rep EnhancedMetrics :: Type -> Type #

Hashable EnhancedMetrics Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

FromJSON EnhancedMetrics Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

NFData EnhancedMetrics Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

rnf :: EnhancedMetrics -> () #

type Rep EnhancedMetrics Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

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

enhancedMetrics :: EnhancedMetrics Source #

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

Instances
Eq EnhancedMonitoringOutput Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Data EnhancedMonitoringOutput Source # 
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 Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Show EnhancedMonitoringOutput Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Generic EnhancedMonitoringOutput Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Associated Types

type Rep EnhancedMonitoringOutput :: Type -> Type #

Hashable EnhancedMonitoringOutput Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

FromJSON EnhancedMonitoringOutput Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

NFData EnhancedMonitoringOutput Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

type Rep EnhancedMonitoringOutput Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

type Rep EnhancedMonitoringOutput = D1 (MetaData "EnhancedMonitoringOutput" "Network.AWS.Kinesis.Types.Product" "amazonka-kinesis-1.6.1-DicNGWPqg566LpzNlyqosm" 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 Source #

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] Source #

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

emoCurrentShardLevelMetrics :: Lens' EnhancedMonitoringOutput [MetricsName] Source #

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

emoStreamName :: Lens' EnhancedMonitoringOutput (Maybe Text) Source #

The name of the Kinesis data stream.

HashKeyRange

data HashKeyRange Source #

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

Defined in Network.AWS.Kinesis.Types.Product

Data HashKeyRange Source # 
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 Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Show HashKeyRange Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Generic HashKeyRange Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Associated Types

type Rep HashKeyRange :: Type -> Type #

Hashable HashKeyRange Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

FromJSON HashKeyRange Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

NFData HashKeyRange Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

rnf :: HashKeyRange -> () #

type Rep HashKeyRange Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

type Rep HashKeyRange = D1 (MetaData "HashKeyRange" "Network.AWS.Kinesis.Types.Product" "amazonka-kinesis-1.6.1-DicNGWPqg566LpzNlyqosm" 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 Source #

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

The starting hash key of the hash key range.

hkrEndingHashKey :: Lens' HashKeyRange Text Source #

The ending hash key of the hash key range.

PutRecordsRequestEntry

data PutRecordsRequestEntry Source #

Represents the output for PutRecords .

See: putRecordsRequestEntry smart constructor.

Instances
Eq PutRecordsRequestEntry Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Data PutRecordsRequestEntry Source # 
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 Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Show PutRecordsRequestEntry Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Generic PutRecordsRequestEntry Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Associated Types

type Rep PutRecordsRequestEntry :: Type -> Type #

Hashable PutRecordsRequestEntry Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

ToJSON PutRecordsRequestEntry Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

NFData PutRecordsRequestEntry Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

rnf :: PutRecordsRequestEntry -> () #

type Rep PutRecordsRequestEntry Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

type Rep PutRecordsRequestEntry = D1 (MetaData "PutRecordsRequestEntry" "Network.AWS.Kinesis.Types.Product" "amazonka-kinesis-1.6.1-DicNGWPqg566LpzNlyqosm" 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 Source #

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) Source #

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

Instances
Eq PutRecordsResultEntry Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Data PutRecordsResultEntry Source # 
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 Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Show PutRecordsResultEntry Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Generic PutRecordsResultEntry Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Associated Types

type Rep PutRecordsResultEntry :: Type -> Type #

Hashable PutRecordsResultEntry Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

FromJSON PutRecordsResultEntry Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

NFData PutRecordsResultEntry Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

rnf :: PutRecordsResultEntry -> () #

type Rep PutRecordsResultEntry Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

type Rep PutRecordsResultEntry = D1 (MetaData "PutRecordsResultEntry" "Network.AWS.Kinesis.Types.Product" "amazonka-kinesis-1.6.1-DicNGWPqg566LpzNlyqosm" 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 Source #

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) Source #

The sequence number for an individual record result.

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

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

prreErrorMessage :: 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" .

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

Instances
Eq Record Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

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

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

Data Record Source # 
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 Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Show Record Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Generic Record Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Associated Types

type Rep Record :: Type -> Type #

Methods

from :: Record -> Rep Record x #

to :: Rep Record x -> Record #

Hashable Record Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

hashWithSalt :: Int -> Record -> Int #

hash :: Record -> Int #

FromJSON Record Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

NFData Record Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

rnf :: Record -> () #

type Rep Record Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

type Rep Record = D1 (MetaData "Record" "Network.AWS.Kinesis.Types.Product" "amazonka-kinesis-1.6.1-DicNGWPqg566LpzNlyqosm" 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 Source #

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) Source #

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

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

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

rSequenceNumber :: Lens' Record Text Source #

The unique identifier of the record within its shard.

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

Instances
Eq SequenceNumberRange Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Data SequenceNumberRange Source # 
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 Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Show SequenceNumberRange Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Generic SequenceNumberRange Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Associated Types

type Rep SequenceNumberRange :: Type -> Type #

Hashable SequenceNumberRange Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

FromJSON SequenceNumberRange Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

NFData SequenceNumberRange Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

rnf :: SequenceNumberRange -> () #

type Rep SequenceNumberRange Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

type Rep SequenceNumberRange = D1 (MetaData "SequenceNumberRange" "Network.AWS.Kinesis.Types.Product" "amazonka-kinesis-1.6.1-DicNGWPqg566LpzNlyqosm" 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 Source #

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) Source #

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

The starting sequence number for the range.

Shard

data Shard Source #

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

See: shard smart constructor.

Instances
Eq Shard Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

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

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

Data Shard Source # 
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 Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Show Shard Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

showsPrec :: Int -> Shard -> ShowS #

show :: Shard -> String #

showList :: [Shard] -> ShowS #

Generic Shard Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Associated Types

type Rep Shard :: Type -> Type #

Methods

from :: Shard -> Rep Shard x #

to :: Rep Shard x -> Shard #

Hashable Shard Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

hashWithSalt :: Int -> Shard -> Int #

hash :: Shard -> Int #

FromJSON Shard Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

NFData Shard Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

rnf :: Shard -> () #

type Rep Shard Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

type Rep Shard = D1 (MetaData "Shard" "Network.AWS.Kinesis.Types.Product" "amazonka-kinesis-1.6.1-DicNGWPqg566LpzNlyqosm" 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 Source #

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) Source #

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

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

The shard ID of the shard's parent.

sShardId :: Lens' Shard Text Source #

The unique identifier of the shard within the stream.

sHashKeyRange :: Lens' Shard HashKeyRange Source #

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

sSequenceNumberRange :: Lens' Shard SequenceNumberRange Source #

The range of possible sequence numbers for the shard.

StreamDescription

data StreamDescription Source #

Represents the output for DescribeStream .

See: streamDescription smart constructor.

Instances
Eq StreamDescription Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Data StreamDescription Source # 
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 Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Show StreamDescription Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Generic StreamDescription Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Associated Types

type Rep StreamDescription :: Type -> Type #

Hashable StreamDescription Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

FromJSON StreamDescription Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

NFData StreamDescription Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

rnf :: StreamDescription -> () #

type Rep StreamDescription Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

streamDescription Source #

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) Source #

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

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

The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by "alias".You can also use a master key owned by Kinesis Data Streams by specifying the alias @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 Source #

The name of the stream being described.

sdStreamARN :: Lens' StreamDescription Text Source #

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

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

sdShards :: Lens' StreamDescription [Shard] Source #

The shards that comprise the stream.

sdHasMoreShards :: Lens' StreamDescription Bool Source #

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

sdRetentionPeriodHours :: Lens' StreamDescription Natural Source #

The current retention period, in hours.

sdStreamCreationTimestamp :: Lens' StreamDescription UTCTime Source #

The approximate time that the stream was created.

sdEnhancedMonitoring :: Lens' StreamDescription [EnhancedMetrics] Source #

Represents the current enhanced monitoring settings of the stream.

StreamDescriptionSummary

data StreamDescriptionSummary Source #

Represents the output for DescribeStreamSummary

See: streamDescriptionSummary smart constructor.

Instances
Eq StreamDescriptionSummary Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Data StreamDescriptionSummary Source # 
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 Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Show StreamDescriptionSummary Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Generic StreamDescriptionSummary Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Associated Types

type Rep StreamDescriptionSummary :: Type -> Type #

Hashable StreamDescriptionSummary Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

FromJSON StreamDescriptionSummary Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

NFData StreamDescriptionSummary Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

type Rep StreamDescriptionSummary Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

type Rep StreamDescriptionSummary = D1 (MetaData "StreamDescriptionSummary" "Network.AWS.Kinesis.Types.Product" "amazonka-kinesis-1.6.1-DicNGWPqg566LpzNlyqosm" 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 Source #

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) Source #

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

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

The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by "alias".You can also use a master key owned by Kinesis Data Streams by specifying the alias @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 Source #

The name of the stream being described.

sdsStreamARN :: Lens' StreamDescriptionSummary Text Source #

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

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

sdsRetentionPeriodHours :: Lens' StreamDescriptionSummary Natural Source #

The current retention period, in hours.

sdsStreamCreationTimestamp :: Lens' StreamDescriptionSummary UTCTime Source #

The approximate time that the stream was created.

sdsEnhancedMonitoring :: Lens' StreamDescriptionSummary [EnhancedMetrics] Source #

Represents the current enhanced monitoring settings of the stream.

sdsOpenShardCount :: Lens' StreamDescriptionSummary Natural Source #

The number of open shards in the stream.

Tag

data Tag Source #

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

See: tag smart constructor.

Instances
Eq Tag Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

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

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

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

Defined in Network.AWS.Kinesis.Types.Product

Show Tag Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

Generic Tag Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

Hashable Tag Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

FromJSON Tag Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

NFData Tag Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

Methods

rnf :: Tag -> () #

type Rep Tag Source # 
Instance details

Defined in Network.AWS.Kinesis.Types.Product

type Rep Tag = D1 (MetaData "Tag" "Network.AWS.Kinesis.Types.Product" "amazonka-kinesis-1.6.1-DicNGWPqg566LpzNlyqosm" 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 Source #

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) Source #

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

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