amazonka-kinesis 1.6.1 → 2.0
raw patch · 129 files changed
+13594/−5836 lines, 129 filesdep +case-insensitivedep ~amazonka-coredep ~amazonka-testdep ~basesetup-changedPVP ok
version bump matches the API change (PVP)
Dependencies added: case-insensitive
Dependency ranges changed: amazonka-core, amazonka-test, base
API changes (from Hackage documentation)
- Network.AWS.Kinesis: Active :: StreamStatus
- Network.AWS.Kinesis: AfterSequenceNumber :: ShardIteratorType
- Network.AWS.Kinesis: All :: MetricsName
- Network.AWS.Kinesis: AtSequenceNumber :: ShardIteratorType
- Network.AWS.Kinesis: AtTimestamp :: ShardIteratorType
- Network.AWS.Kinesis: Creating :: StreamStatus
- Network.AWS.Kinesis: Deleting :: StreamStatus
- Network.AWS.Kinesis: IncomingBytes :: MetricsName
- Network.AWS.Kinesis: IncomingRecords :: MetricsName
- Network.AWS.Kinesis: IteratorAgeMilliseconds :: MetricsName
- Network.AWS.Kinesis: KMS :: EncryptionType
- Network.AWS.Kinesis: Latest :: ShardIteratorType
- Network.AWS.Kinesis: None :: EncryptionType
- Network.AWS.Kinesis: OutgoingBytes :: MetricsName
- Network.AWS.Kinesis: OutgoingRecords :: MetricsName
- Network.AWS.Kinesis: ReadProvisionedThroughputExceeded :: MetricsName
- Network.AWS.Kinesis: TrimHorizon :: ShardIteratorType
- Network.AWS.Kinesis: UniformScaling :: ScalingType
- Network.AWS.Kinesis: Updating :: StreamStatus
- Network.AWS.Kinesis: WriteProvisionedThroughputExceeded :: MetricsName
- Network.AWS.Kinesis: _ExpiredIteratorException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Kinesis: _ExpiredNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Kinesis: _InvalidArgumentException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Kinesis: _KMSAccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Kinesis: _KMSDisabledException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Kinesis: _KMSInvalidStateException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Kinesis: _KMSNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Kinesis: _KMSOptInRequired :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Kinesis: _KMSThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Kinesis: _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Kinesis: _ProvisionedThroughputExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Kinesis: _ResourceInUseException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Kinesis: _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Kinesis: data EncryptionType
- Network.AWS.Kinesis: data EnhancedMetrics
- Network.AWS.Kinesis: data EnhancedMonitoringOutput
- Network.AWS.Kinesis: data HashKeyRange
- Network.AWS.Kinesis: data MetricsName
- Network.AWS.Kinesis: data PutRecordsRequestEntry
- Network.AWS.Kinesis: data PutRecordsResultEntry
- Network.AWS.Kinesis: data Record
- Network.AWS.Kinesis: data ScalingType
- Network.AWS.Kinesis: data SequenceNumberRange
- Network.AWS.Kinesis: data Shard
- Network.AWS.Kinesis: data ShardIteratorType
- Network.AWS.Kinesis: data StreamDescription
- Network.AWS.Kinesis: data StreamDescriptionSummary
- Network.AWS.Kinesis: data StreamStatus
- Network.AWS.Kinesis: data Tag
- Network.AWS.Kinesis: emShardLevelMetrics :: Lens' EnhancedMetrics [MetricsName]
- Network.AWS.Kinesis: emoCurrentShardLevelMetrics :: Lens' EnhancedMonitoringOutput [MetricsName]
- Network.AWS.Kinesis: emoDesiredShardLevelMetrics :: Lens' EnhancedMonitoringOutput [MetricsName]
- Network.AWS.Kinesis: emoStreamName :: Lens' EnhancedMonitoringOutput (Maybe Text)
- Network.AWS.Kinesis: enhancedMetrics :: EnhancedMetrics
- Network.AWS.Kinesis: enhancedMonitoringOutput :: EnhancedMonitoringOutput
- Network.AWS.Kinesis: hashKeyRange :: Text -> Text -> HashKeyRange
- Network.AWS.Kinesis: hkrEndingHashKey :: Lens' HashKeyRange Text
- Network.AWS.Kinesis: hkrStartingHashKey :: Lens' HashKeyRange Text
- Network.AWS.Kinesis: kinesis :: Service
- Network.AWS.Kinesis: prreData :: Lens' PutRecordsRequestEntry ByteString
- Network.AWS.Kinesis: prreErrorCode :: Lens' PutRecordsResultEntry (Maybe Text)
- Network.AWS.Kinesis: prreErrorMessage :: Lens' PutRecordsResultEntry (Maybe Text)
- Network.AWS.Kinesis: prreExplicitHashKey :: Lens' PutRecordsRequestEntry (Maybe Text)
- Network.AWS.Kinesis: prrePartitionKey :: Lens' PutRecordsRequestEntry Text
- Network.AWS.Kinesis: prreSequenceNumber :: Lens' PutRecordsResultEntry (Maybe Text)
- Network.AWS.Kinesis: prreShardId :: Lens' PutRecordsResultEntry (Maybe Text)
- Network.AWS.Kinesis: putRecordsRequestEntry :: ByteString -> Text -> PutRecordsRequestEntry
- Network.AWS.Kinesis: putRecordsResultEntry :: PutRecordsResultEntry
- Network.AWS.Kinesis: rApproximateArrivalTimestamp :: Lens' Record (Maybe UTCTime)
- Network.AWS.Kinesis: rData :: Lens' Record ByteString
- Network.AWS.Kinesis: rEncryptionType :: Lens' Record (Maybe EncryptionType)
- Network.AWS.Kinesis: rPartitionKey :: Lens' Record Text
- Network.AWS.Kinesis: rSequenceNumber :: Lens' Record Text
- Network.AWS.Kinesis: record :: Text -> ByteString -> Text -> Record
- Network.AWS.Kinesis: sAdjacentParentShardId :: Lens' Shard (Maybe Text)
- Network.AWS.Kinesis: sHashKeyRange :: Lens' Shard HashKeyRange
- Network.AWS.Kinesis: sParentShardId :: Lens' Shard (Maybe Text)
- Network.AWS.Kinesis: sSequenceNumberRange :: Lens' Shard SequenceNumberRange
- Network.AWS.Kinesis: sShardId :: Lens' Shard Text
- Network.AWS.Kinesis: sdEncryptionType :: Lens' StreamDescription (Maybe EncryptionType)
- Network.AWS.Kinesis: sdEnhancedMonitoring :: Lens' StreamDescription [EnhancedMetrics]
- Network.AWS.Kinesis: sdHasMoreShards :: Lens' StreamDescription Bool
- Network.AWS.Kinesis: sdKeyId :: Lens' StreamDescription (Maybe Text)
- Network.AWS.Kinesis: sdRetentionPeriodHours :: Lens' StreamDescription Natural
- Network.AWS.Kinesis: sdShards :: Lens' StreamDescription [Shard]
- Network.AWS.Kinesis: sdStreamARN :: Lens' StreamDescription Text
- Network.AWS.Kinesis: sdStreamCreationTimestamp :: Lens' StreamDescription UTCTime
- Network.AWS.Kinesis: sdStreamName :: Lens' StreamDescription Text
- Network.AWS.Kinesis: sdStreamStatus :: Lens' StreamDescription StreamStatus
- Network.AWS.Kinesis: sdsEncryptionType :: Lens' StreamDescriptionSummary (Maybe EncryptionType)
- Network.AWS.Kinesis: sdsEnhancedMonitoring :: Lens' StreamDescriptionSummary [EnhancedMetrics]
- Network.AWS.Kinesis: sdsKeyId :: Lens' StreamDescriptionSummary (Maybe Text)
- Network.AWS.Kinesis: sdsOpenShardCount :: Lens' StreamDescriptionSummary Natural
- Network.AWS.Kinesis: sdsRetentionPeriodHours :: Lens' StreamDescriptionSummary Natural
- Network.AWS.Kinesis: sdsStreamARN :: Lens' StreamDescriptionSummary Text
- Network.AWS.Kinesis: sdsStreamCreationTimestamp :: Lens' StreamDescriptionSummary UTCTime
- Network.AWS.Kinesis: sdsStreamName :: Lens' StreamDescriptionSummary Text
- Network.AWS.Kinesis: sdsStreamStatus :: Lens' StreamDescriptionSummary StreamStatus
- Network.AWS.Kinesis: sequenceNumberRange :: Text -> SequenceNumberRange
- Network.AWS.Kinesis: shard :: Text -> HashKeyRange -> SequenceNumberRange -> Shard
- Network.AWS.Kinesis: snrEndingSequenceNumber :: Lens' SequenceNumberRange (Maybe Text)
- Network.AWS.Kinesis: snrStartingSequenceNumber :: Lens' SequenceNumberRange Text
- Network.AWS.Kinesis: streamDescription :: Text -> Text -> StreamStatus -> Bool -> Natural -> UTCTime -> StreamDescription
- Network.AWS.Kinesis: streamDescriptionSummary :: Text -> Text -> StreamStatus -> Natural -> UTCTime -> Natural -> StreamDescriptionSummary
- Network.AWS.Kinesis: streamExists :: Wait DescribeStream
- Network.AWS.Kinesis: streamNotExists :: Wait DescribeStream
- Network.AWS.Kinesis: tag :: Text -> Tag
- Network.AWS.Kinesis: tagKey :: Lens' Tag Text
- Network.AWS.Kinesis: tagValue :: Lens' Tag (Maybe Text)
- Network.AWS.Kinesis.AddTagsToStream: addTagsToStream :: Text -> AddTagsToStream
- Network.AWS.Kinesis.AddTagsToStream: addTagsToStreamResponse :: AddTagsToStreamResponse
- Network.AWS.Kinesis.AddTagsToStream: attsStreamName :: Lens' AddTagsToStream Text
- Network.AWS.Kinesis.AddTagsToStream: attsTags :: Lens' AddTagsToStream (HashMap Text Text)
- Network.AWS.Kinesis.AddTagsToStream: data AddTagsToStream
- Network.AWS.Kinesis.AddTagsToStream: data AddTagsToStreamResponse
- Network.AWS.Kinesis.AddTagsToStream: instance Control.DeepSeq.NFData Network.AWS.Kinesis.AddTagsToStream.AddTagsToStream
- Network.AWS.Kinesis.AddTagsToStream: instance Control.DeepSeq.NFData Network.AWS.Kinesis.AddTagsToStream.AddTagsToStreamResponse
- Network.AWS.Kinesis.AddTagsToStream: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Kinesis.AddTagsToStream.AddTagsToStream
- Network.AWS.Kinesis.AddTagsToStream: instance Data.Data.Data Network.AWS.Kinesis.AddTagsToStream.AddTagsToStream
- Network.AWS.Kinesis.AddTagsToStream: instance Data.Data.Data Network.AWS.Kinesis.AddTagsToStream.AddTagsToStreamResponse
- Network.AWS.Kinesis.AddTagsToStream: instance Data.Hashable.Class.Hashable Network.AWS.Kinesis.AddTagsToStream.AddTagsToStream
- Network.AWS.Kinesis.AddTagsToStream: instance GHC.Classes.Eq Network.AWS.Kinesis.AddTagsToStream.AddTagsToStream
- Network.AWS.Kinesis.AddTagsToStream: instance GHC.Classes.Eq Network.AWS.Kinesis.AddTagsToStream.AddTagsToStreamResponse
- Network.AWS.Kinesis.AddTagsToStream: instance GHC.Generics.Generic Network.AWS.Kinesis.AddTagsToStream.AddTagsToStream
- Network.AWS.Kinesis.AddTagsToStream: instance GHC.Generics.Generic Network.AWS.Kinesis.AddTagsToStream.AddTagsToStreamResponse
- Network.AWS.Kinesis.AddTagsToStream: instance GHC.Read.Read Network.AWS.Kinesis.AddTagsToStream.AddTagsToStream
- Network.AWS.Kinesis.AddTagsToStream: instance GHC.Read.Read Network.AWS.Kinesis.AddTagsToStream.AddTagsToStreamResponse
- Network.AWS.Kinesis.AddTagsToStream: instance GHC.Show.Show Network.AWS.Kinesis.AddTagsToStream.AddTagsToStream
- Network.AWS.Kinesis.AddTagsToStream: instance GHC.Show.Show Network.AWS.Kinesis.AddTagsToStream.AddTagsToStreamResponse
- Network.AWS.Kinesis.AddTagsToStream: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Kinesis.AddTagsToStream.AddTagsToStream
- Network.AWS.Kinesis.AddTagsToStream: instance Network.AWS.Data.Path.ToPath Network.AWS.Kinesis.AddTagsToStream.AddTagsToStream
- Network.AWS.Kinesis.AddTagsToStream: instance Network.AWS.Data.Query.ToQuery Network.AWS.Kinesis.AddTagsToStream.AddTagsToStream
- Network.AWS.Kinesis.AddTagsToStream: instance Network.AWS.Types.AWSRequest Network.AWS.Kinesis.AddTagsToStream.AddTagsToStream
- Network.AWS.Kinesis.CreateStream: createStream :: Text -> Natural -> CreateStream
- Network.AWS.Kinesis.CreateStream: createStreamResponse :: CreateStreamResponse
- Network.AWS.Kinesis.CreateStream: csShardCount :: Lens' CreateStream Natural
- Network.AWS.Kinesis.CreateStream: csStreamName :: Lens' CreateStream Text
- Network.AWS.Kinesis.CreateStream: data CreateStream
- Network.AWS.Kinesis.CreateStream: data CreateStreamResponse
- Network.AWS.Kinesis.CreateStream: instance Control.DeepSeq.NFData Network.AWS.Kinesis.CreateStream.CreateStream
- Network.AWS.Kinesis.CreateStream: instance Control.DeepSeq.NFData Network.AWS.Kinesis.CreateStream.CreateStreamResponse
- Network.AWS.Kinesis.CreateStream: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Kinesis.CreateStream.CreateStream
- Network.AWS.Kinesis.CreateStream: instance Data.Data.Data Network.AWS.Kinesis.CreateStream.CreateStream
- Network.AWS.Kinesis.CreateStream: instance Data.Data.Data Network.AWS.Kinesis.CreateStream.CreateStreamResponse
- Network.AWS.Kinesis.CreateStream: instance Data.Hashable.Class.Hashable Network.AWS.Kinesis.CreateStream.CreateStream
- Network.AWS.Kinesis.CreateStream: instance GHC.Classes.Eq Network.AWS.Kinesis.CreateStream.CreateStream
- Network.AWS.Kinesis.CreateStream: instance GHC.Classes.Eq Network.AWS.Kinesis.CreateStream.CreateStreamResponse
- Network.AWS.Kinesis.CreateStream: instance GHC.Generics.Generic Network.AWS.Kinesis.CreateStream.CreateStream
- Network.AWS.Kinesis.CreateStream: instance GHC.Generics.Generic Network.AWS.Kinesis.CreateStream.CreateStreamResponse
- Network.AWS.Kinesis.CreateStream: instance GHC.Read.Read Network.AWS.Kinesis.CreateStream.CreateStream
- Network.AWS.Kinesis.CreateStream: instance GHC.Read.Read Network.AWS.Kinesis.CreateStream.CreateStreamResponse
- Network.AWS.Kinesis.CreateStream: instance GHC.Show.Show Network.AWS.Kinesis.CreateStream.CreateStream
- Network.AWS.Kinesis.CreateStream: instance GHC.Show.Show Network.AWS.Kinesis.CreateStream.CreateStreamResponse
- Network.AWS.Kinesis.CreateStream: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Kinesis.CreateStream.CreateStream
- Network.AWS.Kinesis.CreateStream: instance Network.AWS.Data.Path.ToPath Network.AWS.Kinesis.CreateStream.CreateStream
- Network.AWS.Kinesis.CreateStream: instance Network.AWS.Data.Query.ToQuery Network.AWS.Kinesis.CreateStream.CreateStream
- Network.AWS.Kinesis.CreateStream: instance Network.AWS.Types.AWSRequest Network.AWS.Kinesis.CreateStream.CreateStream
- Network.AWS.Kinesis.DecreaseStreamRetentionPeriod: data DecreaseStreamRetentionPeriod
- Network.AWS.Kinesis.DecreaseStreamRetentionPeriod: data DecreaseStreamRetentionPeriodResponse
- Network.AWS.Kinesis.DecreaseStreamRetentionPeriod: decreaseStreamRetentionPeriod :: Text -> Natural -> DecreaseStreamRetentionPeriod
- Network.AWS.Kinesis.DecreaseStreamRetentionPeriod: decreaseStreamRetentionPeriodResponse :: DecreaseStreamRetentionPeriodResponse
- Network.AWS.Kinesis.DecreaseStreamRetentionPeriod: dsrpRetentionPeriodHours :: Lens' DecreaseStreamRetentionPeriod Natural
- Network.AWS.Kinesis.DecreaseStreamRetentionPeriod: dsrpStreamName :: Lens' DecreaseStreamRetentionPeriod Text
- Network.AWS.Kinesis.DecreaseStreamRetentionPeriod: instance Control.DeepSeq.NFData Network.AWS.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriod
- Network.AWS.Kinesis.DecreaseStreamRetentionPeriod: instance Control.DeepSeq.NFData Network.AWS.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriodResponse
- Network.AWS.Kinesis.DecreaseStreamRetentionPeriod: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriod
- Network.AWS.Kinesis.DecreaseStreamRetentionPeriod: instance Data.Data.Data Network.AWS.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriod
- Network.AWS.Kinesis.DecreaseStreamRetentionPeriod: instance Data.Data.Data Network.AWS.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriodResponse
- Network.AWS.Kinesis.DecreaseStreamRetentionPeriod: instance Data.Hashable.Class.Hashable Network.AWS.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriod
- Network.AWS.Kinesis.DecreaseStreamRetentionPeriod: instance GHC.Classes.Eq Network.AWS.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriod
- Network.AWS.Kinesis.DecreaseStreamRetentionPeriod: instance GHC.Classes.Eq Network.AWS.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriodResponse
- Network.AWS.Kinesis.DecreaseStreamRetentionPeriod: instance GHC.Generics.Generic Network.AWS.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriod
- Network.AWS.Kinesis.DecreaseStreamRetentionPeriod: instance GHC.Generics.Generic Network.AWS.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriodResponse
- Network.AWS.Kinesis.DecreaseStreamRetentionPeriod: instance GHC.Read.Read Network.AWS.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriod
- Network.AWS.Kinesis.DecreaseStreamRetentionPeriod: instance GHC.Read.Read Network.AWS.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriodResponse
- Network.AWS.Kinesis.DecreaseStreamRetentionPeriod: instance GHC.Show.Show Network.AWS.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriod
- Network.AWS.Kinesis.DecreaseStreamRetentionPeriod: instance GHC.Show.Show Network.AWS.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriodResponse
- Network.AWS.Kinesis.DecreaseStreamRetentionPeriod: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriod
- Network.AWS.Kinesis.DecreaseStreamRetentionPeriod: instance Network.AWS.Data.Path.ToPath Network.AWS.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriod
- Network.AWS.Kinesis.DecreaseStreamRetentionPeriod: instance Network.AWS.Data.Query.ToQuery Network.AWS.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriod
- Network.AWS.Kinesis.DecreaseStreamRetentionPeriod: instance Network.AWS.Types.AWSRequest Network.AWS.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriod
- Network.AWS.Kinesis.DeleteStream: data DeleteStream
- Network.AWS.Kinesis.DeleteStream: data DeleteStreamResponse
- Network.AWS.Kinesis.DeleteStream: deleteStream :: Text -> DeleteStream
- Network.AWS.Kinesis.DeleteStream: deleteStreamResponse :: DeleteStreamResponse
- Network.AWS.Kinesis.DeleteStream: dsStreamName :: Lens' DeleteStream Text
- Network.AWS.Kinesis.DeleteStream: instance Control.DeepSeq.NFData Network.AWS.Kinesis.DeleteStream.DeleteStream
- Network.AWS.Kinesis.DeleteStream: instance Control.DeepSeq.NFData Network.AWS.Kinesis.DeleteStream.DeleteStreamResponse
- Network.AWS.Kinesis.DeleteStream: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Kinesis.DeleteStream.DeleteStream
- Network.AWS.Kinesis.DeleteStream: instance Data.Data.Data Network.AWS.Kinesis.DeleteStream.DeleteStream
- Network.AWS.Kinesis.DeleteStream: instance Data.Data.Data Network.AWS.Kinesis.DeleteStream.DeleteStreamResponse
- Network.AWS.Kinesis.DeleteStream: instance Data.Hashable.Class.Hashable Network.AWS.Kinesis.DeleteStream.DeleteStream
- Network.AWS.Kinesis.DeleteStream: instance GHC.Classes.Eq Network.AWS.Kinesis.DeleteStream.DeleteStream
- Network.AWS.Kinesis.DeleteStream: instance GHC.Classes.Eq Network.AWS.Kinesis.DeleteStream.DeleteStreamResponse
- Network.AWS.Kinesis.DeleteStream: instance GHC.Generics.Generic Network.AWS.Kinesis.DeleteStream.DeleteStream
- Network.AWS.Kinesis.DeleteStream: instance GHC.Generics.Generic Network.AWS.Kinesis.DeleteStream.DeleteStreamResponse
- Network.AWS.Kinesis.DeleteStream: instance GHC.Read.Read Network.AWS.Kinesis.DeleteStream.DeleteStream
- Network.AWS.Kinesis.DeleteStream: instance GHC.Read.Read Network.AWS.Kinesis.DeleteStream.DeleteStreamResponse
- Network.AWS.Kinesis.DeleteStream: instance GHC.Show.Show Network.AWS.Kinesis.DeleteStream.DeleteStream
- Network.AWS.Kinesis.DeleteStream: instance GHC.Show.Show Network.AWS.Kinesis.DeleteStream.DeleteStreamResponse
- Network.AWS.Kinesis.DeleteStream: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Kinesis.DeleteStream.DeleteStream
- Network.AWS.Kinesis.DeleteStream: instance Network.AWS.Data.Path.ToPath Network.AWS.Kinesis.DeleteStream.DeleteStream
- Network.AWS.Kinesis.DeleteStream: instance Network.AWS.Data.Query.ToQuery Network.AWS.Kinesis.DeleteStream.DeleteStream
- Network.AWS.Kinesis.DeleteStream: instance Network.AWS.Types.AWSRequest Network.AWS.Kinesis.DeleteStream.DeleteStream
- Network.AWS.Kinesis.DescribeLimits: data DescribeLimits
- Network.AWS.Kinesis.DescribeLimits: data DescribeLimitsResponse
- Network.AWS.Kinesis.DescribeLimits: describeLimits :: DescribeLimits
- Network.AWS.Kinesis.DescribeLimits: describeLimitsResponse :: Int -> Natural -> Natural -> DescribeLimitsResponse
- Network.AWS.Kinesis.DescribeLimits: dlrsOpenShardCount :: Lens' DescribeLimitsResponse Natural
- Network.AWS.Kinesis.DescribeLimits: dlrsResponseStatus :: Lens' DescribeLimitsResponse Int
- Network.AWS.Kinesis.DescribeLimits: dlrsShardLimit :: Lens' DescribeLimitsResponse Natural
- Network.AWS.Kinesis.DescribeLimits: instance Control.DeepSeq.NFData Network.AWS.Kinesis.DescribeLimits.DescribeLimits
- Network.AWS.Kinesis.DescribeLimits: instance Control.DeepSeq.NFData Network.AWS.Kinesis.DescribeLimits.DescribeLimitsResponse
- Network.AWS.Kinesis.DescribeLimits: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Kinesis.DescribeLimits.DescribeLimits
- Network.AWS.Kinesis.DescribeLimits: instance Data.Data.Data Network.AWS.Kinesis.DescribeLimits.DescribeLimits
- Network.AWS.Kinesis.DescribeLimits: instance Data.Data.Data Network.AWS.Kinesis.DescribeLimits.DescribeLimitsResponse
- Network.AWS.Kinesis.DescribeLimits: instance Data.Hashable.Class.Hashable Network.AWS.Kinesis.DescribeLimits.DescribeLimits
- Network.AWS.Kinesis.DescribeLimits: instance GHC.Classes.Eq Network.AWS.Kinesis.DescribeLimits.DescribeLimits
- Network.AWS.Kinesis.DescribeLimits: instance GHC.Classes.Eq Network.AWS.Kinesis.DescribeLimits.DescribeLimitsResponse
- Network.AWS.Kinesis.DescribeLimits: instance GHC.Generics.Generic Network.AWS.Kinesis.DescribeLimits.DescribeLimits
- Network.AWS.Kinesis.DescribeLimits: instance GHC.Generics.Generic Network.AWS.Kinesis.DescribeLimits.DescribeLimitsResponse
- Network.AWS.Kinesis.DescribeLimits: instance GHC.Read.Read Network.AWS.Kinesis.DescribeLimits.DescribeLimits
- Network.AWS.Kinesis.DescribeLimits: instance GHC.Read.Read Network.AWS.Kinesis.DescribeLimits.DescribeLimitsResponse
- Network.AWS.Kinesis.DescribeLimits: instance GHC.Show.Show Network.AWS.Kinesis.DescribeLimits.DescribeLimits
- Network.AWS.Kinesis.DescribeLimits: instance GHC.Show.Show Network.AWS.Kinesis.DescribeLimits.DescribeLimitsResponse
- Network.AWS.Kinesis.DescribeLimits: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Kinesis.DescribeLimits.DescribeLimits
- Network.AWS.Kinesis.DescribeLimits: instance Network.AWS.Data.Path.ToPath Network.AWS.Kinesis.DescribeLimits.DescribeLimits
- Network.AWS.Kinesis.DescribeLimits: instance Network.AWS.Data.Query.ToQuery Network.AWS.Kinesis.DescribeLimits.DescribeLimits
- Network.AWS.Kinesis.DescribeLimits: instance Network.AWS.Types.AWSRequest Network.AWS.Kinesis.DescribeLimits.DescribeLimits
- Network.AWS.Kinesis.DescribeStream: dExclusiveStartShardId :: Lens' DescribeStream (Maybe Text)
- Network.AWS.Kinesis.DescribeStream: dLimit :: Lens' DescribeStream (Maybe Natural)
- Network.AWS.Kinesis.DescribeStream: dStreamName :: Lens' DescribeStream Text
- Network.AWS.Kinesis.DescribeStream: data DescribeStream
- Network.AWS.Kinesis.DescribeStream: data DescribeStreamResponse
- Network.AWS.Kinesis.DescribeStream: describeStream :: Text -> DescribeStream
- Network.AWS.Kinesis.DescribeStream: describeStreamResponse :: Int -> StreamDescription -> DescribeStreamResponse
- Network.AWS.Kinesis.DescribeStream: dsrsResponseStatus :: Lens' DescribeStreamResponse Int
- Network.AWS.Kinesis.DescribeStream: dsrsStreamDescription :: Lens' DescribeStreamResponse StreamDescription
- Network.AWS.Kinesis.DescribeStream: instance Control.DeepSeq.NFData Network.AWS.Kinesis.DescribeStream.DescribeStream
- Network.AWS.Kinesis.DescribeStream: instance Control.DeepSeq.NFData Network.AWS.Kinesis.DescribeStream.DescribeStreamResponse
- Network.AWS.Kinesis.DescribeStream: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Kinesis.DescribeStream.DescribeStream
- Network.AWS.Kinesis.DescribeStream: instance Data.Data.Data Network.AWS.Kinesis.DescribeStream.DescribeStream
- Network.AWS.Kinesis.DescribeStream: instance Data.Data.Data Network.AWS.Kinesis.DescribeStream.DescribeStreamResponse
- Network.AWS.Kinesis.DescribeStream: instance Data.Hashable.Class.Hashable Network.AWS.Kinesis.DescribeStream.DescribeStream
- Network.AWS.Kinesis.DescribeStream: instance GHC.Classes.Eq Network.AWS.Kinesis.DescribeStream.DescribeStream
- Network.AWS.Kinesis.DescribeStream: instance GHC.Classes.Eq Network.AWS.Kinesis.DescribeStream.DescribeStreamResponse
- Network.AWS.Kinesis.DescribeStream: instance GHC.Generics.Generic Network.AWS.Kinesis.DescribeStream.DescribeStream
- Network.AWS.Kinesis.DescribeStream: instance GHC.Generics.Generic Network.AWS.Kinesis.DescribeStream.DescribeStreamResponse
- Network.AWS.Kinesis.DescribeStream: instance GHC.Read.Read Network.AWS.Kinesis.DescribeStream.DescribeStream
- Network.AWS.Kinesis.DescribeStream: instance GHC.Read.Read Network.AWS.Kinesis.DescribeStream.DescribeStreamResponse
- Network.AWS.Kinesis.DescribeStream: instance GHC.Show.Show Network.AWS.Kinesis.DescribeStream.DescribeStream
- Network.AWS.Kinesis.DescribeStream: instance GHC.Show.Show Network.AWS.Kinesis.DescribeStream.DescribeStreamResponse
- Network.AWS.Kinesis.DescribeStream: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Kinesis.DescribeStream.DescribeStream
- Network.AWS.Kinesis.DescribeStream: instance Network.AWS.Data.Path.ToPath Network.AWS.Kinesis.DescribeStream.DescribeStream
- Network.AWS.Kinesis.DescribeStream: instance Network.AWS.Data.Query.ToQuery Network.AWS.Kinesis.DescribeStream.DescribeStream
- Network.AWS.Kinesis.DescribeStream: instance Network.AWS.Pager.AWSPager Network.AWS.Kinesis.DescribeStream.DescribeStream
- Network.AWS.Kinesis.DescribeStream: instance Network.AWS.Types.AWSRequest Network.AWS.Kinesis.DescribeStream.DescribeStream
- Network.AWS.Kinesis.DescribeStreamSummary: data DescribeStreamSummary
- Network.AWS.Kinesis.DescribeStreamSummary: data DescribeStreamSummaryResponse
- Network.AWS.Kinesis.DescribeStreamSummary: describeStreamSummary :: Text -> DescribeStreamSummary
- Network.AWS.Kinesis.DescribeStreamSummary: describeStreamSummaryResponse :: Int -> StreamDescriptionSummary -> DescribeStreamSummaryResponse
- Network.AWS.Kinesis.DescribeStreamSummary: dssStreamName :: Lens' DescribeStreamSummary Text
- Network.AWS.Kinesis.DescribeStreamSummary: dssrsResponseStatus :: Lens' DescribeStreamSummaryResponse Int
- Network.AWS.Kinesis.DescribeStreamSummary: dssrsStreamDescriptionSummary :: Lens' DescribeStreamSummaryResponse StreamDescriptionSummary
- Network.AWS.Kinesis.DescribeStreamSummary: instance Control.DeepSeq.NFData Network.AWS.Kinesis.DescribeStreamSummary.DescribeStreamSummary
- Network.AWS.Kinesis.DescribeStreamSummary: instance Control.DeepSeq.NFData Network.AWS.Kinesis.DescribeStreamSummary.DescribeStreamSummaryResponse
- Network.AWS.Kinesis.DescribeStreamSummary: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Kinesis.DescribeStreamSummary.DescribeStreamSummary
- Network.AWS.Kinesis.DescribeStreamSummary: instance Data.Data.Data Network.AWS.Kinesis.DescribeStreamSummary.DescribeStreamSummary
- Network.AWS.Kinesis.DescribeStreamSummary: instance Data.Data.Data Network.AWS.Kinesis.DescribeStreamSummary.DescribeStreamSummaryResponse
- Network.AWS.Kinesis.DescribeStreamSummary: instance Data.Hashable.Class.Hashable Network.AWS.Kinesis.DescribeStreamSummary.DescribeStreamSummary
- Network.AWS.Kinesis.DescribeStreamSummary: instance GHC.Classes.Eq Network.AWS.Kinesis.DescribeStreamSummary.DescribeStreamSummary
- Network.AWS.Kinesis.DescribeStreamSummary: instance GHC.Classes.Eq Network.AWS.Kinesis.DescribeStreamSummary.DescribeStreamSummaryResponse
- Network.AWS.Kinesis.DescribeStreamSummary: instance GHC.Generics.Generic Network.AWS.Kinesis.DescribeStreamSummary.DescribeStreamSummary
- Network.AWS.Kinesis.DescribeStreamSummary: instance GHC.Generics.Generic Network.AWS.Kinesis.DescribeStreamSummary.DescribeStreamSummaryResponse
- Network.AWS.Kinesis.DescribeStreamSummary: instance GHC.Read.Read Network.AWS.Kinesis.DescribeStreamSummary.DescribeStreamSummary
- Network.AWS.Kinesis.DescribeStreamSummary: instance GHC.Read.Read Network.AWS.Kinesis.DescribeStreamSummary.DescribeStreamSummaryResponse
- Network.AWS.Kinesis.DescribeStreamSummary: instance GHC.Show.Show Network.AWS.Kinesis.DescribeStreamSummary.DescribeStreamSummary
- Network.AWS.Kinesis.DescribeStreamSummary: instance GHC.Show.Show Network.AWS.Kinesis.DescribeStreamSummary.DescribeStreamSummaryResponse
- Network.AWS.Kinesis.DescribeStreamSummary: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Kinesis.DescribeStreamSummary.DescribeStreamSummary
- Network.AWS.Kinesis.DescribeStreamSummary: instance Network.AWS.Data.Path.ToPath Network.AWS.Kinesis.DescribeStreamSummary.DescribeStreamSummary
- Network.AWS.Kinesis.DescribeStreamSummary: instance Network.AWS.Data.Query.ToQuery Network.AWS.Kinesis.DescribeStreamSummary.DescribeStreamSummary
- Network.AWS.Kinesis.DescribeStreamSummary: instance Network.AWS.Types.AWSRequest Network.AWS.Kinesis.DescribeStreamSummary.DescribeStreamSummary
- Network.AWS.Kinesis.DisableEnhancedMonitoring: data DisableEnhancedMonitoring
- Network.AWS.Kinesis.DisableEnhancedMonitoring: data EnhancedMonitoringOutput
- Network.AWS.Kinesis.DisableEnhancedMonitoring: demShardLevelMetrics :: Lens' DisableEnhancedMonitoring [MetricsName]
- Network.AWS.Kinesis.DisableEnhancedMonitoring: demStreamName :: Lens' DisableEnhancedMonitoring Text
- Network.AWS.Kinesis.DisableEnhancedMonitoring: disableEnhancedMonitoring :: Text -> DisableEnhancedMonitoring
- Network.AWS.Kinesis.DisableEnhancedMonitoring: emoCurrentShardLevelMetrics :: Lens' EnhancedMonitoringOutput [MetricsName]
- Network.AWS.Kinesis.DisableEnhancedMonitoring: emoDesiredShardLevelMetrics :: Lens' EnhancedMonitoringOutput [MetricsName]
- Network.AWS.Kinesis.DisableEnhancedMonitoring: emoStreamName :: Lens' EnhancedMonitoringOutput (Maybe Text)
- Network.AWS.Kinesis.DisableEnhancedMonitoring: enhancedMonitoringOutput :: EnhancedMonitoringOutput
- Network.AWS.Kinesis.DisableEnhancedMonitoring: instance Control.DeepSeq.NFData Network.AWS.Kinesis.DisableEnhancedMonitoring.DisableEnhancedMonitoring
- Network.AWS.Kinesis.DisableEnhancedMonitoring: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Kinesis.DisableEnhancedMonitoring.DisableEnhancedMonitoring
- Network.AWS.Kinesis.DisableEnhancedMonitoring: instance Data.Data.Data Network.AWS.Kinesis.DisableEnhancedMonitoring.DisableEnhancedMonitoring
- Network.AWS.Kinesis.DisableEnhancedMonitoring: instance Data.Hashable.Class.Hashable Network.AWS.Kinesis.DisableEnhancedMonitoring.DisableEnhancedMonitoring
- Network.AWS.Kinesis.DisableEnhancedMonitoring: instance GHC.Classes.Eq Network.AWS.Kinesis.DisableEnhancedMonitoring.DisableEnhancedMonitoring
- Network.AWS.Kinesis.DisableEnhancedMonitoring: instance GHC.Generics.Generic Network.AWS.Kinesis.DisableEnhancedMonitoring.DisableEnhancedMonitoring
- Network.AWS.Kinesis.DisableEnhancedMonitoring: instance GHC.Read.Read Network.AWS.Kinesis.DisableEnhancedMonitoring.DisableEnhancedMonitoring
- Network.AWS.Kinesis.DisableEnhancedMonitoring: instance GHC.Show.Show Network.AWS.Kinesis.DisableEnhancedMonitoring.DisableEnhancedMonitoring
- Network.AWS.Kinesis.DisableEnhancedMonitoring: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Kinesis.DisableEnhancedMonitoring.DisableEnhancedMonitoring
- Network.AWS.Kinesis.DisableEnhancedMonitoring: instance Network.AWS.Data.Path.ToPath Network.AWS.Kinesis.DisableEnhancedMonitoring.DisableEnhancedMonitoring
- Network.AWS.Kinesis.DisableEnhancedMonitoring: instance Network.AWS.Data.Query.ToQuery Network.AWS.Kinesis.DisableEnhancedMonitoring.DisableEnhancedMonitoring
- Network.AWS.Kinesis.DisableEnhancedMonitoring: instance Network.AWS.Types.AWSRequest Network.AWS.Kinesis.DisableEnhancedMonitoring.DisableEnhancedMonitoring
- Network.AWS.Kinesis.EnableEnhancedMonitoring: data EnableEnhancedMonitoring
- Network.AWS.Kinesis.EnableEnhancedMonitoring: data EnhancedMonitoringOutput
- Network.AWS.Kinesis.EnableEnhancedMonitoring: eemShardLevelMetrics :: Lens' EnableEnhancedMonitoring [MetricsName]
- Network.AWS.Kinesis.EnableEnhancedMonitoring: eemStreamName :: Lens' EnableEnhancedMonitoring Text
- Network.AWS.Kinesis.EnableEnhancedMonitoring: emoCurrentShardLevelMetrics :: Lens' EnhancedMonitoringOutput [MetricsName]
- Network.AWS.Kinesis.EnableEnhancedMonitoring: emoDesiredShardLevelMetrics :: Lens' EnhancedMonitoringOutput [MetricsName]
- Network.AWS.Kinesis.EnableEnhancedMonitoring: emoStreamName :: Lens' EnhancedMonitoringOutput (Maybe Text)
- Network.AWS.Kinesis.EnableEnhancedMonitoring: enableEnhancedMonitoring :: Text -> EnableEnhancedMonitoring
- Network.AWS.Kinesis.EnableEnhancedMonitoring: enhancedMonitoringOutput :: EnhancedMonitoringOutput
- Network.AWS.Kinesis.EnableEnhancedMonitoring: instance Control.DeepSeq.NFData Network.AWS.Kinesis.EnableEnhancedMonitoring.EnableEnhancedMonitoring
- Network.AWS.Kinesis.EnableEnhancedMonitoring: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Kinesis.EnableEnhancedMonitoring.EnableEnhancedMonitoring
- Network.AWS.Kinesis.EnableEnhancedMonitoring: instance Data.Data.Data Network.AWS.Kinesis.EnableEnhancedMonitoring.EnableEnhancedMonitoring
- Network.AWS.Kinesis.EnableEnhancedMonitoring: instance Data.Hashable.Class.Hashable Network.AWS.Kinesis.EnableEnhancedMonitoring.EnableEnhancedMonitoring
- Network.AWS.Kinesis.EnableEnhancedMonitoring: instance GHC.Classes.Eq Network.AWS.Kinesis.EnableEnhancedMonitoring.EnableEnhancedMonitoring
- Network.AWS.Kinesis.EnableEnhancedMonitoring: instance GHC.Generics.Generic Network.AWS.Kinesis.EnableEnhancedMonitoring.EnableEnhancedMonitoring
- Network.AWS.Kinesis.EnableEnhancedMonitoring: instance GHC.Read.Read Network.AWS.Kinesis.EnableEnhancedMonitoring.EnableEnhancedMonitoring
- Network.AWS.Kinesis.EnableEnhancedMonitoring: instance GHC.Show.Show Network.AWS.Kinesis.EnableEnhancedMonitoring.EnableEnhancedMonitoring
- Network.AWS.Kinesis.EnableEnhancedMonitoring: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Kinesis.EnableEnhancedMonitoring.EnableEnhancedMonitoring
- Network.AWS.Kinesis.EnableEnhancedMonitoring: instance Network.AWS.Data.Path.ToPath Network.AWS.Kinesis.EnableEnhancedMonitoring.EnableEnhancedMonitoring
- Network.AWS.Kinesis.EnableEnhancedMonitoring: instance Network.AWS.Data.Query.ToQuery Network.AWS.Kinesis.EnableEnhancedMonitoring.EnableEnhancedMonitoring
- Network.AWS.Kinesis.EnableEnhancedMonitoring: instance Network.AWS.Types.AWSRequest Network.AWS.Kinesis.EnableEnhancedMonitoring.EnableEnhancedMonitoring
- Network.AWS.Kinesis.GetRecords: data GetRecords
- Network.AWS.Kinesis.GetRecords: data GetRecordsResponse
- Network.AWS.Kinesis.GetRecords: getRecords :: Text -> GetRecords
- Network.AWS.Kinesis.GetRecords: getRecordsResponse :: Int -> GetRecordsResponse
- Network.AWS.Kinesis.GetRecords: grLimit :: Lens' GetRecords (Maybe Natural)
- Network.AWS.Kinesis.GetRecords: grShardIterator :: Lens' GetRecords Text
- Network.AWS.Kinesis.GetRecords: grrsMillisBehindLatest :: Lens' GetRecordsResponse (Maybe Natural)
- Network.AWS.Kinesis.GetRecords: grrsNextShardIterator :: Lens' GetRecordsResponse (Maybe Text)
- Network.AWS.Kinesis.GetRecords: grrsRecords :: Lens' GetRecordsResponse [Record]
- Network.AWS.Kinesis.GetRecords: grrsResponseStatus :: Lens' GetRecordsResponse Int
- Network.AWS.Kinesis.GetRecords: instance Control.DeepSeq.NFData Network.AWS.Kinesis.GetRecords.GetRecords
- Network.AWS.Kinesis.GetRecords: instance Control.DeepSeq.NFData Network.AWS.Kinesis.GetRecords.GetRecordsResponse
- Network.AWS.Kinesis.GetRecords: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Kinesis.GetRecords.GetRecords
- Network.AWS.Kinesis.GetRecords: instance Data.Data.Data Network.AWS.Kinesis.GetRecords.GetRecords
- Network.AWS.Kinesis.GetRecords: instance Data.Data.Data Network.AWS.Kinesis.GetRecords.GetRecordsResponse
- Network.AWS.Kinesis.GetRecords: instance Data.Hashable.Class.Hashable Network.AWS.Kinesis.GetRecords.GetRecords
- Network.AWS.Kinesis.GetRecords: instance GHC.Classes.Eq Network.AWS.Kinesis.GetRecords.GetRecords
- Network.AWS.Kinesis.GetRecords: instance GHC.Classes.Eq Network.AWS.Kinesis.GetRecords.GetRecordsResponse
- Network.AWS.Kinesis.GetRecords: instance GHC.Generics.Generic Network.AWS.Kinesis.GetRecords.GetRecords
- Network.AWS.Kinesis.GetRecords: instance GHC.Generics.Generic Network.AWS.Kinesis.GetRecords.GetRecordsResponse
- Network.AWS.Kinesis.GetRecords: instance GHC.Read.Read Network.AWS.Kinesis.GetRecords.GetRecords
- Network.AWS.Kinesis.GetRecords: instance GHC.Read.Read Network.AWS.Kinesis.GetRecords.GetRecordsResponse
- Network.AWS.Kinesis.GetRecords: instance GHC.Show.Show Network.AWS.Kinesis.GetRecords.GetRecords
- Network.AWS.Kinesis.GetRecords: instance GHC.Show.Show Network.AWS.Kinesis.GetRecords.GetRecordsResponse
- Network.AWS.Kinesis.GetRecords: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Kinesis.GetRecords.GetRecords
- Network.AWS.Kinesis.GetRecords: instance Network.AWS.Data.Path.ToPath Network.AWS.Kinesis.GetRecords.GetRecords
- Network.AWS.Kinesis.GetRecords: instance Network.AWS.Data.Query.ToQuery Network.AWS.Kinesis.GetRecords.GetRecords
- Network.AWS.Kinesis.GetRecords: instance Network.AWS.Types.AWSRequest Network.AWS.Kinesis.GetRecords.GetRecords
- Network.AWS.Kinesis.GetShardIterator: data GetShardIterator
- Network.AWS.Kinesis.GetShardIterator: data GetShardIteratorResponse
- Network.AWS.Kinesis.GetShardIterator: getShardIterator :: Text -> Text -> ShardIteratorType -> GetShardIterator
- Network.AWS.Kinesis.GetShardIterator: getShardIteratorResponse :: Int -> GetShardIteratorResponse
- Network.AWS.Kinesis.GetShardIterator: gsiShardId :: Lens' GetShardIterator Text
- Network.AWS.Kinesis.GetShardIterator: gsiShardIteratorType :: Lens' GetShardIterator ShardIteratorType
- Network.AWS.Kinesis.GetShardIterator: gsiStartingSequenceNumber :: Lens' GetShardIterator (Maybe Text)
- Network.AWS.Kinesis.GetShardIterator: gsiStreamName :: Lens' GetShardIterator Text
- Network.AWS.Kinesis.GetShardIterator: gsiTimestamp :: Lens' GetShardIterator (Maybe UTCTime)
- Network.AWS.Kinesis.GetShardIterator: gsirsResponseStatus :: Lens' GetShardIteratorResponse Int
- Network.AWS.Kinesis.GetShardIterator: gsirsShardIterator :: Lens' GetShardIteratorResponse (Maybe Text)
- Network.AWS.Kinesis.GetShardIterator: instance Control.DeepSeq.NFData Network.AWS.Kinesis.GetShardIterator.GetShardIterator
- Network.AWS.Kinesis.GetShardIterator: instance Control.DeepSeq.NFData Network.AWS.Kinesis.GetShardIterator.GetShardIteratorResponse
- Network.AWS.Kinesis.GetShardIterator: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Kinesis.GetShardIterator.GetShardIterator
- Network.AWS.Kinesis.GetShardIterator: instance Data.Data.Data Network.AWS.Kinesis.GetShardIterator.GetShardIterator
- Network.AWS.Kinesis.GetShardIterator: instance Data.Data.Data Network.AWS.Kinesis.GetShardIterator.GetShardIteratorResponse
- Network.AWS.Kinesis.GetShardIterator: instance Data.Hashable.Class.Hashable Network.AWS.Kinesis.GetShardIterator.GetShardIterator
- Network.AWS.Kinesis.GetShardIterator: instance GHC.Classes.Eq Network.AWS.Kinesis.GetShardIterator.GetShardIterator
- Network.AWS.Kinesis.GetShardIterator: instance GHC.Classes.Eq Network.AWS.Kinesis.GetShardIterator.GetShardIteratorResponse
- Network.AWS.Kinesis.GetShardIterator: instance GHC.Generics.Generic Network.AWS.Kinesis.GetShardIterator.GetShardIterator
- Network.AWS.Kinesis.GetShardIterator: instance GHC.Generics.Generic Network.AWS.Kinesis.GetShardIterator.GetShardIteratorResponse
- Network.AWS.Kinesis.GetShardIterator: instance GHC.Read.Read Network.AWS.Kinesis.GetShardIterator.GetShardIterator
- Network.AWS.Kinesis.GetShardIterator: instance GHC.Read.Read Network.AWS.Kinesis.GetShardIterator.GetShardIteratorResponse
- Network.AWS.Kinesis.GetShardIterator: instance GHC.Show.Show Network.AWS.Kinesis.GetShardIterator.GetShardIterator
- Network.AWS.Kinesis.GetShardIterator: instance GHC.Show.Show Network.AWS.Kinesis.GetShardIterator.GetShardIteratorResponse
- Network.AWS.Kinesis.GetShardIterator: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Kinesis.GetShardIterator.GetShardIterator
- Network.AWS.Kinesis.GetShardIterator: instance Network.AWS.Data.Path.ToPath Network.AWS.Kinesis.GetShardIterator.GetShardIterator
- Network.AWS.Kinesis.GetShardIterator: instance Network.AWS.Data.Query.ToQuery Network.AWS.Kinesis.GetShardIterator.GetShardIterator
- Network.AWS.Kinesis.GetShardIterator: instance Network.AWS.Types.AWSRequest Network.AWS.Kinesis.GetShardIterator.GetShardIterator
- Network.AWS.Kinesis.IncreaseStreamRetentionPeriod: data IncreaseStreamRetentionPeriod
- Network.AWS.Kinesis.IncreaseStreamRetentionPeriod: data IncreaseStreamRetentionPeriodResponse
- Network.AWS.Kinesis.IncreaseStreamRetentionPeriod: increaseStreamRetentionPeriod :: Text -> Natural -> IncreaseStreamRetentionPeriod
- Network.AWS.Kinesis.IncreaseStreamRetentionPeriod: increaseStreamRetentionPeriodResponse :: IncreaseStreamRetentionPeriodResponse
- Network.AWS.Kinesis.IncreaseStreamRetentionPeriod: instance Control.DeepSeq.NFData Network.AWS.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriod
- Network.AWS.Kinesis.IncreaseStreamRetentionPeriod: instance Control.DeepSeq.NFData Network.AWS.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriodResponse
- Network.AWS.Kinesis.IncreaseStreamRetentionPeriod: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriod
- Network.AWS.Kinesis.IncreaseStreamRetentionPeriod: instance Data.Data.Data Network.AWS.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriod
- Network.AWS.Kinesis.IncreaseStreamRetentionPeriod: instance Data.Data.Data Network.AWS.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriodResponse
- Network.AWS.Kinesis.IncreaseStreamRetentionPeriod: instance Data.Hashable.Class.Hashable Network.AWS.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriod
- Network.AWS.Kinesis.IncreaseStreamRetentionPeriod: instance GHC.Classes.Eq Network.AWS.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriod
- Network.AWS.Kinesis.IncreaseStreamRetentionPeriod: instance GHC.Classes.Eq Network.AWS.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriodResponse
- Network.AWS.Kinesis.IncreaseStreamRetentionPeriod: instance GHC.Generics.Generic Network.AWS.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriod
- Network.AWS.Kinesis.IncreaseStreamRetentionPeriod: instance GHC.Generics.Generic Network.AWS.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriodResponse
- Network.AWS.Kinesis.IncreaseStreamRetentionPeriod: instance GHC.Read.Read Network.AWS.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriod
- Network.AWS.Kinesis.IncreaseStreamRetentionPeriod: instance GHC.Read.Read Network.AWS.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriodResponse
- Network.AWS.Kinesis.IncreaseStreamRetentionPeriod: instance GHC.Show.Show Network.AWS.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriod
- Network.AWS.Kinesis.IncreaseStreamRetentionPeriod: instance GHC.Show.Show Network.AWS.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriodResponse
- Network.AWS.Kinesis.IncreaseStreamRetentionPeriod: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriod
- Network.AWS.Kinesis.IncreaseStreamRetentionPeriod: instance Network.AWS.Data.Path.ToPath Network.AWS.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriod
- Network.AWS.Kinesis.IncreaseStreamRetentionPeriod: instance Network.AWS.Data.Query.ToQuery Network.AWS.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriod
- Network.AWS.Kinesis.IncreaseStreamRetentionPeriod: instance Network.AWS.Types.AWSRequest Network.AWS.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriod
- Network.AWS.Kinesis.IncreaseStreamRetentionPeriod: isrpRetentionPeriodHours :: Lens' IncreaseStreamRetentionPeriod Natural
- Network.AWS.Kinesis.IncreaseStreamRetentionPeriod: isrpStreamName :: Lens' IncreaseStreamRetentionPeriod Text
- Network.AWS.Kinesis.ListShards: data ListShards
- Network.AWS.Kinesis.ListShards: data ListShardsResponse
- Network.AWS.Kinesis.ListShards: instance Control.DeepSeq.NFData Network.AWS.Kinesis.ListShards.ListShards
- Network.AWS.Kinesis.ListShards: instance Control.DeepSeq.NFData Network.AWS.Kinesis.ListShards.ListShardsResponse
- Network.AWS.Kinesis.ListShards: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Kinesis.ListShards.ListShards
- Network.AWS.Kinesis.ListShards: instance Data.Data.Data Network.AWS.Kinesis.ListShards.ListShards
- Network.AWS.Kinesis.ListShards: instance Data.Data.Data Network.AWS.Kinesis.ListShards.ListShardsResponse
- Network.AWS.Kinesis.ListShards: instance Data.Hashable.Class.Hashable Network.AWS.Kinesis.ListShards.ListShards
- Network.AWS.Kinesis.ListShards: instance GHC.Classes.Eq Network.AWS.Kinesis.ListShards.ListShards
- Network.AWS.Kinesis.ListShards: instance GHC.Classes.Eq Network.AWS.Kinesis.ListShards.ListShardsResponse
- Network.AWS.Kinesis.ListShards: instance GHC.Generics.Generic Network.AWS.Kinesis.ListShards.ListShards
- Network.AWS.Kinesis.ListShards: instance GHC.Generics.Generic Network.AWS.Kinesis.ListShards.ListShardsResponse
- Network.AWS.Kinesis.ListShards: instance GHC.Read.Read Network.AWS.Kinesis.ListShards.ListShards
- Network.AWS.Kinesis.ListShards: instance GHC.Read.Read Network.AWS.Kinesis.ListShards.ListShardsResponse
- Network.AWS.Kinesis.ListShards: instance GHC.Show.Show Network.AWS.Kinesis.ListShards.ListShards
- Network.AWS.Kinesis.ListShards: instance GHC.Show.Show Network.AWS.Kinesis.ListShards.ListShardsResponse
- Network.AWS.Kinesis.ListShards: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Kinesis.ListShards.ListShards
- Network.AWS.Kinesis.ListShards: instance Network.AWS.Data.Path.ToPath Network.AWS.Kinesis.ListShards.ListShards
- Network.AWS.Kinesis.ListShards: instance Network.AWS.Data.Query.ToQuery Network.AWS.Kinesis.ListShards.ListShards
- Network.AWS.Kinesis.ListShards: instance Network.AWS.Types.AWSRequest Network.AWS.Kinesis.ListShards.ListShards
- Network.AWS.Kinesis.ListShards: listShards :: ListShards
- Network.AWS.Kinesis.ListShards: listShardsResponse :: Int -> ListShardsResponse
- Network.AWS.Kinesis.ListShards: lrsNextToken :: Lens' ListShardsResponse (Maybe Text)
- Network.AWS.Kinesis.ListShards: lrsResponseStatus :: Lens' ListShardsResponse Int
- Network.AWS.Kinesis.ListShards: lrsShards :: Lens' ListShardsResponse [Shard]
- Network.AWS.Kinesis.ListShards: lsExclusiveStartShardId :: Lens' ListShards (Maybe Text)
- Network.AWS.Kinesis.ListShards: lsMaxResults :: Lens' ListShards (Maybe Natural)
- Network.AWS.Kinesis.ListShards: lsNextToken :: Lens' ListShards (Maybe Text)
- Network.AWS.Kinesis.ListShards: lsStreamCreationTimestamp :: Lens' ListShards (Maybe UTCTime)
- Network.AWS.Kinesis.ListShards: lsStreamName :: Lens' ListShards (Maybe Text)
- Network.AWS.Kinesis.ListStreams: data ListStreams
- Network.AWS.Kinesis.ListStreams: data ListStreamsResponse
- Network.AWS.Kinesis.ListStreams: instance Control.DeepSeq.NFData Network.AWS.Kinesis.ListStreams.ListStreams
- Network.AWS.Kinesis.ListStreams: instance Control.DeepSeq.NFData Network.AWS.Kinesis.ListStreams.ListStreamsResponse
- Network.AWS.Kinesis.ListStreams: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Kinesis.ListStreams.ListStreams
- Network.AWS.Kinesis.ListStreams: instance Data.Data.Data Network.AWS.Kinesis.ListStreams.ListStreams
- Network.AWS.Kinesis.ListStreams: instance Data.Data.Data Network.AWS.Kinesis.ListStreams.ListStreamsResponse
- Network.AWS.Kinesis.ListStreams: instance Data.Hashable.Class.Hashable Network.AWS.Kinesis.ListStreams.ListStreams
- Network.AWS.Kinesis.ListStreams: instance GHC.Classes.Eq Network.AWS.Kinesis.ListStreams.ListStreams
- Network.AWS.Kinesis.ListStreams: instance GHC.Classes.Eq Network.AWS.Kinesis.ListStreams.ListStreamsResponse
- Network.AWS.Kinesis.ListStreams: instance GHC.Generics.Generic Network.AWS.Kinesis.ListStreams.ListStreams
- Network.AWS.Kinesis.ListStreams: instance GHC.Generics.Generic Network.AWS.Kinesis.ListStreams.ListStreamsResponse
- Network.AWS.Kinesis.ListStreams: instance GHC.Read.Read Network.AWS.Kinesis.ListStreams.ListStreams
- Network.AWS.Kinesis.ListStreams: instance GHC.Read.Read Network.AWS.Kinesis.ListStreams.ListStreamsResponse
- Network.AWS.Kinesis.ListStreams: instance GHC.Show.Show Network.AWS.Kinesis.ListStreams.ListStreams
- Network.AWS.Kinesis.ListStreams: instance GHC.Show.Show Network.AWS.Kinesis.ListStreams.ListStreamsResponse
- Network.AWS.Kinesis.ListStreams: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Kinesis.ListStreams.ListStreams
- Network.AWS.Kinesis.ListStreams: instance Network.AWS.Data.Path.ToPath Network.AWS.Kinesis.ListStreams.ListStreams
- Network.AWS.Kinesis.ListStreams: instance Network.AWS.Data.Query.ToQuery Network.AWS.Kinesis.ListStreams.ListStreams
- Network.AWS.Kinesis.ListStreams: instance Network.AWS.Pager.AWSPager Network.AWS.Kinesis.ListStreams.ListStreams
- Network.AWS.Kinesis.ListStreams: instance Network.AWS.Types.AWSRequest Network.AWS.Kinesis.ListStreams.ListStreams
- Network.AWS.Kinesis.ListStreams: listStreams :: ListStreams
- Network.AWS.Kinesis.ListStreams: listStreamsResponse :: Int -> Bool -> ListStreamsResponse
- Network.AWS.Kinesis.ListStreams: lsExclusiveStartStreamName :: Lens' ListStreams (Maybe Text)
- Network.AWS.Kinesis.ListStreams: lsLimit :: Lens' ListStreams (Maybe Natural)
- Network.AWS.Kinesis.ListStreams: lsrsHasMoreStreams :: Lens' ListStreamsResponse Bool
- Network.AWS.Kinesis.ListStreams: lsrsResponseStatus :: Lens' ListStreamsResponse Int
- Network.AWS.Kinesis.ListStreams: lsrsStreamNames :: Lens' ListStreamsResponse [Text]
- Network.AWS.Kinesis.ListTagsForStream: data ListTagsForStream
- Network.AWS.Kinesis.ListTagsForStream: data ListTagsForStreamResponse
- Network.AWS.Kinesis.ListTagsForStream: instance Control.DeepSeq.NFData Network.AWS.Kinesis.ListTagsForStream.ListTagsForStream
- Network.AWS.Kinesis.ListTagsForStream: instance Control.DeepSeq.NFData Network.AWS.Kinesis.ListTagsForStream.ListTagsForStreamResponse
- Network.AWS.Kinesis.ListTagsForStream: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Kinesis.ListTagsForStream.ListTagsForStream
- Network.AWS.Kinesis.ListTagsForStream: instance Data.Data.Data Network.AWS.Kinesis.ListTagsForStream.ListTagsForStream
- Network.AWS.Kinesis.ListTagsForStream: instance Data.Data.Data Network.AWS.Kinesis.ListTagsForStream.ListTagsForStreamResponse
- Network.AWS.Kinesis.ListTagsForStream: instance Data.Hashable.Class.Hashable Network.AWS.Kinesis.ListTagsForStream.ListTagsForStream
- Network.AWS.Kinesis.ListTagsForStream: instance GHC.Classes.Eq Network.AWS.Kinesis.ListTagsForStream.ListTagsForStream
- Network.AWS.Kinesis.ListTagsForStream: instance GHC.Classes.Eq Network.AWS.Kinesis.ListTagsForStream.ListTagsForStreamResponse
- Network.AWS.Kinesis.ListTagsForStream: instance GHC.Generics.Generic Network.AWS.Kinesis.ListTagsForStream.ListTagsForStream
- Network.AWS.Kinesis.ListTagsForStream: instance GHC.Generics.Generic Network.AWS.Kinesis.ListTagsForStream.ListTagsForStreamResponse
- Network.AWS.Kinesis.ListTagsForStream: instance GHC.Read.Read Network.AWS.Kinesis.ListTagsForStream.ListTagsForStream
- Network.AWS.Kinesis.ListTagsForStream: instance GHC.Read.Read Network.AWS.Kinesis.ListTagsForStream.ListTagsForStreamResponse
- Network.AWS.Kinesis.ListTagsForStream: instance GHC.Show.Show Network.AWS.Kinesis.ListTagsForStream.ListTagsForStream
- Network.AWS.Kinesis.ListTagsForStream: instance GHC.Show.Show Network.AWS.Kinesis.ListTagsForStream.ListTagsForStreamResponse
- Network.AWS.Kinesis.ListTagsForStream: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Kinesis.ListTagsForStream.ListTagsForStream
- Network.AWS.Kinesis.ListTagsForStream: instance Network.AWS.Data.Path.ToPath Network.AWS.Kinesis.ListTagsForStream.ListTagsForStream
- Network.AWS.Kinesis.ListTagsForStream: instance Network.AWS.Data.Query.ToQuery Network.AWS.Kinesis.ListTagsForStream.ListTagsForStream
- Network.AWS.Kinesis.ListTagsForStream: instance Network.AWS.Types.AWSRequest Network.AWS.Kinesis.ListTagsForStream.ListTagsForStream
- Network.AWS.Kinesis.ListTagsForStream: listTagsForStream :: Text -> ListTagsForStream
- Network.AWS.Kinesis.ListTagsForStream: listTagsForStreamResponse :: Int -> Bool -> ListTagsForStreamResponse
- Network.AWS.Kinesis.ListTagsForStream: ltfsExclusiveStartTagKey :: Lens' ListTagsForStream (Maybe Text)
- Network.AWS.Kinesis.ListTagsForStream: ltfsLimit :: Lens' ListTagsForStream (Maybe Natural)
- Network.AWS.Kinesis.ListTagsForStream: ltfsStreamName :: Lens' ListTagsForStream Text
- Network.AWS.Kinesis.ListTagsForStream: ltfsrsHasMoreTags :: Lens' ListTagsForStreamResponse Bool
- Network.AWS.Kinesis.ListTagsForStream: ltfsrsResponseStatus :: Lens' ListTagsForStreamResponse Int
- Network.AWS.Kinesis.ListTagsForStream: ltfsrsTags :: Lens' ListTagsForStreamResponse [Tag]
- Network.AWS.Kinesis.MergeShards: data MergeShards
- Network.AWS.Kinesis.MergeShards: data MergeShardsResponse
- Network.AWS.Kinesis.MergeShards: instance Control.DeepSeq.NFData Network.AWS.Kinesis.MergeShards.MergeShards
- Network.AWS.Kinesis.MergeShards: instance Control.DeepSeq.NFData Network.AWS.Kinesis.MergeShards.MergeShardsResponse
- Network.AWS.Kinesis.MergeShards: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Kinesis.MergeShards.MergeShards
- Network.AWS.Kinesis.MergeShards: instance Data.Data.Data Network.AWS.Kinesis.MergeShards.MergeShards
- Network.AWS.Kinesis.MergeShards: instance Data.Data.Data Network.AWS.Kinesis.MergeShards.MergeShardsResponse
- Network.AWS.Kinesis.MergeShards: instance Data.Hashable.Class.Hashable Network.AWS.Kinesis.MergeShards.MergeShards
- Network.AWS.Kinesis.MergeShards: instance GHC.Classes.Eq Network.AWS.Kinesis.MergeShards.MergeShards
- Network.AWS.Kinesis.MergeShards: instance GHC.Classes.Eq Network.AWS.Kinesis.MergeShards.MergeShardsResponse
- Network.AWS.Kinesis.MergeShards: instance GHC.Generics.Generic Network.AWS.Kinesis.MergeShards.MergeShards
- Network.AWS.Kinesis.MergeShards: instance GHC.Generics.Generic Network.AWS.Kinesis.MergeShards.MergeShardsResponse
- Network.AWS.Kinesis.MergeShards: instance GHC.Read.Read Network.AWS.Kinesis.MergeShards.MergeShards
- Network.AWS.Kinesis.MergeShards: instance GHC.Read.Read Network.AWS.Kinesis.MergeShards.MergeShardsResponse
- Network.AWS.Kinesis.MergeShards: instance GHC.Show.Show Network.AWS.Kinesis.MergeShards.MergeShards
- Network.AWS.Kinesis.MergeShards: instance GHC.Show.Show Network.AWS.Kinesis.MergeShards.MergeShardsResponse
- Network.AWS.Kinesis.MergeShards: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Kinesis.MergeShards.MergeShards
- Network.AWS.Kinesis.MergeShards: instance Network.AWS.Data.Path.ToPath Network.AWS.Kinesis.MergeShards.MergeShards
- Network.AWS.Kinesis.MergeShards: instance Network.AWS.Data.Query.ToQuery Network.AWS.Kinesis.MergeShards.MergeShards
- Network.AWS.Kinesis.MergeShards: instance Network.AWS.Types.AWSRequest Network.AWS.Kinesis.MergeShards.MergeShards
- Network.AWS.Kinesis.MergeShards: mergeShards :: Text -> Text -> Text -> MergeShards
- Network.AWS.Kinesis.MergeShards: mergeShardsResponse :: MergeShardsResponse
- Network.AWS.Kinesis.MergeShards: msAdjacentShardToMerge :: Lens' MergeShards Text
- Network.AWS.Kinesis.MergeShards: msShardToMerge :: Lens' MergeShards Text
- Network.AWS.Kinesis.MergeShards: msStreamName :: Lens' MergeShards Text
- Network.AWS.Kinesis.PutRecord: data PutRecord
- Network.AWS.Kinesis.PutRecord: data PutRecordResponse
- Network.AWS.Kinesis.PutRecord: instance Control.DeepSeq.NFData Network.AWS.Kinesis.PutRecord.PutRecord
- Network.AWS.Kinesis.PutRecord: instance Control.DeepSeq.NFData Network.AWS.Kinesis.PutRecord.PutRecordResponse
- Network.AWS.Kinesis.PutRecord: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Kinesis.PutRecord.PutRecord
- Network.AWS.Kinesis.PutRecord: instance Data.Data.Data Network.AWS.Kinesis.PutRecord.PutRecord
- Network.AWS.Kinesis.PutRecord: instance Data.Data.Data Network.AWS.Kinesis.PutRecord.PutRecordResponse
- Network.AWS.Kinesis.PutRecord: instance Data.Hashable.Class.Hashable Network.AWS.Kinesis.PutRecord.PutRecord
- Network.AWS.Kinesis.PutRecord: instance GHC.Classes.Eq Network.AWS.Kinesis.PutRecord.PutRecord
- Network.AWS.Kinesis.PutRecord: instance GHC.Classes.Eq Network.AWS.Kinesis.PutRecord.PutRecordResponse
- Network.AWS.Kinesis.PutRecord: instance GHC.Generics.Generic Network.AWS.Kinesis.PutRecord.PutRecord
- Network.AWS.Kinesis.PutRecord: instance GHC.Generics.Generic Network.AWS.Kinesis.PutRecord.PutRecordResponse
- Network.AWS.Kinesis.PutRecord: instance GHC.Read.Read Network.AWS.Kinesis.PutRecord.PutRecord
- Network.AWS.Kinesis.PutRecord: instance GHC.Read.Read Network.AWS.Kinesis.PutRecord.PutRecordResponse
- Network.AWS.Kinesis.PutRecord: instance GHC.Show.Show Network.AWS.Kinesis.PutRecord.PutRecord
- Network.AWS.Kinesis.PutRecord: instance GHC.Show.Show Network.AWS.Kinesis.PutRecord.PutRecordResponse
- Network.AWS.Kinesis.PutRecord: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Kinesis.PutRecord.PutRecord
- Network.AWS.Kinesis.PutRecord: instance Network.AWS.Data.Path.ToPath Network.AWS.Kinesis.PutRecord.PutRecord
- Network.AWS.Kinesis.PutRecord: instance Network.AWS.Data.Query.ToQuery Network.AWS.Kinesis.PutRecord.PutRecord
- Network.AWS.Kinesis.PutRecord: instance Network.AWS.Types.AWSRequest Network.AWS.Kinesis.PutRecord.PutRecord
- Network.AWS.Kinesis.PutRecord: prData :: Lens' PutRecord ByteString
- Network.AWS.Kinesis.PutRecord: prExplicitHashKey :: Lens' PutRecord (Maybe Text)
- Network.AWS.Kinesis.PutRecord: prPartitionKey :: Lens' PutRecord Text
- Network.AWS.Kinesis.PutRecord: prSequenceNumberForOrdering :: Lens' PutRecord (Maybe Text)
- Network.AWS.Kinesis.PutRecord: prStreamName :: Lens' PutRecord Text
- Network.AWS.Kinesis.PutRecord: prrsEncryptionType :: Lens' PutRecordResponse (Maybe EncryptionType)
- Network.AWS.Kinesis.PutRecord: prrsResponseStatus :: Lens' PutRecordResponse Int
- Network.AWS.Kinesis.PutRecord: prrsSequenceNumber :: Lens' PutRecordResponse Text
- Network.AWS.Kinesis.PutRecord: prrsShardId :: Lens' PutRecordResponse Text
- Network.AWS.Kinesis.PutRecord: putRecord :: Text -> ByteString -> Text -> PutRecord
- Network.AWS.Kinesis.PutRecord: putRecordResponse :: Int -> Text -> Text -> PutRecordResponse
- Network.AWS.Kinesis.PutRecords: data PutRecords
- Network.AWS.Kinesis.PutRecords: data PutRecordsResponse
- Network.AWS.Kinesis.PutRecords: instance Control.DeepSeq.NFData Network.AWS.Kinesis.PutRecords.PutRecords
- Network.AWS.Kinesis.PutRecords: instance Control.DeepSeq.NFData Network.AWS.Kinesis.PutRecords.PutRecordsResponse
- Network.AWS.Kinesis.PutRecords: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Kinesis.PutRecords.PutRecords
- Network.AWS.Kinesis.PutRecords: instance Data.Data.Data Network.AWS.Kinesis.PutRecords.PutRecords
- Network.AWS.Kinesis.PutRecords: instance Data.Data.Data Network.AWS.Kinesis.PutRecords.PutRecordsResponse
- Network.AWS.Kinesis.PutRecords: instance Data.Hashable.Class.Hashable Network.AWS.Kinesis.PutRecords.PutRecords
- Network.AWS.Kinesis.PutRecords: instance GHC.Classes.Eq Network.AWS.Kinesis.PutRecords.PutRecords
- Network.AWS.Kinesis.PutRecords: instance GHC.Classes.Eq Network.AWS.Kinesis.PutRecords.PutRecordsResponse
- Network.AWS.Kinesis.PutRecords: instance GHC.Generics.Generic Network.AWS.Kinesis.PutRecords.PutRecords
- Network.AWS.Kinesis.PutRecords: instance GHC.Generics.Generic Network.AWS.Kinesis.PutRecords.PutRecordsResponse
- Network.AWS.Kinesis.PutRecords: instance GHC.Read.Read Network.AWS.Kinesis.PutRecords.PutRecords
- Network.AWS.Kinesis.PutRecords: instance GHC.Read.Read Network.AWS.Kinesis.PutRecords.PutRecordsResponse
- Network.AWS.Kinesis.PutRecords: instance GHC.Show.Show Network.AWS.Kinesis.PutRecords.PutRecords
- Network.AWS.Kinesis.PutRecords: instance GHC.Show.Show Network.AWS.Kinesis.PutRecords.PutRecordsResponse
- Network.AWS.Kinesis.PutRecords: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Kinesis.PutRecords.PutRecords
- Network.AWS.Kinesis.PutRecords: instance Network.AWS.Data.Path.ToPath Network.AWS.Kinesis.PutRecords.PutRecords
- Network.AWS.Kinesis.PutRecords: instance Network.AWS.Data.Query.ToQuery Network.AWS.Kinesis.PutRecords.PutRecords
- Network.AWS.Kinesis.PutRecords: instance Network.AWS.Types.AWSRequest Network.AWS.Kinesis.PutRecords.PutRecords
- Network.AWS.Kinesis.PutRecords: pRecordEntries :: Lens' PutRecords (NonEmpty PutRecordsRequestEntry)
- Network.AWS.Kinesis.PutRecords: pStreamName :: Lens' PutRecords Text
- Network.AWS.Kinesis.PutRecords: prsEncryptionType :: Lens' PutRecordsResponse (Maybe EncryptionType)
- Network.AWS.Kinesis.PutRecords: prsFailedRecordCount :: Lens' PutRecordsResponse (Maybe Natural)
- Network.AWS.Kinesis.PutRecords: prsRecords :: Lens' PutRecordsResponse (NonEmpty PutRecordsResultEntry)
- Network.AWS.Kinesis.PutRecords: prsResponseStatus :: Lens' PutRecordsResponse Int
- Network.AWS.Kinesis.PutRecords: putRecords :: NonEmpty PutRecordsRequestEntry -> Text -> PutRecords
- Network.AWS.Kinesis.PutRecords: putRecordsResponse :: Int -> NonEmpty PutRecordsResultEntry -> PutRecordsResponse
- Network.AWS.Kinesis.RemoveTagsFromStream: data RemoveTagsFromStream
- Network.AWS.Kinesis.RemoveTagsFromStream: data RemoveTagsFromStreamResponse
- Network.AWS.Kinesis.RemoveTagsFromStream: instance Control.DeepSeq.NFData Network.AWS.Kinesis.RemoveTagsFromStream.RemoveTagsFromStream
- Network.AWS.Kinesis.RemoveTagsFromStream: instance Control.DeepSeq.NFData Network.AWS.Kinesis.RemoveTagsFromStream.RemoveTagsFromStreamResponse
- Network.AWS.Kinesis.RemoveTagsFromStream: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Kinesis.RemoveTagsFromStream.RemoveTagsFromStream
- Network.AWS.Kinesis.RemoveTagsFromStream: instance Data.Data.Data Network.AWS.Kinesis.RemoveTagsFromStream.RemoveTagsFromStream
- Network.AWS.Kinesis.RemoveTagsFromStream: instance Data.Data.Data Network.AWS.Kinesis.RemoveTagsFromStream.RemoveTagsFromStreamResponse
- Network.AWS.Kinesis.RemoveTagsFromStream: instance Data.Hashable.Class.Hashable Network.AWS.Kinesis.RemoveTagsFromStream.RemoveTagsFromStream
- Network.AWS.Kinesis.RemoveTagsFromStream: instance GHC.Classes.Eq Network.AWS.Kinesis.RemoveTagsFromStream.RemoveTagsFromStream
- Network.AWS.Kinesis.RemoveTagsFromStream: instance GHC.Classes.Eq Network.AWS.Kinesis.RemoveTagsFromStream.RemoveTagsFromStreamResponse
- Network.AWS.Kinesis.RemoveTagsFromStream: instance GHC.Generics.Generic Network.AWS.Kinesis.RemoveTagsFromStream.RemoveTagsFromStream
- Network.AWS.Kinesis.RemoveTagsFromStream: instance GHC.Generics.Generic Network.AWS.Kinesis.RemoveTagsFromStream.RemoveTagsFromStreamResponse
- Network.AWS.Kinesis.RemoveTagsFromStream: instance GHC.Read.Read Network.AWS.Kinesis.RemoveTagsFromStream.RemoveTagsFromStream
- Network.AWS.Kinesis.RemoveTagsFromStream: instance GHC.Read.Read Network.AWS.Kinesis.RemoveTagsFromStream.RemoveTagsFromStreamResponse
- Network.AWS.Kinesis.RemoveTagsFromStream: instance GHC.Show.Show Network.AWS.Kinesis.RemoveTagsFromStream.RemoveTagsFromStream
- Network.AWS.Kinesis.RemoveTagsFromStream: instance GHC.Show.Show Network.AWS.Kinesis.RemoveTagsFromStream.RemoveTagsFromStreamResponse
- Network.AWS.Kinesis.RemoveTagsFromStream: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Kinesis.RemoveTagsFromStream.RemoveTagsFromStream
- Network.AWS.Kinesis.RemoveTagsFromStream: instance Network.AWS.Data.Path.ToPath Network.AWS.Kinesis.RemoveTagsFromStream.RemoveTagsFromStream
- Network.AWS.Kinesis.RemoveTagsFromStream: instance Network.AWS.Data.Query.ToQuery Network.AWS.Kinesis.RemoveTagsFromStream.RemoveTagsFromStream
- Network.AWS.Kinesis.RemoveTagsFromStream: instance Network.AWS.Types.AWSRequest Network.AWS.Kinesis.RemoveTagsFromStream.RemoveTagsFromStream
- Network.AWS.Kinesis.RemoveTagsFromStream: removeTagsFromStream :: Text -> NonEmpty Text -> RemoveTagsFromStream
- Network.AWS.Kinesis.RemoveTagsFromStream: removeTagsFromStreamResponse :: RemoveTagsFromStreamResponse
- Network.AWS.Kinesis.RemoveTagsFromStream: rtfsStreamName :: Lens' RemoveTagsFromStream Text
- Network.AWS.Kinesis.RemoveTagsFromStream: rtfsTagKeys :: Lens' RemoveTagsFromStream (NonEmpty Text)
- Network.AWS.Kinesis.SplitShard: data SplitShard
- Network.AWS.Kinesis.SplitShard: data SplitShardResponse
- Network.AWS.Kinesis.SplitShard: instance Control.DeepSeq.NFData Network.AWS.Kinesis.SplitShard.SplitShard
- Network.AWS.Kinesis.SplitShard: instance Control.DeepSeq.NFData Network.AWS.Kinesis.SplitShard.SplitShardResponse
- Network.AWS.Kinesis.SplitShard: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Kinesis.SplitShard.SplitShard
- Network.AWS.Kinesis.SplitShard: instance Data.Data.Data Network.AWS.Kinesis.SplitShard.SplitShard
- Network.AWS.Kinesis.SplitShard: instance Data.Data.Data Network.AWS.Kinesis.SplitShard.SplitShardResponse
- Network.AWS.Kinesis.SplitShard: instance Data.Hashable.Class.Hashable Network.AWS.Kinesis.SplitShard.SplitShard
- Network.AWS.Kinesis.SplitShard: instance GHC.Classes.Eq Network.AWS.Kinesis.SplitShard.SplitShard
- Network.AWS.Kinesis.SplitShard: instance GHC.Classes.Eq Network.AWS.Kinesis.SplitShard.SplitShardResponse
- Network.AWS.Kinesis.SplitShard: instance GHC.Generics.Generic Network.AWS.Kinesis.SplitShard.SplitShard
- Network.AWS.Kinesis.SplitShard: instance GHC.Generics.Generic Network.AWS.Kinesis.SplitShard.SplitShardResponse
- Network.AWS.Kinesis.SplitShard: instance GHC.Read.Read Network.AWS.Kinesis.SplitShard.SplitShard
- Network.AWS.Kinesis.SplitShard: instance GHC.Read.Read Network.AWS.Kinesis.SplitShard.SplitShardResponse
- Network.AWS.Kinesis.SplitShard: instance GHC.Show.Show Network.AWS.Kinesis.SplitShard.SplitShard
- Network.AWS.Kinesis.SplitShard: instance GHC.Show.Show Network.AWS.Kinesis.SplitShard.SplitShardResponse
- Network.AWS.Kinesis.SplitShard: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Kinesis.SplitShard.SplitShard
- Network.AWS.Kinesis.SplitShard: instance Network.AWS.Data.Path.ToPath Network.AWS.Kinesis.SplitShard.SplitShard
- Network.AWS.Kinesis.SplitShard: instance Network.AWS.Data.Query.ToQuery Network.AWS.Kinesis.SplitShard.SplitShard
- Network.AWS.Kinesis.SplitShard: instance Network.AWS.Types.AWSRequest Network.AWS.Kinesis.SplitShard.SplitShard
- Network.AWS.Kinesis.SplitShard: splitShard :: Text -> Text -> Text -> SplitShard
- Network.AWS.Kinesis.SplitShard: splitShardResponse :: SplitShardResponse
- Network.AWS.Kinesis.SplitShard: ssNewStartingHashKey :: Lens' SplitShard Text
- Network.AWS.Kinesis.SplitShard: ssShardToSplit :: Lens' SplitShard Text
- Network.AWS.Kinesis.SplitShard: ssStreamName :: Lens' SplitShard Text
- Network.AWS.Kinesis.StartStreamEncryption: data StartStreamEncryption
- Network.AWS.Kinesis.StartStreamEncryption: data StartStreamEncryptionResponse
- Network.AWS.Kinesis.StartStreamEncryption: instance Control.DeepSeq.NFData Network.AWS.Kinesis.StartStreamEncryption.StartStreamEncryption
- Network.AWS.Kinesis.StartStreamEncryption: instance Control.DeepSeq.NFData Network.AWS.Kinesis.StartStreamEncryption.StartStreamEncryptionResponse
- Network.AWS.Kinesis.StartStreamEncryption: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Kinesis.StartStreamEncryption.StartStreamEncryption
- Network.AWS.Kinesis.StartStreamEncryption: instance Data.Data.Data Network.AWS.Kinesis.StartStreamEncryption.StartStreamEncryption
- Network.AWS.Kinesis.StartStreamEncryption: instance Data.Data.Data Network.AWS.Kinesis.StartStreamEncryption.StartStreamEncryptionResponse
- Network.AWS.Kinesis.StartStreamEncryption: instance Data.Hashable.Class.Hashable Network.AWS.Kinesis.StartStreamEncryption.StartStreamEncryption
- Network.AWS.Kinesis.StartStreamEncryption: instance GHC.Classes.Eq Network.AWS.Kinesis.StartStreamEncryption.StartStreamEncryption
- Network.AWS.Kinesis.StartStreamEncryption: instance GHC.Classes.Eq Network.AWS.Kinesis.StartStreamEncryption.StartStreamEncryptionResponse
- Network.AWS.Kinesis.StartStreamEncryption: instance GHC.Generics.Generic Network.AWS.Kinesis.StartStreamEncryption.StartStreamEncryption
- Network.AWS.Kinesis.StartStreamEncryption: instance GHC.Generics.Generic Network.AWS.Kinesis.StartStreamEncryption.StartStreamEncryptionResponse
- Network.AWS.Kinesis.StartStreamEncryption: instance GHC.Read.Read Network.AWS.Kinesis.StartStreamEncryption.StartStreamEncryption
- Network.AWS.Kinesis.StartStreamEncryption: instance GHC.Read.Read Network.AWS.Kinesis.StartStreamEncryption.StartStreamEncryptionResponse
- Network.AWS.Kinesis.StartStreamEncryption: instance GHC.Show.Show Network.AWS.Kinesis.StartStreamEncryption.StartStreamEncryption
- Network.AWS.Kinesis.StartStreamEncryption: instance GHC.Show.Show Network.AWS.Kinesis.StartStreamEncryption.StartStreamEncryptionResponse
- Network.AWS.Kinesis.StartStreamEncryption: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Kinesis.StartStreamEncryption.StartStreamEncryption
- Network.AWS.Kinesis.StartStreamEncryption: instance Network.AWS.Data.Path.ToPath Network.AWS.Kinesis.StartStreamEncryption.StartStreamEncryption
- Network.AWS.Kinesis.StartStreamEncryption: instance Network.AWS.Data.Query.ToQuery Network.AWS.Kinesis.StartStreamEncryption.StartStreamEncryption
- Network.AWS.Kinesis.StartStreamEncryption: instance Network.AWS.Types.AWSRequest Network.AWS.Kinesis.StartStreamEncryption.StartStreamEncryption
- Network.AWS.Kinesis.StartStreamEncryption: sEncryptionType :: Lens' StartStreamEncryption EncryptionType
- Network.AWS.Kinesis.StartStreamEncryption: sKeyId :: Lens' StartStreamEncryption Text
- Network.AWS.Kinesis.StartStreamEncryption: sStreamName :: Lens' StartStreamEncryption Text
- Network.AWS.Kinesis.StartStreamEncryption: startStreamEncryption :: Text -> EncryptionType -> Text -> StartStreamEncryption
- Network.AWS.Kinesis.StartStreamEncryption: startStreamEncryptionResponse :: StartStreamEncryptionResponse
- Network.AWS.Kinesis.StopStreamEncryption: data StopStreamEncryption
- Network.AWS.Kinesis.StopStreamEncryption: data StopStreamEncryptionResponse
- Network.AWS.Kinesis.StopStreamEncryption: instance Control.DeepSeq.NFData Network.AWS.Kinesis.StopStreamEncryption.StopStreamEncryption
- Network.AWS.Kinesis.StopStreamEncryption: instance Control.DeepSeq.NFData Network.AWS.Kinesis.StopStreamEncryption.StopStreamEncryptionResponse
- Network.AWS.Kinesis.StopStreamEncryption: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Kinesis.StopStreamEncryption.StopStreamEncryption
- Network.AWS.Kinesis.StopStreamEncryption: instance Data.Data.Data Network.AWS.Kinesis.StopStreamEncryption.StopStreamEncryption
- Network.AWS.Kinesis.StopStreamEncryption: instance Data.Data.Data Network.AWS.Kinesis.StopStreamEncryption.StopStreamEncryptionResponse
- Network.AWS.Kinesis.StopStreamEncryption: instance Data.Hashable.Class.Hashable Network.AWS.Kinesis.StopStreamEncryption.StopStreamEncryption
- Network.AWS.Kinesis.StopStreamEncryption: instance GHC.Classes.Eq Network.AWS.Kinesis.StopStreamEncryption.StopStreamEncryption
- Network.AWS.Kinesis.StopStreamEncryption: instance GHC.Classes.Eq Network.AWS.Kinesis.StopStreamEncryption.StopStreamEncryptionResponse
- Network.AWS.Kinesis.StopStreamEncryption: instance GHC.Generics.Generic Network.AWS.Kinesis.StopStreamEncryption.StopStreamEncryption
- Network.AWS.Kinesis.StopStreamEncryption: instance GHC.Generics.Generic Network.AWS.Kinesis.StopStreamEncryption.StopStreamEncryptionResponse
- Network.AWS.Kinesis.StopStreamEncryption: instance GHC.Read.Read Network.AWS.Kinesis.StopStreamEncryption.StopStreamEncryption
- Network.AWS.Kinesis.StopStreamEncryption: instance GHC.Read.Read Network.AWS.Kinesis.StopStreamEncryption.StopStreamEncryptionResponse
- Network.AWS.Kinesis.StopStreamEncryption: instance GHC.Show.Show Network.AWS.Kinesis.StopStreamEncryption.StopStreamEncryption
- Network.AWS.Kinesis.StopStreamEncryption: instance GHC.Show.Show Network.AWS.Kinesis.StopStreamEncryption.StopStreamEncryptionResponse
- Network.AWS.Kinesis.StopStreamEncryption: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Kinesis.StopStreamEncryption.StopStreamEncryption
- Network.AWS.Kinesis.StopStreamEncryption: instance Network.AWS.Data.Path.ToPath Network.AWS.Kinesis.StopStreamEncryption.StopStreamEncryption
- Network.AWS.Kinesis.StopStreamEncryption: instance Network.AWS.Data.Query.ToQuery Network.AWS.Kinesis.StopStreamEncryption.StopStreamEncryption
- Network.AWS.Kinesis.StopStreamEncryption: instance Network.AWS.Types.AWSRequest Network.AWS.Kinesis.StopStreamEncryption.StopStreamEncryption
- Network.AWS.Kinesis.StopStreamEncryption: sseEncryptionType :: Lens' StopStreamEncryption EncryptionType
- Network.AWS.Kinesis.StopStreamEncryption: sseKeyId :: Lens' StopStreamEncryption Text
- Network.AWS.Kinesis.StopStreamEncryption: sseStreamName :: Lens' StopStreamEncryption Text
- Network.AWS.Kinesis.StopStreamEncryption: stopStreamEncryption :: Text -> EncryptionType -> Text -> StopStreamEncryption
- Network.AWS.Kinesis.StopStreamEncryption: stopStreamEncryptionResponse :: StopStreamEncryptionResponse
- Network.AWS.Kinesis.Types: Active :: StreamStatus
- Network.AWS.Kinesis.Types: AfterSequenceNumber :: ShardIteratorType
- Network.AWS.Kinesis.Types: All :: MetricsName
- Network.AWS.Kinesis.Types: AtSequenceNumber :: ShardIteratorType
- Network.AWS.Kinesis.Types: AtTimestamp :: ShardIteratorType
- Network.AWS.Kinesis.Types: Creating :: StreamStatus
- Network.AWS.Kinesis.Types: Deleting :: StreamStatus
- Network.AWS.Kinesis.Types: IncomingBytes :: MetricsName
- Network.AWS.Kinesis.Types: IncomingRecords :: MetricsName
- Network.AWS.Kinesis.Types: IteratorAgeMilliseconds :: MetricsName
- Network.AWS.Kinesis.Types: KMS :: EncryptionType
- Network.AWS.Kinesis.Types: Latest :: ShardIteratorType
- Network.AWS.Kinesis.Types: None :: EncryptionType
- Network.AWS.Kinesis.Types: OutgoingBytes :: MetricsName
- Network.AWS.Kinesis.Types: OutgoingRecords :: MetricsName
- Network.AWS.Kinesis.Types: ReadProvisionedThroughputExceeded :: MetricsName
- Network.AWS.Kinesis.Types: TrimHorizon :: ShardIteratorType
- Network.AWS.Kinesis.Types: UniformScaling :: ScalingType
- Network.AWS.Kinesis.Types: Updating :: StreamStatus
- Network.AWS.Kinesis.Types: WriteProvisionedThroughputExceeded :: MetricsName
- Network.AWS.Kinesis.Types: _ExpiredIteratorException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Kinesis.Types: _ExpiredNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Kinesis.Types: _InvalidArgumentException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Kinesis.Types: _KMSAccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Kinesis.Types: _KMSDisabledException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Kinesis.Types: _KMSInvalidStateException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Kinesis.Types: _KMSNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Kinesis.Types: _KMSOptInRequired :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Kinesis.Types: _KMSThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Kinesis.Types: _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Kinesis.Types: _ProvisionedThroughputExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Kinesis.Types: _ResourceInUseException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Kinesis.Types: _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Kinesis.Types: data EncryptionType
- Network.AWS.Kinesis.Types: data EnhancedMetrics
- Network.AWS.Kinesis.Types: data EnhancedMonitoringOutput
- Network.AWS.Kinesis.Types: data HashKeyRange
- Network.AWS.Kinesis.Types: data MetricsName
- Network.AWS.Kinesis.Types: data PutRecordsRequestEntry
- Network.AWS.Kinesis.Types: data PutRecordsResultEntry
- Network.AWS.Kinesis.Types: data Record
- Network.AWS.Kinesis.Types: data ScalingType
- Network.AWS.Kinesis.Types: data SequenceNumberRange
- Network.AWS.Kinesis.Types: data Shard
- Network.AWS.Kinesis.Types: data ShardIteratorType
- Network.AWS.Kinesis.Types: data StreamDescription
- Network.AWS.Kinesis.Types: data StreamDescriptionSummary
- Network.AWS.Kinesis.Types: data StreamStatus
- Network.AWS.Kinesis.Types: data Tag
- Network.AWS.Kinesis.Types: emShardLevelMetrics :: Lens' EnhancedMetrics [MetricsName]
- Network.AWS.Kinesis.Types: emoCurrentShardLevelMetrics :: Lens' EnhancedMonitoringOutput [MetricsName]
- Network.AWS.Kinesis.Types: emoDesiredShardLevelMetrics :: Lens' EnhancedMonitoringOutput [MetricsName]
- Network.AWS.Kinesis.Types: emoStreamName :: Lens' EnhancedMonitoringOutput (Maybe Text)
- Network.AWS.Kinesis.Types: enhancedMetrics :: EnhancedMetrics
- Network.AWS.Kinesis.Types: enhancedMonitoringOutput :: EnhancedMonitoringOutput
- Network.AWS.Kinesis.Types: hashKeyRange :: Text -> Text -> HashKeyRange
- Network.AWS.Kinesis.Types: hkrEndingHashKey :: Lens' HashKeyRange Text
- Network.AWS.Kinesis.Types: hkrStartingHashKey :: Lens' HashKeyRange Text
- Network.AWS.Kinesis.Types: kinesis :: Service
- Network.AWS.Kinesis.Types: prreData :: Lens' PutRecordsRequestEntry ByteString
- Network.AWS.Kinesis.Types: prreErrorCode :: Lens' PutRecordsResultEntry (Maybe Text)
- Network.AWS.Kinesis.Types: prreErrorMessage :: Lens' PutRecordsResultEntry (Maybe Text)
- Network.AWS.Kinesis.Types: prreExplicitHashKey :: Lens' PutRecordsRequestEntry (Maybe Text)
- Network.AWS.Kinesis.Types: prrePartitionKey :: Lens' PutRecordsRequestEntry Text
- Network.AWS.Kinesis.Types: prreSequenceNumber :: Lens' PutRecordsResultEntry (Maybe Text)
- Network.AWS.Kinesis.Types: prreShardId :: Lens' PutRecordsResultEntry (Maybe Text)
- Network.AWS.Kinesis.Types: putRecordsRequestEntry :: ByteString -> Text -> PutRecordsRequestEntry
- Network.AWS.Kinesis.Types: putRecordsResultEntry :: PutRecordsResultEntry
- Network.AWS.Kinesis.Types: rApproximateArrivalTimestamp :: Lens' Record (Maybe UTCTime)
- Network.AWS.Kinesis.Types: rData :: Lens' Record ByteString
- Network.AWS.Kinesis.Types: rEncryptionType :: Lens' Record (Maybe EncryptionType)
- Network.AWS.Kinesis.Types: rPartitionKey :: Lens' Record Text
- Network.AWS.Kinesis.Types: rSequenceNumber :: Lens' Record Text
- Network.AWS.Kinesis.Types: record :: Text -> ByteString -> Text -> Record
- Network.AWS.Kinesis.Types: sAdjacentParentShardId :: Lens' Shard (Maybe Text)
- Network.AWS.Kinesis.Types: sHashKeyRange :: Lens' Shard HashKeyRange
- Network.AWS.Kinesis.Types: sParentShardId :: Lens' Shard (Maybe Text)
- Network.AWS.Kinesis.Types: sSequenceNumberRange :: Lens' Shard SequenceNumberRange
- Network.AWS.Kinesis.Types: sShardId :: Lens' Shard Text
- Network.AWS.Kinesis.Types: sdEncryptionType :: Lens' StreamDescription (Maybe EncryptionType)
- Network.AWS.Kinesis.Types: sdEnhancedMonitoring :: Lens' StreamDescription [EnhancedMetrics]
- Network.AWS.Kinesis.Types: sdHasMoreShards :: Lens' StreamDescription Bool
- Network.AWS.Kinesis.Types: sdKeyId :: Lens' StreamDescription (Maybe Text)
- Network.AWS.Kinesis.Types: sdRetentionPeriodHours :: Lens' StreamDescription Natural
- Network.AWS.Kinesis.Types: sdShards :: Lens' StreamDescription [Shard]
- Network.AWS.Kinesis.Types: sdStreamARN :: Lens' StreamDescription Text
- Network.AWS.Kinesis.Types: sdStreamCreationTimestamp :: Lens' StreamDescription UTCTime
- Network.AWS.Kinesis.Types: sdStreamName :: Lens' StreamDescription Text
- Network.AWS.Kinesis.Types: sdStreamStatus :: Lens' StreamDescription StreamStatus
- Network.AWS.Kinesis.Types: sdsEncryptionType :: Lens' StreamDescriptionSummary (Maybe EncryptionType)
- Network.AWS.Kinesis.Types: sdsEnhancedMonitoring :: Lens' StreamDescriptionSummary [EnhancedMetrics]
- Network.AWS.Kinesis.Types: sdsKeyId :: Lens' StreamDescriptionSummary (Maybe Text)
- Network.AWS.Kinesis.Types: sdsOpenShardCount :: Lens' StreamDescriptionSummary Natural
- Network.AWS.Kinesis.Types: sdsRetentionPeriodHours :: Lens' StreamDescriptionSummary Natural
- Network.AWS.Kinesis.Types: sdsStreamARN :: Lens' StreamDescriptionSummary Text
- Network.AWS.Kinesis.Types: sdsStreamCreationTimestamp :: Lens' StreamDescriptionSummary UTCTime
- Network.AWS.Kinesis.Types: sdsStreamName :: Lens' StreamDescriptionSummary Text
- Network.AWS.Kinesis.Types: sdsStreamStatus :: Lens' StreamDescriptionSummary StreamStatus
- Network.AWS.Kinesis.Types: sequenceNumberRange :: Text -> SequenceNumberRange
- Network.AWS.Kinesis.Types: shard :: Text -> HashKeyRange -> SequenceNumberRange -> Shard
- Network.AWS.Kinesis.Types: snrEndingSequenceNumber :: Lens' SequenceNumberRange (Maybe Text)
- Network.AWS.Kinesis.Types: snrStartingSequenceNumber :: Lens' SequenceNumberRange Text
- Network.AWS.Kinesis.Types: streamDescription :: Text -> Text -> StreamStatus -> Bool -> Natural -> UTCTime -> StreamDescription
- Network.AWS.Kinesis.Types: streamDescriptionSummary :: Text -> Text -> StreamStatus -> Natural -> UTCTime -> Natural -> StreamDescriptionSummary
- Network.AWS.Kinesis.Types: tag :: Text -> Tag
- Network.AWS.Kinesis.Types: tagKey :: Lens' Tag Text
- Network.AWS.Kinesis.Types: tagValue :: Lens' Tag (Maybe Text)
- Network.AWS.Kinesis.UpdateShardCount: data UpdateShardCount
- Network.AWS.Kinesis.UpdateShardCount: data UpdateShardCountResponse
- Network.AWS.Kinesis.UpdateShardCount: instance Control.DeepSeq.NFData Network.AWS.Kinesis.UpdateShardCount.UpdateShardCount
- Network.AWS.Kinesis.UpdateShardCount: instance Control.DeepSeq.NFData Network.AWS.Kinesis.UpdateShardCount.UpdateShardCountResponse
- Network.AWS.Kinesis.UpdateShardCount: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Kinesis.UpdateShardCount.UpdateShardCount
- Network.AWS.Kinesis.UpdateShardCount: instance Data.Data.Data Network.AWS.Kinesis.UpdateShardCount.UpdateShardCount
- Network.AWS.Kinesis.UpdateShardCount: instance Data.Data.Data Network.AWS.Kinesis.UpdateShardCount.UpdateShardCountResponse
- Network.AWS.Kinesis.UpdateShardCount: instance Data.Hashable.Class.Hashable Network.AWS.Kinesis.UpdateShardCount.UpdateShardCount
- Network.AWS.Kinesis.UpdateShardCount: instance GHC.Classes.Eq Network.AWS.Kinesis.UpdateShardCount.UpdateShardCount
- Network.AWS.Kinesis.UpdateShardCount: instance GHC.Classes.Eq Network.AWS.Kinesis.UpdateShardCount.UpdateShardCountResponse
- Network.AWS.Kinesis.UpdateShardCount: instance GHC.Generics.Generic Network.AWS.Kinesis.UpdateShardCount.UpdateShardCount
- Network.AWS.Kinesis.UpdateShardCount: instance GHC.Generics.Generic Network.AWS.Kinesis.UpdateShardCount.UpdateShardCountResponse
- Network.AWS.Kinesis.UpdateShardCount: instance GHC.Read.Read Network.AWS.Kinesis.UpdateShardCount.UpdateShardCount
- Network.AWS.Kinesis.UpdateShardCount: instance GHC.Read.Read Network.AWS.Kinesis.UpdateShardCount.UpdateShardCountResponse
- Network.AWS.Kinesis.UpdateShardCount: instance GHC.Show.Show Network.AWS.Kinesis.UpdateShardCount.UpdateShardCount
- Network.AWS.Kinesis.UpdateShardCount: instance GHC.Show.Show Network.AWS.Kinesis.UpdateShardCount.UpdateShardCountResponse
- Network.AWS.Kinesis.UpdateShardCount: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Kinesis.UpdateShardCount.UpdateShardCount
- Network.AWS.Kinesis.UpdateShardCount: instance Network.AWS.Data.Path.ToPath Network.AWS.Kinesis.UpdateShardCount.UpdateShardCount
- Network.AWS.Kinesis.UpdateShardCount: instance Network.AWS.Data.Query.ToQuery Network.AWS.Kinesis.UpdateShardCount.UpdateShardCount
- Network.AWS.Kinesis.UpdateShardCount: instance Network.AWS.Types.AWSRequest Network.AWS.Kinesis.UpdateShardCount.UpdateShardCount
- Network.AWS.Kinesis.UpdateShardCount: updateShardCount :: Text -> Natural -> ScalingType -> UpdateShardCount
- Network.AWS.Kinesis.UpdateShardCount: updateShardCountResponse :: Int -> UpdateShardCountResponse
- Network.AWS.Kinesis.UpdateShardCount: uscScalingType :: Lens' UpdateShardCount ScalingType
- Network.AWS.Kinesis.UpdateShardCount: uscStreamName :: Lens' UpdateShardCount Text
- Network.AWS.Kinesis.UpdateShardCount: uscTargetShardCount :: Lens' UpdateShardCount Natural
- Network.AWS.Kinesis.UpdateShardCount: uscrsCurrentShardCount :: Lens' UpdateShardCountResponse (Maybe Natural)
- Network.AWS.Kinesis.UpdateShardCount: uscrsResponseStatus :: Lens' UpdateShardCountResponse Int
- Network.AWS.Kinesis.UpdateShardCount: uscrsStreamName :: Lens' UpdateShardCountResponse (Maybe Text)
- Network.AWS.Kinesis.UpdateShardCount: uscrsTargetShardCount :: Lens' UpdateShardCountResponse (Maybe Natural)
- Network.AWS.Kinesis.Waiters: streamExists :: Wait DescribeStream
- Network.AWS.Kinesis.Waiters: streamNotExists :: Wait DescribeStream
+ Amazonka.Kinesis: AddTagsToStream' :: Maybe Text -> Maybe Text -> HashMap Text Text -> AddTagsToStream
+ Amazonka.Kinesis: AddTagsToStreamResponse' :: AddTagsToStreamResponse
+ Amazonka.Kinesis: ChildShard' :: Text -> [Text] -> HashKeyRange -> ChildShard
+ Amazonka.Kinesis: Consumer' :: Text -> Text -> ConsumerStatus -> POSIX -> Consumer
+ Amazonka.Kinesis: ConsumerDescription' :: Text -> Text -> ConsumerStatus -> POSIX -> Text -> ConsumerDescription
+ Amazonka.Kinesis: ConsumerStatus' :: Text -> ConsumerStatus
+ Amazonka.Kinesis: CreateStream' :: Maybe Natural -> Maybe StreamModeDetails -> Text -> CreateStream
+ Amazonka.Kinesis: CreateStreamResponse' :: CreateStreamResponse
+ Amazonka.Kinesis: DecreaseStreamRetentionPeriod' :: Maybe Text -> Maybe Text -> Int -> DecreaseStreamRetentionPeriod
+ Amazonka.Kinesis: DecreaseStreamRetentionPeriodResponse' :: DecreaseStreamRetentionPeriodResponse
+ Amazonka.Kinesis: DeleteStream' :: Maybe Bool -> Maybe Text -> Maybe Text -> DeleteStream
+ Amazonka.Kinesis: DeleteStreamResponse' :: DeleteStreamResponse
+ Amazonka.Kinesis: DeregisterStreamConsumer' :: Maybe Text -> Maybe Text -> Maybe Text -> DeregisterStreamConsumer
+ Amazonka.Kinesis: DeregisterStreamConsumerResponse' :: DeregisterStreamConsumerResponse
+ Amazonka.Kinesis: DescribeLimits' :: DescribeLimits
+ Amazonka.Kinesis: DescribeLimitsResponse' :: Int -> Natural -> Natural -> Natural -> Natural -> DescribeLimitsResponse
+ Amazonka.Kinesis: DescribeStream' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> DescribeStream
+ Amazonka.Kinesis: DescribeStreamConsumer' :: Maybe Text -> Maybe Text -> Maybe Text -> DescribeStreamConsumer
+ Amazonka.Kinesis: DescribeStreamConsumerResponse' :: Int -> ConsumerDescription -> DescribeStreamConsumerResponse
+ Amazonka.Kinesis: DescribeStreamResponse' :: Int -> StreamDescription -> DescribeStreamResponse
+ Amazonka.Kinesis: DescribeStreamSummary' :: Maybe Text -> Maybe Text -> DescribeStreamSummary
+ Amazonka.Kinesis: DescribeStreamSummaryResponse' :: Int -> StreamDescriptionSummary -> DescribeStreamSummaryResponse
+ Amazonka.Kinesis: DisableEnhancedMonitoring' :: Maybe Text -> Maybe Text -> [MetricsName] -> DisableEnhancedMonitoring
+ Amazonka.Kinesis: EnableEnhancedMonitoring' :: Maybe Text -> Maybe Text -> [MetricsName] -> EnableEnhancedMonitoring
+ Amazonka.Kinesis: EncryptionType' :: Text -> EncryptionType
+ Amazonka.Kinesis: EnhancedMetrics' :: Maybe [MetricsName] -> EnhancedMetrics
+ Amazonka.Kinesis: EnhancedMonitoringOutput' :: Maybe [MetricsName] -> Maybe [MetricsName] -> Maybe Text -> Maybe Text -> EnhancedMonitoringOutput
+ Amazonka.Kinesis: GetRecords' :: Maybe Natural -> Maybe Text -> Text -> GetRecords
+ Amazonka.Kinesis: GetRecordsResponse' :: Maybe [ChildShard] -> Maybe Natural -> Maybe Text -> Int -> [Record] -> GetRecordsResponse
+ Amazonka.Kinesis: GetShardIterator' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Text -> ShardIteratorType -> GetShardIterator
+ Amazonka.Kinesis: GetShardIteratorResponse' :: Maybe Text -> Int -> GetShardIteratorResponse
+ Amazonka.Kinesis: HashKeyRange' :: Text -> Text -> HashKeyRange
+ Amazonka.Kinesis: IncreaseStreamRetentionPeriod' :: Maybe Text -> Maybe Text -> Int -> IncreaseStreamRetentionPeriod
+ Amazonka.Kinesis: IncreaseStreamRetentionPeriodResponse' :: IncreaseStreamRetentionPeriodResponse
+ Amazonka.Kinesis: ListShards' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe ShardFilter -> Maybe Text -> Maybe POSIX -> Maybe Text -> ListShards
+ Amazonka.Kinesis: ListShardsResponse' :: Maybe Text -> Maybe [Shard] -> Int -> ListShardsResponse
+ Amazonka.Kinesis: ListStreamConsumers' :: Maybe Natural -> Maybe Text -> Maybe POSIX -> Text -> ListStreamConsumers
+ Amazonka.Kinesis: ListStreamConsumersResponse' :: Maybe [Consumer] -> Maybe Text -> Int -> ListStreamConsumersResponse
+ Amazonka.Kinesis: ListStreams' :: Maybe Text -> Maybe Natural -> Maybe Text -> ListStreams
+ Amazonka.Kinesis: ListStreamsResponse' :: Maybe Text -> Maybe [StreamSummary] -> Int -> [Text] -> Bool -> ListStreamsResponse
+ Amazonka.Kinesis: ListTagsForStream' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> ListTagsForStream
+ Amazonka.Kinesis: ListTagsForStreamResponse' :: Int -> [Tag] -> Bool -> ListTagsForStreamResponse
+ Amazonka.Kinesis: MergeShards' :: Maybe Text -> Maybe Text -> Text -> Text -> MergeShards
+ Amazonka.Kinesis: MergeShardsResponse' :: MergeShardsResponse
+ Amazonka.Kinesis: MetricsName' :: Text -> MetricsName
+ Amazonka.Kinesis: PutRecord' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Base64 -> Text -> PutRecord
+ Amazonka.Kinesis: PutRecordResponse' :: Maybe EncryptionType -> Int -> Text -> Text -> PutRecordResponse
+ Amazonka.Kinesis: PutRecords' :: Maybe Text -> Maybe Text -> NonEmpty PutRecordsRequestEntry -> PutRecords
+ Amazonka.Kinesis: PutRecordsRequestEntry' :: Maybe Text -> Base64 -> Text -> PutRecordsRequestEntry
+ Amazonka.Kinesis: PutRecordsResponse' :: Maybe EncryptionType -> Maybe Natural -> Int -> NonEmpty PutRecordsResultEntry -> PutRecordsResponse
+ Amazonka.Kinesis: PutRecordsResultEntry' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PutRecordsResultEntry
+ Amazonka.Kinesis: Record' :: Maybe POSIX -> Maybe EncryptionType -> Text -> Base64 -> Text -> Record
+ Amazonka.Kinesis: RegisterStreamConsumer' :: Text -> Text -> RegisterStreamConsumer
+ Amazonka.Kinesis: RegisterStreamConsumerResponse' :: Int -> Consumer -> RegisterStreamConsumerResponse
+ Amazonka.Kinesis: RemoveTagsFromStream' :: Maybe Text -> Maybe Text -> NonEmpty Text -> RemoveTagsFromStream
+ Amazonka.Kinesis: RemoveTagsFromStreamResponse' :: RemoveTagsFromStreamResponse
+ Amazonka.Kinesis: ScalingType' :: Text -> ScalingType
+ Amazonka.Kinesis: SequenceNumberRange' :: Maybe Text -> Text -> SequenceNumberRange
+ Amazonka.Kinesis: Shard' :: Maybe Text -> Maybe Text -> Text -> HashKeyRange -> SequenceNumberRange -> Shard
+ Amazonka.Kinesis: ShardFilter' :: Maybe Text -> Maybe POSIX -> ShardFilterType -> ShardFilter
+ Amazonka.Kinesis: ShardFilterType' :: Text -> ShardFilterType
+ Amazonka.Kinesis: ShardIteratorType' :: Text -> ShardIteratorType
+ Amazonka.Kinesis: SplitShard' :: Maybe Text -> Maybe Text -> Text -> Text -> SplitShard
+ Amazonka.Kinesis: SplitShardResponse' :: SplitShardResponse
+ Amazonka.Kinesis: StartStreamEncryption' :: Maybe Text -> Maybe Text -> EncryptionType -> Text -> StartStreamEncryption
+ Amazonka.Kinesis: StartStreamEncryptionResponse' :: StartStreamEncryptionResponse
+ Amazonka.Kinesis: StartingPosition' :: Maybe Text -> Maybe POSIX -> ShardIteratorType -> StartingPosition
+ Amazonka.Kinesis: StopStreamEncryption' :: Maybe Text -> Maybe Text -> EncryptionType -> Text -> StopStreamEncryption
+ Amazonka.Kinesis: StopStreamEncryptionResponse' :: StopStreamEncryptionResponse
+ Amazonka.Kinesis: StreamDescription' :: Maybe EncryptionType -> Maybe Text -> Maybe StreamModeDetails -> Text -> Text -> StreamStatus -> [Shard] -> Bool -> Int -> POSIX -> [EnhancedMetrics] -> StreamDescription
+ Amazonka.Kinesis: StreamDescriptionSummary' :: Maybe Natural -> Maybe EncryptionType -> Maybe Text -> Maybe StreamModeDetails -> Text -> Text -> StreamStatus -> Int -> POSIX -> [EnhancedMetrics] -> Natural -> StreamDescriptionSummary
+ Amazonka.Kinesis: StreamMode' :: Text -> StreamMode
+ Amazonka.Kinesis: StreamModeDetails' :: StreamMode -> StreamModeDetails
+ Amazonka.Kinesis: StreamStatus' :: Text -> StreamStatus
+ Amazonka.Kinesis: StreamSummary' :: Maybe POSIX -> Maybe StreamModeDetails -> Text -> Text -> StreamStatus -> StreamSummary
+ Amazonka.Kinesis: SubscribeToShard' :: Text -> Text -> StartingPosition -> SubscribeToShard
+ Amazonka.Kinesis: SubscribeToShardEvent' :: Maybe [ChildShard] -> [Record] -> Text -> Natural -> SubscribeToShardEvent
+ Amazonka.Kinesis: SubscribeToShardResponse' :: Int -> Value -> SubscribeToShardResponse
+ Amazonka.Kinesis: Tag' :: Maybe Text -> Text -> Tag
+ Amazonka.Kinesis: UpdateShardCount' :: Maybe Text -> Maybe Text -> Natural -> ScalingType -> UpdateShardCount
+ Amazonka.Kinesis: UpdateShardCountResponse' :: Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Natural -> Int -> UpdateShardCountResponse
+ Amazonka.Kinesis: UpdateStreamMode' :: Text -> StreamModeDetails -> UpdateStreamMode
+ Amazonka.Kinesis: UpdateStreamModeResponse' :: UpdateStreamModeResponse
+ Amazonka.Kinesis: [fromConsumerStatus] :: ConsumerStatus -> Text
+ Amazonka.Kinesis: [fromEncryptionType] :: EncryptionType -> Text
+ Amazonka.Kinesis: [fromMetricsName] :: MetricsName -> Text
+ Amazonka.Kinesis: [fromScalingType] :: ScalingType -> Text
+ Amazonka.Kinesis: [fromShardFilterType] :: ShardFilterType -> Text
+ Amazonka.Kinesis: [fromShardIteratorType] :: ShardIteratorType -> Text
+ Amazonka.Kinesis: [fromStreamMode] :: StreamMode -> Text
+ Amazonka.Kinesis: [fromStreamStatus] :: StreamStatus -> Text
+ Amazonka.Kinesis: _AccessDeniedException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis: _ExpiredIteratorException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis: _ExpiredNextTokenException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis: _InternalFailureException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis: _InvalidArgumentException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis: _KMSAccessDeniedException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis: _KMSDisabledException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis: _KMSInvalidStateException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis: _KMSNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis: _KMSOptInRequired :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis: _KMSThrottlingException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis: _LimitExceededException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis: _ProvisionedThroughputExceededException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis: _ResourceInUseException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis: _ResourceNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis: _ValidationException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis: data AddTagsToStream
+ Amazonka.Kinesis: data AddTagsToStreamResponse
+ Amazonka.Kinesis: data ChildShard
+ Amazonka.Kinesis: data Consumer
+ Amazonka.Kinesis: data ConsumerDescription
+ Amazonka.Kinesis: data CreateStream
+ Amazonka.Kinesis: data CreateStreamResponse
+ Amazonka.Kinesis: data DecreaseStreamRetentionPeriod
+ Amazonka.Kinesis: data DecreaseStreamRetentionPeriodResponse
+ Amazonka.Kinesis: data DeleteStream
+ Amazonka.Kinesis: data DeleteStreamResponse
+ Amazonka.Kinesis: data DeregisterStreamConsumer
+ Amazonka.Kinesis: data DeregisterStreamConsumerResponse
+ Amazonka.Kinesis: data DescribeLimits
+ Amazonka.Kinesis: data DescribeLimitsResponse
+ Amazonka.Kinesis: data DescribeStream
+ Amazonka.Kinesis: data DescribeStreamConsumer
+ Amazonka.Kinesis: data DescribeStreamConsumerResponse
+ Amazonka.Kinesis: data DescribeStreamResponse
+ Amazonka.Kinesis: data DescribeStreamSummary
+ Amazonka.Kinesis: data DescribeStreamSummaryResponse
+ Amazonka.Kinesis: data DisableEnhancedMonitoring
+ Amazonka.Kinesis: data EnableEnhancedMonitoring
+ Amazonka.Kinesis: data EnhancedMetrics
+ Amazonka.Kinesis: data EnhancedMonitoringOutput
+ Amazonka.Kinesis: data GetRecords
+ Amazonka.Kinesis: data GetRecordsResponse
+ Amazonka.Kinesis: data GetShardIterator
+ Amazonka.Kinesis: data GetShardIteratorResponse
+ Amazonka.Kinesis: data HashKeyRange
+ Amazonka.Kinesis: data IncreaseStreamRetentionPeriod
+ Amazonka.Kinesis: data IncreaseStreamRetentionPeriodResponse
+ Amazonka.Kinesis: data ListShards
+ Amazonka.Kinesis: data ListShardsResponse
+ Amazonka.Kinesis: data ListStreamConsumers
+ Amazonka.Kinesis: data ListStreamConsumersResponse
+ Amazonka.Kinesis: data ListStreams
+ Amazonka.Kinesis: data ListStreamsResponse
+ Amazonka.Kinesis: data ListTagsForStream
+ Amazonka.Kinesis: data ListTagsForStreamResponse
+ Amazonka.Kinesis: data MergeShards
+ Amazonka.Kinesis: data MergeShardsResponse
+ Amazonka.Kinesis: data PutRecord
+ Amazonka.Kinesis: data PutRecordResponse
+ Amazonka.Kinesis: data PutRecords
+ Amazonka.Kinesis: data PutRecordsRequestEntry
+ Amazonka.Kinesis: data PutRecordsResponse
+ Amazonka.Kinesis: data PutRecordsResultEntry
+ Amazonka.Kinesis: data Record
+ Amazonka.Kinesis: data RegisterStreamConsumer
+ Amazonka.Kinesis: data RegisterStreamConsumerResponse
+ Amazonka.Kinesis: data RemoveTagsFromStream
+ Amazonka.Kinesis: data RemoveTagsFromStreamResponse
+ Amazonka.Kinesis: data SequenceNumberRange
+ Amazonka.Kinesis: data Shard
+ Amazonka.Kinesis: data ShardFilter
+ Amazonka.Kinesis: data SplitShard
+ Amazonka.Kinesis: data SplitShardResponse
+ Amazonka.Kinesis: data StartStreamEncryption
+ Amazonka.Kinesis: data StartStreamEncryptionResponse
+ Amazonka.Kinesis: data StartingPosition
+ Amazonka.Kinesis: data StopStreamEncryption
+ Amazonka.Kinesis: data StopStreamEncryptionResponse
+ Amazonka.Kinesis: data StreamDescription
+ Amazonka.Kinesis: data StreamDescriptionSummary
+ Amazonka.Kinesis: data StreamModeDetails
+ Amazonka.Kinesis: data StreamSummary
+ Amazonka.Kinesis: data SubscribeToShard
+ Amazonka.Kinesis: data SubscribeToShardEvent
+ Amazonka.Kinesis: data SubscribeToShardResponse
+ Amazonka.Kinesis: data Tag
+ Amazonka.Kinesis: data UpdateShardCount
+ Amazonka.Kinesis: data UpdateShardCountResponse
+ Amazonka.Kinesis: data UpdateStreamMode
+ Amazonka.Kinesis: data UpdateStreamModeResponse
+ Amazonka.Kinesis: defaultService :: Service
+ Amazonka.Kinesis: newAddTagsToStream :: AddTagsToStream
+ Amazonka.Kinesis: newAddTagsToStreamResponse :: AddTagsToStreamResponse
+ Amazonka.Kinesis: newChildShard :: Text -> HashKeyRange -> ChildShard
+ Amazonka.Kinesis: newConsumer :: Text -> Text -> ConsumerStatus -> UTCTime -> Consumer
+ Amazonka.Kinesis: newConsumerDescription :: Text -> Text -> ConsumerStatus -> UTCTime -> Text -> ConsumerDescription
+ Amazonka.Kinesis: newCreateStream :: Text -> CreateStream
+ Amazonka.Kinesis: newCreateStreamResponse :: CreateStreamResponse
+ Amazonka.Kinesis: newDecreaseStreamRetentionPeriod :: Int -> DecreaseStreamRetentionPeriod
+ Amazonka.Kinesis: newDecreaseStreamRetentionPeriodResponse :: DecreaseStreamRetentionPeriodResponse
+ Amazonka.Kinesis: newDeleteStream :: DeleteStream
+ Amazonka.Kinesis: newDeleteStreamResponse :: DeleteStreamResponse
+ Amazonka.Kinesis: newDeregisterStreamConsumer :: DeregisterStreamConsumer
+ Amazonka.Kinesis: newDeregisterStreamConsumerResponse :: DeregisterStreamConsumerResponse
+ Amazonka.Kinesis: newDescribeLimits :: DescribeLimits
+ Amazonka.Kinesis: newDescribeLimitsResponse :: Int -> Natural -> Natural -> Natural -> Natural -> DescribeLimitsResponse
+ Amazonka.Kinesis: newDescribeStream :: DescribeStream
+ Amazonka.Kinesis: newDescribeStreamConsumer :: DescribeStreamConsumer
+ Amazonka.Kinesis: newDescribeStreamConsumerResponse :: Int -> ConsumerDescription -> DescribeStreamConsumerResponse
+ Amazonka.Kinesis: newDescribeStreamResponse :: Int -> StreamDescription -> DescribeStreamResponse
+ Amazonka.Kinesis: newDescribeStreamSummary :: DescribeStreamSummary
+ Amazonka.Kinesis: newDescribeStreamSummaryResponse :: Int -> StreamDescriptionSummary -> DescribeStreamSummaryResponse
+ Amazonka.Kinesis: newDisableEnhancedMonitoring :: DisableEnhancedMonitoring
+ Amazonka.Kinesis: newEnableEnhancedMonitoring :: EnableEnhancedMonitoring
+ Amazonka.Kinesis: newEnhancedMetrics :: EnhancedMetrics
+ Amazonka.Kinesis: newEnhancedMonitoringOutput :: EnhancedMonitoringOutput
+ Amazonka.Kinesis: newGetRecords :: Text -> GetRecords
+ Amazonka.Kinesis: newGetRecordsResponse :: Int -> GetRecordsResponse
+ Amazonka.Kinesis: newGetShardIterator :: Text -> ShardIteratorType -> GetShardIterator
+ Amazonka.Kinesis: newGetShardIteratorResponse :: Int -> GetShardIteratorResponse
+ Amazonka.Kinesis: newHashKeyRange :: Text -> Text -> HashKeyRange
+ Amazonka.Kinesis: newIncreaseStreamRetentionPeriod :: Int -> IncreaseStreamRetentionPeriod
+ Amazonka.Kinesis: newIncreaseStreamRetentionPeriodResponse :: IncreaseStreamRetentionPeriodResponse
+ Amazonka.Kinesis: newListShards :: ListShards
+ Amazonka.Kinesis: newListShardsResponse :: Int -> ListShardsResponse
+ Amazonka.Kinesis: newListStreamConsumers :: Text -> ListStreamConsumers
+ Amazonka.Kinesis: newListStreamConsumersResponse :: Int -> ListStreamConsumersResponse
+ Amazonka.Kinesis: newListStreams :: ListStreams
+ Amazonka.Kinesis: newListStreamsResponse :: Int -> Bool -> ListStreamsResponse
+ Amazonka.Kinesis: newListTagsForStream :: ListTagsForStream
+ Amazonka.Kinesis: newListTagsForStreamResponse :: Int -> Bool -> ListTagsForStreamResponse
+ Amazonka.Kinesis: newMergeShards :: Text -> Text -> MergeShards
+ Amazonka.Kinesis: newMergeShardsResponse :: MergeShardsResponse
+ Amazonka.Kinesis: newPutRecord :: ByteString -> Text -> PutRecord
+ Amazonka.Kinesis: newPutRecordResponse :: Int -> Text -> Text -> PutRecordResponse
+ Amazonka.Kinesis: newPutRecords :: NonEmpty PutRecordsRequestEntry -> PutRecords
+ Amazonka.Kinesis: newPutRecordsRequestEntry :: ByteString -> Text -> PutRecordsRequestEntry
+ Amazonka.Kinesis: newPutRecordsResponse :: Int -> NonEmpty PutRecordsResultEntry -> PutRecordsResponse
+ Amazonka.Kinesis: newPutRecordsResultEntry :: PutRecordsResultEntry
+ Amazonka.Kinesis: newRecord :: Text -> ByteString -> Text -> Record
+ Amazonka.Kinesis: newRegisterStreamConsumer :: Text -> Text -> RegisterStreamConsumer
+ Amazonka.Kinesis: newRegisterStreamConsumerResponse :: Int -> Consumer -> RegisterStreamConsumerResponse
+ Amazonka.Kinesis: newRemoveTagsFromStream :: NonEmpty Text -> RemoveTagsFromStream
+ Amazonka.Kinesis: newRemoveTagsFromStreamResponse :: RemoveTagsFromStreamResponse
+ Amazonka.Kinesis: newSequenceNumberRange :: Text -> SequenceNumberRange
+ Amazonka.Kinesis: newShard :: Text -> HashKeyRange -> SequenceNumberRange -> Shard
+ Amazonka.Kinesis: newShardFilter :: ShardFilterType -> ShardFilter
+ Amazonka.Kinesis: newSplitShard :: Text -> Text -> SplitShard
+ Amazonka.Kinesis: newSplitShardResponse :: SplitShardResponse
+ Amazonka.Kinesis: newStartStreamEncryption :: EncryptionType -> Text -> StartStreamEncryption
+ Amazonka.Kinesis: newStartStreamEncryptionResponse :: StartStreamEncryptionResponse
+ Amazonka.Kinesis: newStartingPosition :: ShardIteratorType -> StartingPosition
+ Amazonka.Kinesis: newStopStreamEncryption :: EncryptionType -> Text -> StopStreamEncryption
+ Amazonka.Kinesis: newStopStreamEncryptionResponse :: StopStreamEncryptionResponse
+ Amazonka.Kinesis: newStreamDescription :: Text -> Text -> StreamStatus -> Bool -> Int -> UTCTime -> StreamDescription
+ Amazonka.Kinesis: newStreamDescriptionSummary :: Text -> Text -> StreamStatus -> Int -> UTCTime -> Natural -> StreamDescriptionSummary
+ Amazonka.Kinesis: newStreamExists :: Wait DescribeStream
+ Amazonka.Kinesis: newStreamModeDetails :: StreamMode -> StreamModeDetails
+ Amazonka.Kinesis: newStreamNotExists :: Wait DescribeStream
+ Amazonka.Kinesis: newStreamSummary :: Text -> Text -> StreamStatus -> StreamSummary
+ Amazonka.Kinesis: newSubscribeToShard :: Text -> Text -> StartingPosition -> SubscribeToShard
+ Amazonka.Kinesis: newSubscribeToShardEvent :: Text -> Natural -> SubscribeToShardEvent
+ Amazonka.Kinesis: newSubscribeToShardResponse :: Int -> Value -> SubscribeToShardResponse
+ Amazonka.Kinesis: newTag :: Text -> Tag
+ Amazonka.Kinesis: newUpdateShardCount :: Natural -> ScalingType -> UpdateShardCount
+ Amazonka.Kinesis: newUpdateShardCountResponse :: Int -> UpdateShardCountResponse
+ Amazonka.Kinesis: newUpdateStreamMode :: Text -> StreamModeDetails -> UpdateStreamMode
+ Amazonka.Kinesis: newUpdateStreamModeResponse :: UpdateStreamModeResponse
+ Amazonka.Kinesis: newtype ConsumerStatus
+ Amazonka.Kinesis: newtype EncryptionType
+ Amazonka.Kinesis: newtype MetricsName
+ Amazonka.Kinesis: newtype ScalingType
+ Amazonka.Kinesis: newtype ShardFilterType
+ Amazonka.Kinesis: newtype ShardIteratorType
+ Amazonka.Kinesis: newtype StreamMode
+ Amazonka.Kinesis: newtype StreamStatus
+ Amazonka.Kinesis: pattern ConsumerStatus_ACTIVE :: ConsumerStatus
+ Amazonka.Kinesis: pattern ConsumerStatus_CREATING :: ConsumerStatus
+ Amazonka.Kinesis: pattern ConsumerStatus_DELETING :: ConsumerStatus
+ Amazonka.Kinesis: pattern EncryptionType_KMS :: EncryptionType
+ Amazonka.Kinesis: pattern EncryptionType_NONE :: EncryptionType
+ Amazonka.Kinesis: pattern MetricsName_ALL :: MetricsName
+ Amazonka.Kinesis: pattern MetricsName_IncomingBytes :: MetricsName
+ Amazonka.Kinesis: pattern MetricsName_IncomingRecords :: MetricsName
+ Amazonka.Kinesis: pattern MetricsName_IteratorAgeMilliseconds :: MetricsName
+ Amazonka.Kinesis: pattern MetricsName_OutgoingBytes :: MetricsName
+ Amazonka.Kinesis: pattern MetricsName_OutgoingRecords :: MetricsName
+ Amazonka.Kinesis: pattern MetricsName_ReadProvisionedThroughputExceeded :: MetricsName
+ Amazonka.Kinesis: pattern MetricsName_WriteProvisionedThroughputExceeded :: MetricsName
+ Amazonka.Kinesis: pattern ScalingType_UNIFORM_SCALING :: ScalingType
+ Amazonka.Kinesis: pattern ShardFilterType_AFTER_SHARD_ID :: ShardFilterType
+ Amazonka.Kinesis: pattern ShardFilterType_AT_LATEST :: ShardFilterType
+ Amazonka.Kinesis: pattern ShardFilterType_AT_TIMESTAMP :: ShardFilterType
+ Amazonka.Kinesis: pattern ShardFilterType_AT_TRIM_HORIZON :: ShardFilterType
+ Amazonka.Kinesis: pattern ShardFilterType_FROM_TIMESTAMP :: ShardFilterType
+ Amazonka.Kinesis: pattern ShardFilterType_FROM_TRIM_HORIZON :: ShardFilterType
+ Amazonka.Kinesis: pattern ShardIteratorType_AFTER_SEQUENCE_NUMBER :: ShardIteratorType
+ Amazonka.Kinesis: pattern ShardIteratorType_AT_SEQUENCE_NUMBER :: ShardIteratorType
+ Amazonka.Kinesis: pattern ShardIteratorType_AT_TIMESTAMP :: ShardIteratorType
+ Amazonka.Kinesis: pattern ShardIteratorType_LATEST :: ShardIteratorType
+ Amazonka.Kinesis: pattern ShardIteratorType_TRIM_HORIZON :: ShardIteratorType
+ Amazonka.Kinesis: pattern StreamMode_ON_DEMAND :: StreamMode
+ Amazonka.Kinesis: pattern StreamMode_PROVISIONED :: StreamMode
+ Amazonka.Kinesis: pattern StreamStatus_ACTIVE :: StreamStatus
+ Amazonka.Kinesis: pattern StreamStatus_CREATING :: StreamStatus
+ Amazonka.Kinesis: pattern StreamStatus_DELETING :: StreamStatus
+ Amazonka.Kinesis: pattern StreamStatus_UPDATING :: StreamStatus
+ Amazonka.Kinesis.AddTagsToStream: AddTagsToStream' :: Maybe Text -> Maybe Text -> HashMap Text Text -> AddTagsToStream
+ Amazonka.Kinesis.AddTagsToStream: AddTagsToStreamResponse' :: AddTagsToStreamResponse
+ Amazonka.Kinesis.AddTagsToStream: [$sel:streamARN:AddTagsToStream'] :: AddTagsToStream -> Maybe Text
+ Amazonka.Kinesis.AddTagsToStream: [$sel:streamName:AddTagsToStream'] :: AddTagsToStream -> Maybe Text
+ Amazonka.Kinesis.AddTagsToStream: [$sel:tags:AddTagsToStream'] :: AddTagsToStream -> HashMap Text Text
+ Amazonka.Kinesis.AddTagsToStream: addTagsToStream_streamARN :: Lens' AddTagsToStream (Maybe Text)
+ Amazonka.Kinesis.AddTagsToStream: addTagsToStream_streamName :: Lens' AddTagsToStream (Maybe Text)
+ Amazonka.Kinesis.AddTagsToStream: addTagsToStream_tags :: Lens' AddTagsToStream (HashMap Text Text)
+ Amazonka.Kinesis.AddTagsToStream: data AddTagsToStream
+ Amazonka.Kinesis.AddTagsToStream: data AddTagsToStreamResponse
+ Amazonka.Kinesis.AddTagsToStream: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.AddTagsToStream.AddTagsToStream
+ Amazonka.Kinesis.AddTagsToStream: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.AddTagsToStream.AddTagsToStream
+ Amazonka.Kinesis.AddTagsToStream: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.AddTagsToStream.AddTagsToStream
+ Amazonka.Kinesis.AddTagsToStream: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.AddTagsToStream.AddTagsToStream
+ Amazonka.Kinesis.AddTagsToStream: instance Control.DeepSeq.NFData Amazonka.Kinesis.AddTagsToStream.AddTagsToStream
+ Amazonka.Kinesis.AddTagsToStream: instance Control.DeepSeq.NFData Amazonka.Kinesis.AddTagsToStream.AddTagsToStreamResponse
+ Amazonka.Kinesis.AddTagsToStream: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.AddTagsToStream.AddTagsToStream
+ Amazonka.Kinesis.AddTagsToStream: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.AddTagsToStream.AddTagsToStream
+ Amazonka.Kinesis.AddTagsToStream: instance GHC.Classes.Eq Amazonka.Kinesis.AddTagsToStream.AddTagsToStream
+ Amazonka.Kinesis.AddTagsToStream: instance GHC.Classes.Eq Amazonka.Kinesis.AddTagsToStream.AddTagsToStreamResponse
+ Amazonka.Kinesis.AddTagsToStream: instance GHC.Generics.Generic Amazonka.Kinesis.AddTagsToStream.AddTagsToStream
+ Amazonka.Kinesis.AddTagsToStream: instance GHC.Generics.Generic Amazonka.Kinesis.AddTagsToStream.AddTagsToStreamResponse
+ Amazonka.Kinesis.AddTagsToStream: instance GHC.Read.Read Amazonka.Kinesis.AddTagsToStream.AddTagsToStream
+ Amazonka.Kinesis.AddTagsToStream: instance GHC.Read.Read Amazonka.Kinesis.AddTagsToStream.AddTagsToStreamResponse
+ Amazonka.Kinesis.AddTagsToStream: instance GHC.Show.Show Amazonka.Kinesis.AddTagsToStream.AddTagsToStream
+ Amazonka.Kinesis.AddTagsToStream: instance GHC.Show.Show Amazonka.Kinesis.AddTagsToStream.AddTagsToStreamResponse
+ Amazonka.Kinesis.AddTagsToStream: newAddTagsToStream :: AddTagsToStream
+ Amazonka.Kinesis.AddTagsToStream: newAddTagsToStreamResponse :: AddTagsToStreamResponse
+ Amazonka.Kinesis.CreateStream: CreateStream' :: Maybe Natural -> Maybe StreamModeDetails -> Text -> CreateStream
+ Amazonka.Kinesis.CreateStream: CreateStreamResponse' :: CreateStreamResponse
+ Amazonka.Kinesis.CreateStream: [$sel:shardCount:CreateStream'] :: CreateStream -> Maybe Natural
+ Amazonka.Kinesis.CreateStream: [$sel:streamModeDetails:CreateStream'] :: CreateStream -> Maybe StreamModeDetails
+ Amazonka.Kinesis.CreateStream: [$sel:streamName:CreateStream'] :: CreateStream -> Text
+ Amazonka.Kinesis.CreateStream: createStream_shardCount :: Lens' CreateStream (Maybe Natural)
+ Amazonka.Kinesis.CreateStream: createStream_streamModeDetails :: Lens' CreateStream (Maybe StreamModeDetails)
+ Amazonka.Kinesis.CreateStream: createStream_streamName :: Lens' CreateStream Text
+ Amazonka.Kinesis.CreateStream: data CreateStream
+ Amazonka.Kinesis.CreateStream: data CreateStreamResponse
+ Amazonka.Kinesis.CreateStream: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.CreateStream.CreateStream
+ Amazonka.Kinesis.CreateStream: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.CreateStream.CreateStream
+ Amazonka.Kinesis.CreateStream: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.CreateStream.CreateStream
+ Amazonka.Kinesis.CreateStream: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.CreateStream.CreateStream
+ Amazonka.Kinesis.CreateStream: instance Control.DeepSeq.NFData Amazonka.Kinesis.CreateStream.CreateStream
+ Amazonka.Kinesis.CreateStream: instance Control.DeepSeq.NFData Amazonka.Kinesis.CreateStream.CreateStreamResponse
+ Amazonka.Kinesis.CreateStream: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.CreateStream.CreateStream
+ Amazonka.Kinesis.CreateStream: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.CreateStream.CreateStream
+ Amazonka.Kinesis.CreateStream: instance GHC.Classes.Eq Amazonka.Kinesis.CreateStream.CreateStream
+ Amazonka.Kinesis.CreateStream: instance GHC.Classes.Eq Amazonka.Kinesis.CreateStream.CreateStreamResponse
+ Amazonka.Kinesis.CreateStream: instance GHC.Generics.Generic Amazonka.Kinesis.CreateStream.CreateStream
+ Amazonka.Kinesis.CreateStream: instance GHC.Generics.Generic Amazonka.Kinesis.CreateStream.CreateStreamResponse
+ Amazonka.Kinesis.CreateStream: instance GHC.Read.Read Amazonka.Kinesis.CreateStream.CreateStream
+ Amazonka.Kinesis.CreateStream: instance GHC.Read.Read Amazonka.Kinesis.CreateStream.CreateStreamResponse
+ Amazonka.Kinesis.CreateStream: instance GHC.Show.Show Amazonka.Kinesis.CreateStream.CreateStream
+ Amazonka.Kinesis.CreateStream: instance GHC.Show.Show Amazonka.Kinesis.CreateStream.CreateStreamResponse
+ Amazonka.Kinesis.CreateStream: newCreateStream :: Text -> CreateStream
+ Amazonka.Kinesis.CreateStream: newCreateStreamResponse :: CreateStreamResponse
+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod: DecreaseStreamRetentionPeriod' :: Maybe Text -> Maybe Text -> Int -> DecreaseStreamRetentionPeriod
+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod: DecreaseStreamRetentionPeriodResponse' :: DecreaseStreamRetentionPeriodResponse
+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod: [$sel:retentionPeriodHours:DecreaseStreamRetentionPeriod'] :: DecreaseStreamRetentionPeriod -> Int
+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod: [$sel:streamARN:DecreaseStreamRetentionPeriod'] :: DecreaseStreamRetentionPeriod -> Maybe Text
+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod: [$sel:streamName:DecreaseStreamRetentionPeriod'] :: DecreaseStreamRetentionPeriod -> Maybe Text
+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod: data DecreaseStreamRetentionPeriod
+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod: data DecreaseStreamRetentionPeriodResponse
+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod: decreaseStreamRetentionPeriod_retentionPeriodHours :: Lens' DecreaseStreamRetentionPeriod Int
+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod: decreaseStreamRetentionPeriod_streamARN :: Lens' DecreaseStreamRetentionPeriod (Maybe Text)
+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod: decreaseStreamRetentionPeriod_streamName :: Lens' DecreaseStreamRetentionPeriod (Maybe Text)
+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriod
+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriod
+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriod
+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriod
+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod: instance Control.DeepSeq.NFData Amazonka.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriod
+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod: instance Control.DeepSeq.NFData Amazonka.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriodResponse
+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriod
+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriod
+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod: instance GHC.Classes.Eq Amazonka.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriod
+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod: instance GHC.Classes.Eq Amazonka.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriodResponse
+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod: instance GHC.Generics.Generic Amazonka.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriod
+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod: instance GHC.Generics.Generic Amazonka.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriodResponse
+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod: instance GHC.Read.Read Amazonka.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriod
+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod: instance GHC.Read.Read Amazonka.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriodResponse
+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod: instance GHC.Show.Show Amazonka.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriod
+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod: instance GHC.Show.Show Amazonka.Kinesis.DecreaseStreamRetentionPeriod.DecreaseStreamRetentionPeriodResponse
+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod: newDecreaseStreamRetentionPeriod :: Int -> DecreaseStreamRetentionPeriod
+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod: newDecreaseStreamRetentionPeriodResponse :: DecreaseStreamRetentionPeriodResponse
+ Amazonka.Kinesis.DeleteStream: DeleteStream' :: Maybe Bool -> Maybe Text -> Maybe Text -> DeleteStream
+ Amazonka.Kinesis.DeleteStream: DeleteStreamResponse' :: DeleteStreamResponse
+ Amazonka.Kinesis.DeleteStream: [$sel:enforceConsumerDeletion:DeleteStream'] :: DeleteStream -> Maybe Bool
+ Amazonka.Kinesis.DeleteStream: [$sel:streamARN:DeleteStream'] :: DeleteStream -> Maybe Text
+ Amazonka.Kinesis.DeleteStream: [$sel:streamName:DeleteStream'] :: DeleteStream -> Maybe Text
+ Amazonka.Kinesis.DeleteStream: data DeleteStream
+ Amazonka.Kinesis.DeleteStream: data DeleteStreamResponse
+ Amazonka.Kinesis.DeleteStream: deleteStream_enforceConsumerDeletion :: Lens' DeleteStream (Maybe Bool)
+ Amazonka.Kinesis.DeleteStream: deleteStream_streamARN :: Lens' DeleteStream (Maybe Text)
+ Amazonka.Kinesis.DeleteStream: deleteStream_streamName :: Lens' DeleteStream (Maybe Text)
+ Amazonka.Kinesis.DeleteStream: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.DeleteStream.DeleteStream
+ Amazonka.Kinesis.DeleteStream: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.DeleteStream.DeleteStream
+ Amazonka.Kinesis.DeleteStream: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.DeleteStream.DeleteStream
+ Amazonka.Kinesis.DeleteStream: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.DeleteStream.DeleteStream
+ Amazonka.Kinesis.DeleteStream: instance Control.DeepSeq.NFData Amazonka.Kinesis.DeleteStream.DeleteStream
+ Amazonka.Kinesis.DeleteStream: instance Control.DeepSeq.NFData Amazonka.Kinesis.DeleteStream.DeleteStreamResponse
+ Amazonka.Kinesis.DeleteStream: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.DeleteStream.DeleteStream
+ Amazonka.Kinesis.DeleteStream: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.DeleteStream.DeleteStream
+ Amazonka.Kinesis.DeleteStream: instance GHC.Classes.Eq Amazonka.Kinesis.DeleteStream.DeleteStream
+ Amazonka.Kinesis.DeleteStream: instance GHC.Classes.Eq Amazonka.Kinesis.DeleteStream.DeleteStreamResponse
+ Amazonka.Kinesis.DeleteStream: instance GHC.Generics.Generic Amazonka.Kinesis.DeleteStream.DeleteStream
+ Amazonka.Kinesis.DeleteStream: instance GHC.Generics.Generic Amazonka.Kinesis.DeleteStream.DeleteStreamResponse
+ Amazonka.Kinesis.DeleteStream: instance GHC.Read.Read Amazonka.Kinesis.DeleteStream.DeleteStream
+ Amazonka.Kinesis.DeleteStream: instance GHC.Read.Read Amazonka.Kinesis.DeleteStream.DeleteStreamResponse
+ Amazonka.Kinesis.DeleteStream: instance GHC.Show.Show Amazonka.Kinesis.DeleteStream.DeleteStream
+ Amazonka.Kinesis.DeleteStream: instance GHC.Show.Show Amazonka.Kinesis.DeleteStream.DeleteStreamResponse
+ Amazonka.Kinesis.DeleteStream: newDeleteStream :: DeleteStream
+ Amazonka.Kinesis.DeleteStream: newDeleteStreamResponse :: DeleteStreamResponse
+ Amazonka.Kinesis.DeregisterStreamConsumer: DeregisterStreamConsumer' :: Maybe Text -> Maybe Text -> Maybe Text -> DeregisterStreamConsumer
+ Amazonka.Kinesis.DeregisterStreamConsumer: DeregisterStreamConsumerResponse' :: DeregisterStreamConsumerResponse
+ Amazonka.Kinesis.DeregisterStreamConsumer: [$sel:consumerARN:DeregisterStreamConsumer'] :: DeregisterStreamConsumer -> Maybe Text
+ Amazonka.Kinesis.DeregisterStreamConsumer: [$sel:consumerName:DeregisterStreamConsumer'] :: DeregisterStreamConsumer -> Maybe Text
+ Amazonka.Kinesis.DeregisterStreamConsumer: [$sel:streamARN:DeregisterStreamConsumer'] :: DeregisterStreamConsumer -> Maybe Text
+ Amazonka.Kinesis.DeregisterStreamConsumer: data DeregisterStreamConsumer
+ Amazonka.Kinesis.DeregisterStreamConsumer: data DeregisterStreamConsumerResponse
+ Amazonka.Kinesis.DeregisterStreamConsumer: deregisterStreamConsumer_consumerARN :: Lens' DeregisterStreamConsumer (Maybe Text)
+ Amazonka.Kinesis.DeregisterStreamConsumer: deregisterStreamConsumer_consumerName :: Lens' DeregisterStreamConsumer (Maybe Text)
+ Amazonka.Kinesis.DeregisterStreamConsumer: deregisterStreamConsumer_streamARN :: Lens' DeregisterStreamConsumer (Maybe Text)
+ Amazonka.Kinesis.DeregisterStreamConsumer: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.DeregisterStreamConsumer.DeregisterStreamConsumer
+ Amazonka.Kinesis.DeregisterStreamConsumer: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.DeregisterStreamConsumer.DeregisterStreamConsumer
+ Amazonka.Kinesis.DeregisterStreamConsumer: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.DeregisterStreamConsumer.DeregisterStreamConsumer
+ Amazonka.Kinesis.DeregisterStreamConsumer: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.DeregisterStreamConsumer.DeregisterStreamConsumer
+ Amazonka.Kinesis.DeregisterStreamConsumer: instance Control.DeepSeq.NFData Amazonka.Kinesis.DeregisterStreamConsumer.DeregisterStreamConsumer
+ Amazonka.Kinesis.DeregisterStreamConsumer: instance Control.DeepSeq.NFData Amazonka.Kinesis.DeregisterStreamConsumer.DeregisterStreamConsumerResponse
+ Amazonka.Kinesis.DeregisterStreamConsumer: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.DeregisterStreamConsumer.DeregisterStreamConsumer
+ Amazonka.Kinesis.DeregisterStreamConsumer: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.DeregisterStreamConsumer.DeregisterStreamConsumer
+ Amazonka.Kinesis.DeregisterStreamConsumer: instance GHC.Classes.Eq Amazonka.Kinesis.DeregisterStreamConsumer.DeregisterStreamConsumer
+ Amazonka.Kinesis.DeregisterStreamConsumer: instance GHC.Classes.Eq Amazonka.Kinesis.DeregisterStreamConsumer.DeregisterStreamConsumerResponse
+ Amazonka.Kinesis.DeregisterStreamConsumer: instance GHC.Generics.Generic Amazonka.Kinesis.DeregisterStreamConsumer.DeregisterStreamConsumer
+ Amazonka.Kinesis.DeregisterStreamConsumer: instance GHC.Generics.Generic Amazonka.Kinesis.DeregisterStreamConsumer.DeregisterStreamConsumerResponse
+ Amazonka.Kinesis.DeregisterStreamConsumer: instance GHC.Read.Read Amazonka.Kinesis.DeregisterStreamConsumer.DeregisterStreamConsumer
+ Amazonka.Kinesis.DeregisterStreamConsumer: instance GHC.Read.Read Amazonka.Kinesis.DeregisterStreamConsumer.DeregisterStreamConsumerResponse
+ Amazonka.Kinesis.DeregisterStreamConsumer: instance GHC.Show.Show Amazonka.Kinesis.DeregisterStreamConsumer.DeregisterStreamConsumer
+ Amazonka.Kinesis.DeregisterStreamConsumer: instance GHC.Show.Show Amazonka.Kinesis.DeregisterStreamConsumer.DeregisterStreamConsumerResponse
+ Amazonka.Kinesis.DeregisterStreamConsumer: newDeregisterStreamConsumer :: DeregisterStreamConsumer
+ Amazonka.Kinesis.DeregisterStreamConsumer: newDeregisterStreamConsumerResponse :: DeregisterStreamConsumerResponse
+ Amazonka.Kinesis.DescribeLimits: DescribeLimits' :: DescribeLimits
+ Amazonka.Kinesis.DescribeLimits: DescribeLimitsResponse' :: Int -> Natural -> Natural -> Natural -> Natural -> DescribeLimitsResponse
+ Amazonka.Kinesis.DescribeLimits: [$sel:httpStatus:DescribeLimitsResponse'] :: DescribeLimitsResponse -> Int
+ Amazonka.Kinesis.DescribeLimits: [$sel:onDemandStreamCount:DescribeLimitsResponse'] :: DescribeLimitsResponse -> Natural
+ Amazonka.Kinesis.DescribeLimits: [$sel:onDemandStreamCountLimit:DescribeLimitsResponse'] :: DescribeLimitsResponse -> Natural
+ Amazonka.Kinesis.DescribeLimits: [$sel:openShardCount:DescribeLimitsResponse'] :: DescribeLimitsResponse -> Natural
+ Amazonka.Kinesis.DescribeLimits: [$sel:shardLimit:DescribeLimitsResponse'] :: DescribeLimitsResponse -> Natural
+ Amazonka.Kinesis.DescribeLimits: data DescribeLimits
+ Amazonka.Kinesis.DescribeLimits: data DescribeLimitsResponse
+ Amazonka.Kinesis.DescribeLimits: describeLimitsResponse_httpStatus :: Lens' DescribeLimitsResponse Int
+ Amazonka.Kinesis.DescribeLimits: describeLimitsResponse_onDemandStreamCount :: Lens' DescribeLimitsResponse Natural
+ Amazonka.Kinesis.DescribeLimits: describeLimitsResponse_onDemandStreamCountLimit :: Lens' DescribeLimitsResponse Natural
+ Amazonka.Kinesis.DescribeLimits: describeLimitsResponse_openShardCount :: Lens' DescribeLimitsResponse Natural
+ Amazonka.Kinesis.DescribeLimits: describeLimitsResponse_shardLimit :: Lens' DescribeLimitsResponse Natural
+ Amazonka.Kinesis.DescribeLimits: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.DescribeLimits.DescribeLimits
+ Amazonka.Kinesis.DescribeLimits: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.DescribeLimits.DescribeLimits
+ Amazonka.Kinesis.DescribeLimits: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.DescribeLimits.DescribeLimits
+ Amazonka.Kinesis.DescribeLimits: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.DescribeLimits.DescribeLimits
+ Amazonka.Kinesis.DescribeLimits: instance Control.DeepSeq.NFData Amazonka.Kinesis.DescribeLimits.DescribeLimits
+ Amazonka.Kinesis.DescribeLimits: instance Control.DeepSeq.NFData Amazonka.Kinesis.DescribeLimits.DescribeLimitsResponse
+ Amazonka.Kinesis.DescribeLimits: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.DescribeLimits.DescribeLimits
+ Amazonka.Kinesis.DescribeLimits: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.DescribeLimits.DescribeLimits
+ Amazonka.Kinesis.DescribeLimits: instance GHC.Classes.Eq Amazonka.Kinesis.DescribeLimits.DescribeLimits
+ Amazonka.Kinesis.DescribeLimits: instance GHC.Classes.Eq Amazonka.Kinesis.DescribeLimits.DescribeLimitsResponse
+ Amazonka.Kinesis.DescribeLimits: instance GHC.Generics.Generic Amazonka.Kinesis.DescribeLimits.DescribeLimits
+ Amazonka.Kinesis.DescribeLimits: instance GHC.Generics.Generic Amazonka.Kinesis.DescribeLimits.DescribeLimitsResponse
+ Amazonka.Kinesis.DescribeLimits: instance GHC.Read.Read Amazonka.Kinesis.DescribeLimits.DescribeLimits
+ Amazonka.Kinesis.DescribeLimits: instance GHC.Read.Read Amazonka.Kinesis.DescribeLimits.DescribeLimitsResponse
+ Amazonka.Kinesis.DescribeLimits: instance GHC.Show.Show Amazonka.Kinesis.DescribeLimits.DescribeLimits
+ Amazonka.Kinesis.DescribeLimits: instance GHC.Show.Show Amazonka.Kinesis.DescribeLimits.DescribeLimitsResponse
+ Amazonka.Kinesis.DescribeLimits: newDescribeLimits :: DescribeLimits
+ Amazonka.Kinesis.DescribeLimits: newDescribeLimitsResponse :: Int -> Natural -> Natural -> Natural -> Natural -> DescribeLimitsResponse
+ Amazonka.Kinesis.DescribeStream: DescribeStream' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> DescribeStream
+ Amazonka.Kinesis.DescribeStream: DescribeStreamResponse' :: Int -> StreamDescription -> DescribeStreamResponse
+ Amazonka.Kinesis.DescribeStream: [$sel:exclusiveStartShardId:DescribeStream'] :: DescribeStream -> Maybe Text
+ Amazonka.Kinesis.DescribeStream: [$sel:httpStatus:DescribeStreamResponse'] :: DescribeStreamResponse -> Int
+ Amazonka.Kinesis.DescribeStream: [$sel:limit:DescribeStream'] :: DescribeStream -> Maybe Natural
+ Amazonka.Kinesis.DescribeStream: [$sel:streamARN:DescribeStream'] :: DescribeStream -> Maybe Text
+ Amazonka.Kinesis.DescribeStream: [$sel:streamDescription:DescribeStreamResponse'] :: DescribeStreamResponse -> StreamDescription
+ Amazonka.Kinesis.DescribeStream: [$sel:streamName:DescribeStream'] :: DescribeStream -> Maybe Text
+ Amazonka.Kinesis.DescribeStream: data DescribeStream
+ Amazonka.Kinesis.DescribeStream: data DescribeStreamResponse
+ Amazonka.Kinesis.DescribeStream: describeStreamResponse_httpStatus :: Lens' DescribeStreamResponse Int
+ Amazonka.Kinesis.DescribeStream: describeStreamResponse_streamDescription :: Lens' DescribeStreamResponse StreamDescription
+ Amazonka.Kinesis.DescribeStream: describeStream_exclusiveStartShardId :: Lens' DescribeStream (Maybe Text)
+ Amazonka.Kinesis.DescribeStream: describeStream_limit :: Lens' DescribeStream (Maybe Natural)
+ Amazonka.Kinesis.DescribeStream: describeStream_streamARN :: Lens' DescribeStream (Maybe Text)
+ Amazonka.Kinesis.DescribeStream: describeStream_streamName :: Lens' DescribeStream (Maybe Text)
+ Amazonka.Kinesis.DescribeStream: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.DescribeStream.DescribeStream
+ Amazonka.Kinesis.DescribeStream: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.DescribeStream.DescribeStream
+ Amazonka.Kinesis.DescribeStream: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.DescribeStream.DescribeStream
+ Amazonka.Kinesis.DescribeStream: instance Amazonka.Pager.AWSPager Amazonka.Kinesis.DescribeStream.DescribeStream
+ Amazonka.Kinesis.DescribeStream: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.DescribeStream.DescribeStream
+ Amazonka.Kinesis.DescribeStream: instance Control.DeepSeq.NFData Amazonka.Kinesis.DescribeStream.DescribeStream
+ Amazonka.Kinesis.DescribeStream: instance Control.DeepSeq.NFData Amazonka.Kinesis.DescribeStream.DescribeStreamResponse
+ Amazonka.Kinesis.DescribeStream: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.DescribeStream.DescribeStream
+ Amazonka.Kinesis.DescribeStream: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.DescribeStream.DescribeStream
+ Amazonka.Kinesis.DescribeStream: instance GHC.Classes.Eq Amazonka.Kinesis.DescribeStream.DescribeStream
+ Amazonka.Kinesis.DescribeStream: instance GHC.Classes.Eq Amazonka.Kinesis.DescribeStream.DescribeStreamResponse
+ Amazonka.Kinesis.DescribeStream: instance GHC.Generics.Generic Amazonka.Kinesis.DescribeStream.DescribeStream
+ Amazonka.Kinesis.DescribeStream: instance GHC.Generics.Generic Amazonka.Kinesis.DescribeStream.DescribeStreamResponse
+ Amazonka.Kinesis.DescribeStream: instance GHC.Read.Read Amazonka.Kinesis.DescribeStream.DescribeStream
+ Amazonka.Kinesis.DescribeStream: instance GHC.Read.Read Amazonka.Kinesis.DescribeStream.DescribeStreamResponse
+ Amazonka.Kinesis.DescribeStream: instance GHC.Show.Show Amazonka.Kinesis.DescribeStream.DescribeStream
+ Amazonka.Kinesis.DescribeStream: instance GHC.Show.Show Amazonka.Kinesis.DescribeStream.DescribeStreamResponse
+ Amazonka.Kinesis.DescribeStream: newDescribeStream :: DescribeStream
+ Amazonka.Kinesis.DescribeStream: newDescribeStreamResponse :: Int -> StreamDescription -> DescribeStreamResponse
+ Amazonka.Kinesis.DescribeStreamConsumer: DescribeStreamConsumer' :: Maybe Text -> Maybe Text -> Maybe Text -> DescribeStreamConsumer
+ Amazonka.Kinesis.DescribeStreamConsumer: DescribeStreamConsumerResponse' :: Int -> ConsumerDescription -> DescribeStreamConsumerResponse
+ Amazonka.Kinesis.DescribeStreamConsumer: [$sel:consumerARN:DescribeStreamConsumer'] :: DescribeStreamConsumer -> Maybe Text
+ Amazonka.Kinesis.DescribeStreamConsumer: [$sel:consumerDescription:DescribeStreamConsumerResponse'] :: DescribeStreamConsumerResponse -> ConsumerDescription
+ Amazonka.Kinesis.DescribeStreamConsumer: [$sel:consumerName:DescribeStreamConsumer'] :: DescribeStreamConsumer -> Maybe Text
+ Amazonka.Kinesis.DescribeStreamConsumer: [$sel:httpStatus:DescribeStreamConsumerResponse'] :: DescribeStreamConsumerResponse -> Int
+ Amazonka.Kinesis.DescribeStreamConsumer: [$sel:streamARN:DescribeStreamConsumer'] :: DescribeStreamConsumer -> Maybe Text
+ Amazonka.Kinesis.DescribeStreamConsumer: data DescribeStreamConsumer
+ Amazonka.Kinesis.DescribeStreamConsumer: data DescribeStreamConsumerResponse
+ Amazonka.Kinesis.DescribeStreamConsumer: describeStreamConsumerResponse_consumerDescription :: Lens' DescribeStreamConsumerResponse ConsumerDescription
+ Amazonka.Kinesis.DescribeStreamConsumer: describeStreamConsumerResponse_httpStatus :: Lens' DescribeStreamConsumerResponse Int
+ Amazonka.Kinesis.DescribeStreamConsumer: describeStreamConsumer_consumerARN :: Lens' DescribeStreamConsumer (Maybe Text)
+ Amazonka.Kinesis.DescribeStreamConsumer: describeStreamConsumer_consumerName :: Lens' DescribeStreamConsumer (Maybe Text)
+ Amazonka.Kinesis.DescribeStreamConsumer: describeStreamConsumer_streamARN :: Lens' DescribeStreamConsumer (Maybe Text)
+ Amazonka.Kinesis.DescribeStreamConsumer: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.DescribeStreamConsumer.DescribeStreamConsumer
+ Amazonka.Kinesis.DescribeStreamConsumer: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.DescribeStreamConsumer.DescribeStreamConsumer
+ Amazonka.Kinesis.DescribeStreamConsumer: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.DescribeStreamConsumer.DescribeStreamConsumer
+ Amazonka.Kinesis.DescribeStreamConsumer: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.DescribeStreamConsumer.DescribeStreamConsumer
+ Amazonka.Kinesis.DescribeStreamConsumer: instance Control.DeepSeq.NFData Amazonka.Kinesis.DescribeStreamConsumer.DescribeStreamConsumer
+ Amazonka.Kinesis.DescribeStreamConsumer: instance Control.DeepSeq.NFData Amazonka.Kinesis.DescribeStreamConsumer.DescribeStreamConsumerResponse
+ Amazonka.Kinesis.DescribeStreamConsumer: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.DescribeStreamConsumer.DescribeStreamConsumer
+ Amazonka.Kinesis.DescribeStreamConsumer: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.DescribeStreamConsumer.DescribeStreamConsumer
+ Amazonka.Kinesis.DescribeStreamConsumer: instance GHC.Classes.Eq Amazonka.Kinesis.DescribeStreamConsumer.DescribeStreamConsumer
+ Amazonka.Kinesis.DescribeStreamConsumer: instance GHC.Classes.Eq Amazonka.Kinesis.DescribeStreamConsumer.DescribeStreamConsumerResponse
+ Amazonka.Kinesis.DescribeStreamConsumer: instance GHC.Generics.Generic Amazonka.Kinesis.DescribeStreamConsumer.DescribeStreamConsumer
+ Amazonka.Kinesis.DescribeStreamConsumer: instance GHC.Generics.Generic Amazonka.Kinesis.DescribeStreamConsumer.DescribeStreamConsumerResponse
+ Amazonka.Kinesis.DescribeStreamConsumer: instance GHC.Read.Read Amazonka.Kinesis.DescribeStreamConsumer.DescribeStreamConsumer
+ Amazonka.Kinesis.DescribeStreamConsumer: instance GHC.Read.Read Amazonka.Kinesis.DescribeStreamConsumer.DescribeStreamConsumerResponse
+ Amazonka.Kinesis.DescribeStreamConsumer: instance GHC.Show.Show Amazonka.Kinesis.DescribeStreamConsumer.DescribeStreamConsumer
+ Amazonka.Kinesis.DescribeStreamConsumer: instance GHC.Show.Show Amazonka.Kinesis.DescribeStreamConsumer.DescribeStreamConsumerResponse
+ Amazonka.Kinesis.DescribeStreamConsumer: newDescribeStreamConsumer :: DescribeStreamConsumer
+ Amazonka.Kinesis.DescribeStreamConsumer: newDescribeStreamConsumerResponse :: Int -> ConsumerDescription -> DescribeStreamConsumerResponse
+ Amazonka.Kinesis.DescribeStreamSummary: DescribeStreamSummary' :: Maybe Text -> Maybe Text -> DescribeStreamSummary
+ Amazonka.Kinesis.DescribeStreamSummary: DescribeStreamSummaryResponse' :: Int -> StreamDescriptionSummary -> DescribeStreamSummaryResponse
+ Amazonka.Kinesis.DescribeStreamSummary: [$sel:httpStatus:DescribeStreamSummaryResponse'] :: DescribeStreamSummaryResponse -> Int
+ Amazonka.Kinesis.DescribeStreamSummary: [$sel:streamARN:DescribeStreamSummary'] :: DescribeStreamSummary -> Maybe Text
+ Amazonka.Kinesis.DescribeStreamSummary: [$sel:streamDescriptionSummary:DescribeStreamSummaryResponse'] :: DescribeStreamSummaryResponse -> StreamDescriptionSummary
+ Amazonka.Kinesis.DescribeStreamSummary: [$sel:streamName:DescribeStreamSummary'] :: DescribeStreamSummary -> Maybe Text
+ Amazonka.Kinesis.DescribeStreamSummary: data DescribeStreamSummary
+ Amazonka.Kinesis.DescribeStreamSummary: data DescribeStreamSummaryResponse
+ Amazonka.Kinesis.DescribeStreamSummary: describeStreamSummaryResponse_httpStatus :: Lens' DescribeStreamSummaryResponse Int
+ Amazonka.Kinesis.DescribeStreamSummary: describeStreamSummaryResponse_streamDescriptionSummary :: Lens' DescribeStreamSummaryResponse StreamDescriptionSummary
+ Amazonka.Kinesis.DescribeStreamSummary: describeStreamSummary_streamARN :: Lens' DescribeStreamSummary (Maybe Text)
+ Amazonka.Kinesis.DescribeStreamSummary: describeStreamSummary_streamName :: Lens' DescribeStreamSummary (Maybe Text)
+ Amazonka.Kinesis.DescribeStreamSummary: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.DescribeStreamSummary.DescribeStreamSummary
+ Amazonka.Kinesis.DescribeStreamSummary: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.DescribeStreamSummary.DescribeStreamSummary
+ Amazonka.Kinesis.DescribeStreamSummary: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.DescribeStreamSummary.DescribeStreamSummary
+ Amazonka.Kinesis.DescribeStreamSummary: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.DescribeStreamSummary.DescribeStreamSummary
+ Amazonka.Kinesis.DescribeStreamSummary: instance Control.DeepSeq.NFData Amazonka.Kinesis.DescribeStreamSummary.DescribeStreamSummary
+ Amazonka.Kinesis.DescribeStreamSummary: instance Control.DeepSeq.NFData Amazonka.Kinesis.DescribeStreamSummary.DescribeStreamSummaryResponse
+ Amazonka.Kinesis.DescribeStreamSummary: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.DescribeStreamSummary.DescribeStreamSummary
+ Amazonka.Kinesis.DescribeStreamSummary: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.DescribeStreamSummary.DescribeStreamSummary
+ Amazonka.Kinesis.DescribeStreamSummary: instance GHC.Classes.Eq Amazonka.Kinesis.DescribeStreamSummary.DescribeStreamSummary
+ Amazonka.Kinesis.DescribeStreamSummary: instance GHC.Classes.Eq Amazonka.Kinesis.DescribeStreamSummary.DescribeStreamSummaryResponse
+ Amazonka.Kinesis.DescribeStreamSummary: instance GHC.Generics.Generic Amazonka.Kinesis.DescribeStreamSummary.DescribeStreamSummary
+ Amazonka.Kinesis.DescribeStreamSummary: instance GHC.Generics.Generic Amazonka.Kinesis.DescribeStreamSummary.DescribeStreamSummaryResponse
+ Amazonka.Kinesis.DescribeStreamSummary: instance GHC.Read.Read Amazonka.Kinesis.DescribeStreamSummary.DescribeStreamSummary
+ Amazonka.Kinesis.DescribeStreamSummary: instance GHC.Read.Read Amazonka.Kinesis.DescribeStreamSummary.DescribeStreamSummaryResponse
+ Amazonka.Kinesis.DescribeStreamSummary: instance GHC.Show.Show Amazonka.Kinesis.DescribeStreamSummary.DescribeStreamSummary
+ Amazonka.Kinesis.DescribeStreamSummary: instance GHC.Show.Show Amazonka.Kinesis.DescribeStreamSummary.DescribeStreamSummaryResponse
+ Amazonka.Kinesis.DescribeStreamSummary: newDescribeStreamSummary :: DescribeStreamSummary
+ Amazonka.Kinesis.DescribeStreamSummary: newDescribeStreamSummaryResponse :: Int -> StreamDescriptionSummary -> DescribeStreamSummaryResponse
+ Amazonka.Kinesis.DisableEnhancedMonitoring: DisableEnhancedMonitoring' :: Maybe Text -> Maybe Text -> [MetricsName] -> DisableEnhancedMonitoring
+ Amazonka.Kinesis.DisableEnhancedMonitoring: EnhancedMonitoringOutput' :: Maybe [MetricsName] -> Maybe [MetricsName] -> Maybe Text -> Maybe Text -> EnhancedMonitoringOutput
+ Amazonka.Kinesis.DisableEnhancedMonitoring: [$sel:currentShardLevelMetrics:EnhancedMonitoringOutput'] :: EnhancedMonitoringOutput -> Maybe [MetricsName]
+ Amazonka.Kinesis.DisableEnhancedMonitoring: [$sel:desiredShardLevelMetrics:EnhancedMonitoringOutput'] :: EnhancedMonitoringOutput -> Maybe [MetricsName]
+ Amazonka.Kinesis.DisableEnhancedMonitoring: [$sel:shardLevelMetrics:DisableEnhancedMonitoring'] :: DisableEnhancedMonitoring -> [MetricsName]
+ Amazonka.Kinesis.DisableEnhancedMonitoring: [$sel:streamARN:DisableEnhancedMonitoring'] :: DisableEnhancedMonitoring -> Maybe Text
+ Amazonka.Kinesis.DisableEnhancedMonitoring: [$sel:streamARN:EnhancedMonitoringOutput'] :: EnhancedMonitoringOutput -> Maybe Text
+ Amazonka.Kinesis.DisableEnhancedMonitoring: [$sel:streamName:DisableEnhancedMonitoring'] :: DisableEnhancedMonitoring -> Maybe Text
+ Amazonka.Kinesis.DisableEnhancedMonitoring: [$sel:streamName:EnhancedMonitoringOutput'] :: EnhancedMonitoringOutput -> Maybe Text
+ Amazonka.Kinesis.DisableEnhancedMonitoring: data DisableEnhancedMonitoring
+ Amazonka.Kinesis.DisableEnhancedMonitoring: data EnhancedMonitoringOutput
+ Amazonka.Kinesis.DisableEnhancedMonitoring: disableEnhancedMonitoring_shardLevelMetrics :: Lens' DisableEnhancedMonitoring [MetricsName]
+ Amazonka.Kinesis.DisableEnhancedMonitoring: disableEnhancedMonitoring_streamARN :: Lens' DisableEnhancedMonitoring (Maybe Text)
+ Amazonka.Kinesis.DisableEnhancedMonitoring: disableEnhancedMonitoring_streamName :: Lens' DisableEnhancedMonitoring (Maybe Text)
+ Amazonka.Kinesis.DisableEnhancedMonitoring: enhancedMonitoringOutput_currentShardLevelMetrics :: Lens' EnhancedMonitoringOutput (Maybe [MetricsName])
+ Amazonka.Kinesis.DisableEnhancedMonitoring: enhancedMonitoringOutput_desiredShardLevelMetrics :: Lens' EnhancedMonitoringOutput (Maybe [MetricsName])
+ Amazonka.Kinesis.DisableEnhancedMonitoring: enhancedMonitoringOutput_streamARN :: Lens' EnhancedMonitoringOutput (Maybe Text)
+ Amazonka.Kinesis.DisableEnhancedMonitoring: enhancedMonitoringOutput_streamName :: Lens' EnhancedMonitoringOutput (Maybe Text)
+ Amazonka.Kinesis.DisableEnhancedMonitoring: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.DisableEnhancedMonitoring.DisableEnhancedMonitoring
+ Amazonka.Kinesis.DisableEnhancedMonitoring: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.DisableEnhancedMonitoring.DisableEnhancedMonitoring
+ Amazonka.Kinesis.DisableEnhancedMonitoring: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.DisableEnhancedMonitoring.DisableEnhancedMonitoring
+ Amazonka.Kinesis.DisableEnhancedMonitoring: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.DisableEnhancedMonitoring.DisableEnhancedMonitoring
+ Amazonka.Kinesis.DisableEnhancedMonitoring: instance Control.DeepSeq.NFData Amazonka.Kinesis.DisableEnhancedMonitoring.DisableEnhancedMonitoring
+ Amazonka.Kinesis.DisableEnhancedMonitoring: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.DisableEnhancedMonitoring.DisableEnhancedMonitoring
+ Amazonka.Kinesis.DisableEnhancedMonitoring: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.DisableEnhancedMonitoring.DisableEnhancedMonitoring
+ Amazonka.Kinesis.DisableEnhancedMonitoring: instance GHC.Classes.Eq Amazonka.Kinesis.DisableEnhancedMonitoring.DisableEnhancedMonitoring
+ Amazonka.Kinesis.DisableEnhancedMonitoring: instance GHC.Generics.Generic Amazonka.Kinesis.DisableEnhancedMonitoring.DisableEnhancedMonitoring
+ Amazonka.Kinesis.DisableEnhancedMonitoring: instance GHC.Read.Read Amazonka.Kinesis.DisableEnhancedMonitoring.DisableEnhancedMonitoring
+ Amazonka.Kinesis.DisableEnhancedMonitoring: instance GHC.Show.Show Amazonka.Kinesis.DisableEnhancedMonitoring.DisableEnhancedMonitoring
+ Amazonka.Kinesis.DisableEnhancedMonitoring: newDisableEnhancedMonitoring :: DisableEnhancedMonitoring
+ Amazonka.Kinesis.DisableEnhancedMonitoring: newEnhancedMonitoringOutput :: EnhancedMonitoringOutput
+ Amazonka.Kinesis.EnableEnhancedMonitoring: EnableEnhancedMonitoring' :: Maybe Text -> Maybe Text -> [MetricsName] -> EnableEnhancedMonitoring
+ Amazonka.Kinesis.EnableEnhancedMonitoring: EnhancedMonitoringOutput' :: Maybe [MetricsName] -> Maybe [MetricsName] -> Maybe Text -> Maybe Text -> EnhancedMonitoringOutput
+ Amazonka.Kinesis.EnableEnhancedMonitoring: [$sel:currentShardLevelMetrics:EnhancedMonitoringOutput'] :: EnhancedMonitoringOutput -> Maybe [MetricsName]
+ Amazonka.Kinesis.EnableEnhancedMonitoring: [$sel:desiredShardLevelMetrics:EnhancedMonitoringOutput'] :: EnhancedMonitoringOutput -> Maybe [MetricsName]
+ Amazonka.Kinesis.EnableEnhancedMonitoring: [$sel:shardLevelMetrics:EnableEnhancedMonitoring'] :: EnableEnhancedMonitoring -> [MetricsName]
+ Amazonka.Kinesis.EnableEnhancedMonitoring: [$sel:streamARN:EnableEnhancedMonitoring'] :: EnableEnhancedMonitoring -> Maybe Text
+ Amazonka.Kinesis.EnableEnhancedMonitoring: [$sel:streamARN:EnhancedMonitoringOutput'] :: EnhancedMonitoringOutput -> Maybe Text
+ Amazonka.Kinesis.EnableEnhancedMonitoring: [$sel:streamName:EnableEnhancedMonitoring'] :: EnableEnhancedMonitoring -> Maybe Text
+ Amazonka.Kinesis.EnableEnhancedMonitoring: [$sel:streamName:EnhancedMonitoringOutput'] :: EnhancedMonitoringOutput -> Maybe Text
+ Amazonka.Kinesis.EnableEnhancedMonitoring: data EnableEnhancedMonitoring
+ Amazonka.Kinesis.EnableEnhancedMonitoring: data EnhancedMonitoringOutput
+ Amazonka.Kinesis.EnableEnhancedMonitoring: enableEnhancedMonitoring_shardLevelMetrics :: Lens' EnableEnhancedMonitoring [MetricsName]
+ Amazonka.Kinesis.EnableEnhancedMonitoring: enableEnhancedMonitoring_streamARN :: Lens' EnableEnhancedMonitoring (Maybe Text)
+ Amazonka.Kinesis.EnableEnhancedMonitoring: enableEnhancedMonitoring_streamName :: Lens' EnableEnhancedMonitoring (Maybe Text)
+ Amazonka.Kinesis.EnableEnhancedMonitoring: enhancedMonitoringOutput_currentShardLevelMetrics :: Lens' EnhancedMonitoringOutput (Maybe [MetricsName])
+ Amazonka.Kinesis.EnableEnhancedMonitoring: enhancedMonitoringOutput_desiredShardLevelMetrics :: Lens' EnhancedMonitoringOutput (Maybe [MetricsName])
+ Amazonka.Kinesis.EnableEnhancedMonitoring: enhancedMonitoringOutput_streamARN :: Lens' EnhancedMonitoringOutput (Maybe Text)
+ Amazonka.Kinesis.EnableEnhancedMonitoring: enhancedMonitoringOutput_streamName :: Lens' EnhancedMonitoringOutput (Maybe Text)
+ Amazonka.Kinesis.EnableEnhancedMonitoring: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.EnableEnhancedMonitoring.EnableEnhancedMonitoring
+ Amazonka.Kinesis.EnableEnhancedMonitoring: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.EnableEnhancedMonitoring.EnableEnhancedMonitoring
+ Amazonka.Kinesis.EnableEnhancedMonitoring: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.EnableEnhancedMonitoring.EnableEnhancedMonitoring
+ Amazonka.Kinesis.EnableEnhancedMonitoring: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.EnableEnhancedMonitoring.EnableEnhancedMonitoring
+ Amazonka.Kinesis.EnableEnhancedMonitoring: instance Control.DeepSeq.NFData Amazonka.Kinesis.EnableEnhancedMonitoring.EnableEnhancedMonitoring
+ Amazonka.Kinesis.EnableEnhancedMonitoring: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.EnableEnhancedMonitoring.EnableEnhancedMonitoring
+ Amazonka.Kinesis.EnableEnhancedMonitoring: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.EnableEnhancedMonitoring.EnableEnhancedMonitoring
+ Amazonka.Kinesis.EnableEnhancedMonitoring: instance GHC.Classes.Eq Amazonka.Kinesis.EnableEnhancedMonitoring.EnableEnhancedMonitoring
+ Amazonka.Kinesis.EnableEnhancedMonitoring: instance GHC.Generics.Generic Amazonka.Kinesis.EnableEnhancedMonitoring.EnableEnhancedMonitoring
+ Amazonka.Kinesis.EnableEnhancedMonitoring: instance GHC.Read.Read Amazonka.Kinesis.EnableEnhancedMonitoring.EnableEnhancedMonitoring
+ Amazonka.Kinesis.EnableEnhancedMonitoring: instance GHC.Show.Show Amazonka.Kinesis.EnableEnhancedMonitoring.EnableEnhancedMonitoring
+ Amazonka.Kinesis.EnableEnhancedMonitoring: newEnableEnhancedMonitoring :: EnableEnhancedMonitoring
+ Amazonka.Kinesis.EnableEnhancedMonitoring: newEnhancedMonitoringOutput :: EnhancedMonitoringOutput
+ Amazonka.Kinesis.GetRecords: GetRecords' :: Maybe Natural -> Maybe Text -> Text -> GetRecords
+ Amazonka.Kinesis.GetRecords: GetRecordsResponse' :: Maybe [ChildShard] -> Maybe Natural -> Maybe Text -> Int -> [Record] -> GetRecordsResponse
+ Amazonka.Kinesis.GetRecords: [$sel:childShards:GetRecordsResponse'] :: GetRecordsResponse -> Maybe [ChildShard]
+ Amazonka.Kinesis.GetRecords: [$sel:httpStatus:GetRecordsResponse'] :: GetRecordsResponse -> Int
+ Amazonka.Kinesis.GetRecords: [$sel:limit:GetRecords'] :: GetRecords -> Maybe Natural
+ Amazonka.Kinesis.GetRecords: [$sel:millisBehindLatest:GetRecordsResponse'] :: GetRecordsResponse -> Maybe Natural
+ Amazonka.Kinesis.GetRecords: [$sel:nextShardIterator:GetRecordsResponse'] :: GetRecordsResponse -> Maybe Text
+ Amazonka.Kinesis.GetRecords: [$sel:records:GetRecordsResponse'] :: GetRecordsResponse -> [Record]
+ Amazonka.Kinesis.GetRecords: [$sel:shardIterator:GetRecords'] :: GetRecords -> Text
+ Amazonka.Kinesis.GetRecords: [$sel:streamARN:GetRecords'] :: GetRecords -> Maybe Text
+ Amazonka.Kinesis.GetRecords: data GetRecords
+ Amazonka.Kinesis.GetRecords: data GetRecordsResponse
+ Amazonka.Kinesis.GetRecords: getRecordsResponse_childShards :: Lens' GetRecordsResponse (Maybe [ChildShard])
+ Amazonka.Kinesis.GetRecords: getRecordsResponse_httpStatus :: Lens' GetRecordsResponse Int
+ Amazonka.Kinesis.GetRecords: getRecordsResponse_millisBehindLatest :: Lens' GetRecordsResponse (Maybe Natural)
+ Amazonka.Kinesis.GetRecords: getRecordsResponse_nextShardIterator :: Lens' GetRecordsResponse (Maybe Text)
+ Amazonka.Kinesis.GetRecords: getRecordsResponse_records :: Lens' GetRecordsResponse [Record]
+ Amazonka.Kinesis.GetRecords: getRecords_limit :: Lens' GetRecords (Maybe Natural)
+ Amazonka.Kinesis.GetRecords: getRecords_shardIterator :: Lens' GetRecords Text
+ Amazonka.Kinesis.GetRecords: getRecords_streamARN :: Lens' GetRecords (Maybe Text)
+ Amazonka.Kinesis.GetRecords: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.GetRecords.GetRecords
+ Amazonka.Kinesis.GetRecords: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.GetRecords.GetRecords
+ Amazonka.Kinesis.GetRecords: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.GetRecords.GetRecords
+ Amazonka.Kinesis.GetRecords: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.GetRecords.GetRecords
+ Amazonka.Kinesis.GetRecords: instance Control.DeepSeq.NFData Amazonka.Kinesis.GetRecords.GetRecords
+ Amazonka.Kinesis.GetRecords: instance Control.DeepSeq.NFData Amazonka.Kinesis.GetRecords.GetRecordsResponse
+ Amazonka.Kinesis.GetRecords: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.GetRecords.GetRecords
+ Amazonka.Kinesis.GetRecords: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.GetRecords.GetRecords
+ Amazonka.Kinesis.GetRecords: instance GHC.Classes.Eq Amazonka.Kinesis.GetRecords.GetRecords
+ Amazonka.Kinesis.GetRecords: instance GHC.Classes.Eq Amazonka.Kinesis.GetRecords.GetRecordsResponse
+ Amazonka.Kinesis.GetRecords: instance GHC.Generics.Generic Amazonka.Kinesis.GetRecords.GetRecords
+ Amazonka.Kinesis.GetRecords: instance GHC.Generics.Generic Amazonka.Kinesis.GetRecords.GetRecordsResponse
+ Amazonka.Kinesis.GetRecords: instance GHC.Read.Read Amazonka.Kinesis.GetRecords.GetRecords
+ Amazonka.Kinesis.GetRecords: instance GHC.Read.Read Amazonka.Kinesis.GetRecords.GetRecordsResponse
+ Amazonka.Kinesis.GetRecords: instance GHC.Show.Show Amazonka.Kinesis.GetRecords.GetRecords
+ Amazonka.Kinesis.GetRecords: instance GHC.Show.Show Amazonka.Kinesis.GetRecords.GetRecordsResponse
+ Amazonka.Kinesis.GetRecords: newGetRecords :: Text -> GetRecords
+ Amazonka.Kinesis.GetRecords: newGetRecordsResponse :: Int -> GetRecordsResponse
+ Amazonka.Kinesis.GetShardIterator: GetShardIterator' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Text -> ShardIteratorType -> GetShardIterator
+ Amazonka.Kinesis.GetShardIterator: GetShardIteratorResponse' :: Maybe Text -> Int -> GetShardIteratorResponse
+ Amazonka.Kinesis.GetShardIterator: [$sel:httpStatus:GetShardIteratorResponse'] :: GetShardIteratorResponse -> Int
+ Amazonka.Kinesis.GetShardIterator: [$sel:shardId:GetShardIterator'] :: GetShardIterator -> Text
+ Amazonka.Kinesis.GetShardIterator: [$sel:shardIterator:GetShardIteratorResponse'] :: GetShardIteratorResponse -> Maybe Text
+ Amazonka.Kinesis.GetShardIterator: [$sel:shardIteratorType:GetShardIterator'] :: GetShardIterator -> ShardIteratorType
+ Amazonka.Kinesis.GetShardIterator: [$sel:startingSequenceNumber:GetShardIterator'] :: GetShardIterator -> Maybe Text
+ Amazonka.Kinesis.GetShardIterator: [$sel:streamARN:GetShardIterator'] :: GetShardIterator -> Maybe Text
+ Amazonka.Kinesis.GetShardIterator: [$sel:streamName:GetShardIterator'] :: GetShardIterator -> Maybe Text
+ Amazonka.Kinesis.GetShardIterator: [$sel:timestamp:GetShardIterator'] :: GetShardIterator -> Maybe POSIX
+ Amazonka.Kinesis.GetShardIterator: data GetShardIterator
+ Amazonka.Kinesis.GetShardIterator: data GetShardIteratorResponse
+ Amazonka.Kinesis.GetShardIterator: getShardIteratorResponse_httpStatus :: Lens' GetShardIteratorResponse Int
+ Amazonka.Kinesis.GetShardIterator: getShardIteratorResponse_shardIterator :: Lens' GetShardIteratorResponse (Maybe Text)
+ Amazonka.Kinesis.GetShardIterator: getShardIterator_shardId :: Lens' GetShardIterator Text
+ Amazonka.Kinesis.GetShardIterator: getShardIterator_shardIteratorType :: Lens' GetShardIterator ShardIteratorType
+ Amazonka.Kinesis.GetShardIterator: getShardIterator_startingSequenceNumber :: Lens' GetShardIterator (Maybe Text)
+ Amazonka.Kinesis.GetShardIterator: getShardIterator_streamARN :: Lens' GetShardIterator (Maybe Text)
+ Amazonka.Kinesis.GetShardIterator: getShardIterator_streamName :: Lens' GetShardIterator (Maybe Text)
+ Amazonka.Kinesis.GetShardIterator: getShardIterator_timestamp :: Lens' GetShardIterator (Maybe UTCTime)
+ Amazonka.Kinesis.GetShardIterator: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.GetShardIterator.GetShardIterator
+ Amazonka.Kinesis.GetShardIterator: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.GetShardIterator.GetShardIterator
+ Amazonka.Kinesis.GetShardIterator: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.GetShardIterator.GetShardIterator
+ Amazonka.Kinesis.GetShardIterator: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.GetShardIterator.GetShardIterator
+ Amazonka.Kinesis.GetShardIterator: instance Control.DeepSeq.NFData Amazonka.Kinesis.GetShardIterator.GetShardIterator
+ Amazonka.Kinesis.GetShardIterator: instance Control.DeepSeq.NFData Amazonka.Kinesis.GetShardIterator.GetShardIteratorResponse
+ Amazonka.Kinesis.GetShardIterator: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.GetShardIterator.GetShardIterator
+ Amazonka.Kinesis.GetShardIterator: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.GetShardIterator.GetShardIterator
+ Amazonka.Kinesis.GetShardIterator: instance GHC.Classes.Eq Amazonka.Kinesis.GetShardIterator.GetShardIterator
+ Amazonka.Kinesis.GetShardIterator: instance GHC.Classes.Eq Amazonka.Kinesis.GetShardIterator.GetShardIteratorResponse
+ Amazonka.Kinesis.GetShardIterator: instance GHC.Generics.Generic Amazonka.Kinesis.GetShardIterator.GetShardIterator
+ Amazonka.Kinesis.GetShardIterator: instance GHC.Generics.Generic Amazonka.Kinesis.GetShardIterator.GetShardIteratorResponse
+ Amazonka.Kinesis.GetShardIterator: instance GHC.Read.Read Amazonka.Kinesis.GetShardIterator.GetShardIterator
+ Amazonka.Kinesis.GetShardIterator: instance GHC.Read.Read Amazonka.Kinesis.GetShardIterator.GetShardIteratorResponse
+ Amazonka.Kinesis.GetShardIterator: instance GHC.Show.Show Amazonka.Kinesis.GetShardIterator.GetShardIterator
+ Amazonka.Kinesis.GetShardIterator: instance GHC.Show.Show Amazonka.Kinesis.GetShardIterator.GetShardIteratorResponse
+ Amazonka.Kinesis.GetShardIterator: newGetShardIterator :: Text -> ShardIteratorType -> GetShardIterator
+ Amazonka.Kinesis.GetShardIterator: newGetShardIteratorResponse :: Int -> GetShardIteratorResponse
+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod: IncreaseStreamRetentionPeriod' :: Maybe Text -> Maybe Text -> Int -> IncreaseStreamRetentionPeriod
+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod: IncreaseStreamRetentionPeriodResponse' :: IncreaseStreamRetentionPeriodResponse
+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod: [$sel:retentionPeriodHours:IncreaseStreamRetentionPeriod'] :: IncreaseStreamRetentionPeriod -> Int
+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod: [$sel:streamARN:IncreaseStreamRetentionPeriod'] :: IncreaseStreamRetentionPeriod -> Maybe Text
+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod: [$sel:streamName:IncreaseStreamRetentionPeriod'] :: IncreaseStreamRetentionPeriod -> Maybe Text
+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod: data IncreaseStreamRetentionPeriod
+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod: data IncreaseStreamRetentionPeriodResponse
+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod: increaseStreamRetentionPeriod_retentionPeriodHours :: Lens' IncreaseStreamRetentionPeriod Int
+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod: increaseStreamRetentionPeriod_streamARN :: Lens' IncreaseStreamRetentionPeriod (Maybe Text)
+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod: increaseStreamRetentionPeriod_streamName :: Lens' IncreaseStreamRetentionPeriod (Maybe Text)
+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriod
+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriod
+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriod
+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriod
+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod: instance Control.DeepSeq.NFData Amazonka.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriod
+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod: instance Control.DeepSeq.NFData Amazonka.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriodResponse
+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriod
+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriod
+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod: instance GHC.Classes.Eq Amazonka.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriod
+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod: instance GHC.Classes.Eq Amazonka.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriodResponse
+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod: instance GHC.Generics.Generic Amazonka.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriod
+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod: instance GHC.Generics.Generic Amazonka.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriodResponse
+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod: instance GHC.Read.Read Amazonka.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriod
+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod: instance GHC.Read.Read Amazonka.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriodResponse
+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod: instance GHC.Show.Show Amazonka.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriod
+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod: instance GHC.Show.Show Amazonka.Kinesis.IncreaseStreamRetentionPeriod.IncreaseStreamRetentionPeriodResponse
+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod: newIncreaseStreamRetentionPeriod :: Int -> IncreaseStreamRetentionPeriod
+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod: newIncreaseStreamRetentionPeriodResponse :: IncreaseStreamRetentionPeriodResponse
+ Amazonka.Kinesis.Lens: addTagsToStream_streamARN :: Lens' AddTagsToStream (Maybe Text)
+ Amazonka.Kinesis.Lens: addTagsToStream_streamName :: Lens' AddTagsToStream (Maybe Text)
+ Amazonka.Kinesis.Lens: addTagsToStream_tags :: Lens' AddTagsToStream (HashMap Text Text)
+ Amazonka.Kinesis.Lens: childShard_hashKeyRange :: Lens' ChildShard HashKeyRange
+ Amazonka.Kinesis.Lens: childShard_parentShards :: Lens' ChildShard [Text]
+ Amazonka.Kinesis.Lens: childShard_shardId :: Lens' ChildShard Text
+ Amazonka.Kinesis.Lens: consumerDescription_consumerARN :: Lens' ConsumerDescription Text
+ Amazonka.Kinesis.Lens: consumerDescription_consumerCreationTimestamp :: Lens' ConsumerDescription UTCTime
+ Amazonka.Kinesis.Lens: consumerDescription_consumerName :: Lens' ConsumerDescription Text
+ Amazonka.Kinesis.Lens: consumerDescription_consumerStatus :: Lens' ConsumerDescription ConsumerStatus
+ Amazonka.Kinesis.Lens: consumerDescription_streamARN :: Lens' ConsumerDescription Text
+ Amazonka.Kinesis.Lens: consumer_consumerARN :: Lens' Consumer Text
+ Amazonka.Kinesis.Lens: consumer_consumerCreationTimestamp :: Lens' Consumer UTCTime
+ Amazonka.Kinesis.Lens: consumer_consumerName :: Lens' Consumer Text
+ Amazonka.Kinesis.Lens: consumer_consumerStatus :: Lens' Consumer ConsumerStatus
+ Amazonka.Kinesis.Lens: createStream_shardCount :: Lens' CreateStream (Maybe Natural)
+ Amazonka.Kinesis.Lens: createStream_streamModeDetails :: Lens' CreateStream (Maybe StreamModeDetails)
+ Amazonka.Kinesis.Lens: createStream_streamName :: Lens' CreateStream Text
+ Amazonka.Kinesis.Lens: decreaseStreamRetentionPeriod_retentionPeriodHours :: Lens' DecreaseStreamRetentionPeriod Int
+ Amazonka.Kinesis.Lens: decreaseStreamRetentionPeriod_streamARN :: Lens' DecreaseStreamRetentionPeriod (Maybe Text)
+ Amazonka.Kinesis.Lens: decreaseStreamRetentionPeriod_streamName :: Lens' DecreaseStreamRetentionPeriod (Maybe Text)
+ Amazonka.Kinesis.Lens: deleteStream_enforceConsumerDeletion :: Lens' DeleteStream (Maybe Bool)
+ Amazonka.Kinesis.Lens: deleteStream_streamARN :: Lens' DeleteStream (Maybe Text)
+ Amazonka.Kinesis.Lens: deleteStream_streamName :: Lens' DeleteStream (Maybe Text)
+ Amazonka.Kinesis.Lens: deregisterStreamConsumer_consumerARN :: Lens' DeregisterStreamConsumer (Maybe Text)
+ Amazonka.Kinesis.Lens: deregisterStreamConsumer_consumerName :: Lens' DeregisterStreamConsumer (Maybe Text)
+ Amazonka.Kinesis.Lens: deregisterStreamConsumer_streamARN :: Lens' DeregisterStreamConsumer (Maybe Text)
+ Amazonka.Kinesis.Lens: describeLimitsResponse_httpStatus :: Lens' DescribeLimitsResponse Int
+ Amazonka.Kinesis.Lens: describeLimitsResponse_onDemandStreamCount :: Lens' DescribeLimitsResponse Natural
+ Amazonka.Kinesis.Lens: describeLimitsResponse_onDemandStreamCountLimit :: Lens' DescribeLimitsResponse Natural
+ Amazonka.Kinesis.Lens: describeLimitsResponse_openShardCount :: Lens' DescribeLimitsResponse Natural
+ Amazonka.Kinesis.Lens: describeLimitsResponse_shardLimit :: Lens' DescribeLimitsResponse Natural
+ Amazonka.Kinesis.Lens: describeStreamConsumerResponse_consumerDescription :: Lens' DescribeStreamConsumerResponse ConsumerDescription
+ Amazonka.Kinesis.Lens: describeStreamConsumerResponse_httpStatus :: Lens' DescribeStreamConsumerResponse Int
+ Amazonka.Kinesis.Lens: describeStreamConsumer_consumerARN :: Lens' DescribeStreamConsumer (Maybe Text)
+ Amazonka.Kinesis.Lens: describeStreamConsumer_consumerName :: Lens' DescribeStreamConsumer (Maybe Text)
+ Amazonka.Kinesis.Lens: describeStreamConsumer_streamARN :: Lens' DescribeStreamConsumer (Maybe Text)
+ Amazonka.Kinesis.Lens: describeStreamResponse_httpStatus :: Lens' DescribeStreamResponse Int
+ Amazonka.Kinesis.Lens: describeStreamResponse_streamDescription :: Lens' DescribeStreamResponse StreamDescription
+ Amazonka.Kinesis.Lens: describeStreamSummaryResponse_httpStatus :: Lens' DescribeStreamSummaryResponse Int
+ Amazonka.Kinesis.Lens: describeStreamSummaryResponse_streamDescriptionSummary :: Lens' DescribeStreamSummaryResponse StreamDescriptionSummary
+ Amazonka.Kinesis.Lens: describeStreamSummary_streamARN :: Lens' DescribeStreamSummary (Maybe Text)
+ Amazonka.Kinesis.Lens: describeStreamSummary_streamName :: Lens' DescribeStreamSummary (Maybe Text)
+ Amazonka.Kinesis.Lens: describeStream_exclusiveStartShardId :: Lens' DescribeStream (Maybe Text)
+ Amazonka.Kinesis.Lens: describeStream_limit :: Lens' DescribeStream (Maybe Natural)
+ Amazonka.Kinesis.Lens: describeStream_streamARN :: Lens' DescribeStream (Maybe Text)
+ Amazonka.Kinesis.Lens: describeStream_streamName :: Lens' DescribeStream (Maybe Text)
+ Amazonka.Kinesis.Lens: disableEnhancedMonitoring_shardLevelMetrics :: Lens' DisableEnhancedMonitoring [MetricsName]
+ Amazonka.Kinesis.Lens: disableEnhancedMonitoring_streamARN :: Lens' DisableEnhancedMonitoring (Maybe Text)
+ Amazonka.Kinesis.Lens: disableEnhancedMonitoring_streamName :: Lens' DisableEnhancedMonitoring (Maybe Text)
+ Amazonka.Kinesis.Lens: enableEnhancedMonitoring_shardLevelMetrics :: Lens' EnableEnhancedMonitoring [MetricsName]
+ Amazonka.Kinesis.Lens: enableEnhancedMonitoring_streamARN :: Lens' EnableEnhancedMonitoring (Maybe Text)
+ Amazonka.Kinesis.Lens: enableEnhancedMonitoring_streamName :: Lens' EnableEnhancedMonitoring (Maybe Text)
+ Amazonka.Kinesis.Lens: enhancedMetrics_shardLevelMetrics :: Lens' EnhancedMetrics (Maybe [MetricsName])
+ Amazonka.Kinesis.Lens: enhancedMonitoringOutput_currentShardLevelMetrics :: Lens' EnhancedMonitoringOutput (Maybe [MetricsName])
+ Amazonka.Kinesis.Lens: enhancedMonitoringOutput_desiredShardLevelMetrics :: Lens' EnhancedMonitoringOutput (Maybe [MetricsName])
+ Amazonka.Kinesis.Lens: enhancedMonitoringOutput_streamARN :: Lens' EnhancedMonitoringOutput (Maybe Text)
+ Amazonka.Kinesis.Lens: enhancedMonitoringOutput_streamName :: Lens' EnhancedMonitoringOutput (Maybe Text)
+ Amazonka.Kinesis.Lens: getRecordsResponse_childShards :: Lens' GetRecordsResponse (Maybe [ChildShard])
+ Amazonka.Kinesis.Lens: getRecordsResponse_httpStatus :: Lens' GetRecordsResponse Int
+ Amazonka.Kinesis.Lens: getRecordsResponse_millisBehindLatest :: Lens' GetRecordsResponse (Maybe Natural)
+ Amazonka.Kinesis.Lens: getRecordsResponse_nextShardIterator :: Lens' GetRecordsResponse (Maybe Text)
+ Amazonka.Kinesis.Lens: getRecordsResponse_records :: Lens' GetRecordsResponse [Record]
+ Amazonka.Kinesis.Lens: getRecords_limit :: Lens' GetRecords (Maybe Natural)
+ Amazonka.Kinesis.Lens: getRecords_shardIterator :: Lens' GetRecords Text
+ Amazonka.Kinesis.Lens: getRecords_streamARN :: Lens' GetRecords (Maybe Text)
+ Amazonka.Kinesis.Lens: getShardIteratorResponse_httpStatus :: Lens' GetShardIteratorResponse Int
+ Amazonka.Kinesis.Lens: getShardIteratorResponse_shardIterator :: Lens' GetShardIteratorResponse (Maybe Text)
+ Amazonka.Kinesis.Lens: getShardIterator_shardId :: Lens' GetShardIterator Text
+ Amazonka.Kinesis.Lens: getShardIterator_shardIteratorType :: Lens' GetShardIterator ShardIteratorType
+ Amazonka.Kinesis.Lens: getShardIterator_startingSequenceNumber :: Lens' GetShardIterator (Maybe Text)
+ Amazonka.Kinesis.Lens: getShardIterator_streamARN :: Lens' GetShardIterator (Maybe Text)
+ Amazonka.Kinesis.Lens: getShardIterator_streamName :: Lens' GetShardIterator (Maybe Text)
+ Amazonka.Kinesis.Lens: getShardIterator_timestamp :: Lens' GetShardIterator (Maybe UTCTime)
+ Amazonka.Kinesis.Lens: hashKeyRange_endingHashKey :: Lens' HashKeyRange Text
+ Amazonka.Kinesis.Lens: hashKeyRange_startingHashKey :: Lens' HashKeyRange Text
+ Amazonka.Kinesis.Lens: increaseStreamRetentionPeriod_retentionPeriodHours :: Lens' IncreaseStreamRetentionPeriod Int
+ Amazonka.Kinesis.Lens: increaseStreamRetentionPeriod_streamARN :: Lens' IncreaseStreamRetentionPeriod (Maybe Text)
+ Amazonka.Kinesis.Lens: increaseStreamRetentionPeriod_streamName :: Lens' IncreaseStreamRetentionPeriod (Maybe Text)
+ Amazonka.Kinesis.Lens: listShardsResponse_httpStatus :: Lens' ListShardsResponse Int
+ Amazonka.Kinesis.Lens: listShardsResponse_nextToken :: Lens' ListShardsResponse (Maybe Text)
+ Amazonka.Kinesis.Lens: listShardsResponse_shards :: Lens' ListShardsResponse (Maybe [Shard])
+ Amazonka.Kinesis.Lens: listShards_exclusiveStartShardId :: Lens' ListShards (Maybe Text)
+ Amazonka.Kinesis.Lens: listShards_maxResults :: Lens' ListShards (Maybe Natural)
+ Amazonka.Kinesis.Lens: listShards_nextToken :: Lens' ListShards (Maybe Text)
+ Amazonka.Kinesis.Lens: listShards_shardFilter :: Lens' ListShards (Maybe ShardFilter)
+ Amazonka.Kinesis.Lens: listShards_streamARN :: Lens' ListShards (Maybe Text)
+ Amazonka.Kinesis.Lens: listShards_streamCreationTimestamp :: Lens' ListShards (Maybe UTCTime)
+ Amazonka.Kinesis.Lens: listShards_streamName :: Lens' ListShards (Maybe Text)
+ Amazonka.Kinesis.Lens: listStreamConsumersResponse_consumers :: Lens' ListStreamConsumersResponse (Maybe [Consumer])
+ Amazonka.Kinesis.Lens: listStreamConsumersResponse_httpStatus :: Lens' ListStreamConsumersResponse Int
+ Amazonka.Kinesis.Lens: listStreamConsumersResponse_nextToken :: Lens' ListStreamConsumersResponse (Maybe Text)
+ Amazonka.Kinesis.Lens: listStreamConsumers_maxResults :: Lens' ListStreamConsumers (Maybe Natural)
+ Amazonka.Kinesis.Lens: listStreamConsumers_nextToken :: Lens' ListStreamConsumers (Maybe Text)
+ Amazonka.Kinesis.Lens: listStreamConsumers_streamARN :: Lens' ListStreamConsumers Text
+ Amazonka.Kinesis.Lens: listStreamConsumers_streamCreationTimestamp :: Lens' ListStreamConsumers (Maybe UTCTime)
+ Amazonka.Kinesis.Lens: listStreamsResponse_hasMoreStreams :: Lens' ListStreamsResponse Bool
+ Amazonka.Kinesis.Lens: listStreamsResponse_httpStatus :: Lens' ListStreamsResponse Int
+ Amazonka.Kinesis.Lens: listStreamsResponse_nextToken :: Lens' ListStreamsResponse (Maybe Text)
+ Amazonka.Kinesis.Lens: listStreamsResponse_streamNames :: Lens' ListStreamsResponse [Text]
+ Amazonka.Kinesis.Lens: listStreamsResponse_streamSummaries :: Lens' ListStreamsResponse (Maybe [StreamSummary])
+ Amazonka.Kinesis.Lens: listStreams_exclusiveStartStreamName :: Lens' ListStreams (Maybe Text)
+ Amazonka.Kinesis.Lens: listStreams_limit :: Lens' ListStreams (Maybe Natural)
+ Amazonka.Kinesis.Lens: listStreams_nextToken :: Lens' ListStreams (Maybe Text)
+ Amazonka.Kinesis.Lens: listTagsForStreamResponse_hasMoreTags :: Lens' ListTagsForStreamResponse Bool
+ Amazonka.Kinesis.Lens: listTagsForStreamResponse_httpStatus :: Lens' ListTagsForStreamResponse Int
+ Amazonka.Kinesis.Lens: listTagsForStreamResponse_tags :: Lens' ListTagsForStreamResponse [Tag]
+ Amazonka.Kinesis.Lens: listTagsForStream_exclusiveStartTagKey :: Lens' ListTagsForStream (Maybe Text)
+ Amazonka.Kinesis.Lens: listTagsForStream_limit :: Lens' ListTagsForStream (Maybe Natural)
+ Amazonka.Kinesis.Lens: listTagsForStream_streamARN :: Lens' ListTagsForStream (Maybe Text)
+ Amazonka.Kinesis.Lens: listTagsForStream_streamName :: Lens' ListTagsForStream (Maybe Text)
+ Amazonka.Kinesis.Lens: mergeShards_adjacentShardToMerge :: Lens' MergeShards Text
+ Amazonka.Kinesis.Lens: mergeShards_shardToMerge :: Lens' MergeShards Text
+ Amazonka.Kinesis.Lens: mergeShards_streamARN :: Lens' MergeShards (Maybe Text)
+ Amazonka.Kinesis.Lens: mergeShards_streamName :: Lens' MergeShards (Maybe Text)
+ Amazonka.Kinesis.Lens: putRecordResponse_encryptionType :: Lens' PutRecordResponse (Maybe EncryptionType)
+ Amazonka.Kinesis.Lens: putRecordResponse_httpStatus :: Lens' PutRecordResponse Int
+ Amazonka.Kinesis.Lens: putRecordResponse_sequenceNumber :: Lens' PutRecordResponse Text
+ Amazonka.Kinesis.Lens: putRecordResponse_shardId :: Lens' PutRecordResponse Text
+ Amazonka.Kinesis.Lens: putRecord_data :: Lens' PutRecord ByteString
+ Amazonka.Kinesis.Lens: putRecord_explicitHashKey :: Lens' PutRecord (Maybe Text)
+ Amazonka.Kinesis.Lens: putRecord_partitionKey :: Lens' PutRecord Text
+ Amazonka.Kinesis.Lens: putRecord_sequenceNumberForOrdering :: Lens' PutRecord (Maybe Text)
+ Amazonka.Kinesis.Lens: putRecord_streamARN :: Lens' PutRecord (Maybe Text)
+ Amazonka.Kinesis.Lens: putRecord_streamName :: Lens' PutRecord (Maybe Text)
+ Amazonka.Kinesis.Lens: putRecordsRequestEntry_data :: Lens' PutRecordsRequestEntry ByteString
+ Amazonka.Kinesis.Lens: putRecordsRequestEntry_explicitHashKey :: Lens' PutRecordsRequestEntry (Maybe Text)
+ Amazonka.Kinesis.Lens: putRecordsRequestEntry_partitionKey :: Lens' PutRecordsRequestEntry Text
+ Amazonka.Kinesis.Lens: putRecordsResponse_encryptionType :: Lens' PutRecordsResponse (Maybe EncryptionType)
+ Amazonka.Kinesis.Lens: putRecordsResponse_failedRecordCount :: Lens' PutRecordsResponse (Maybe Natural)
+ Amazonka.Kinesis.Lens: putRecordsResponse_httpStatus :: Lens' PutRecordsResponse Int
+ Amazonka.Kinesis.Lens: putRecordsResponse_records :: Lens' PutRecordsResponse (NonEmpty PutRecordsResultEntry)
+ Amazonka.Kinesis.Lens: putRecordsResultEntry_errorCode :: Lens' PutRecordsResultEntry (Maybe Text)
+ Amazonka.Kinesis.Lens: putRecordsResultEntry_errorMessage :: Lens' PutRecordsResultEntry (Maybe Text)
+ Amazonka.Kinesis.Lens: putRecordsResultEntry_sequenceNumber :: Lens' PutRecordsResultEntry (Maybe Text)
+ Amazonka.Kinesis.Lens: putRecordsResultEntry_shardId :: Lens' PutRecordsResultEntry (Maybe Text)
+ Amazonka.Kinesis.Lens: putRecords_records :: Lens' PutRecords (NonEmpty PutRecordsRequestEntry)
+ Amazonka.Kinesis.Lens: putRecords_streamARN :: Lens' PutRecords (Maybe Text)
+ Amazonka.Kinesis.Lens: putRecords_streamName :: Lens' PutRecords (Maybe Text)
+ Amazonka.Kinesis.Lens: record_approximateArrivalTimestamp :: Lens' Record (Maybe UTCTime)
+ Amazonka.Kinesis.Lens: record_data :: Lens' Record ByteString
+ Amazonka.Kinesis.Lens: record_encryptionType :: Lens' Record (Maybe EncryptionType)
+ Amazonka.Kinesis.Lens: record_partitionKey :: Lens' Record Text
+ Amazonka.Kinesis.Lens: record_sequenceNumber :: Lens' Record Text
+ Amazonka.Kinesis.Lens: registerStreamConsumerResponse_consumer :: Lens' RegisterStreamConsumerResponse Consumer
+ Amazonka.Kinesis.Lens: registerStreamConsumerResponse_httpStatus :: Lens' RegisterStreamConsumerResponse Int
+ Amazonka.Kinesis.Lens: registerStreamConsumer_consumerName :: Lens' RegisterStreamConsumer Text
+ Amazonka.Kinesis.Lens: registerStreamConsumer_streamARN :: Lens' RegisterStreamConsumer Text
+ Amazonka.Kinesis.Lens: removeTagsFromStream_streamARN :: Lens' RemoveTagsFromStream (Maybe Text)
+ Amazonka.Kinesis.Lens: removeTagsFromStream_streamName :: Lens' RemoveTagsFromStream (Maybe Text)
+ Amazonka.Kinesis.Lens: removeTagsFromStream_tagKeys :: Lens' RemoveTagsFromStream (NonEmpty Text)
+ Amazonka.Kinesis.Lens: sequenceNumberRange_endingSequenceNumber :: Lens' SequenceNumberRange (Maybe Text)
+ Amazonka.Kinesis.Lens: sequenceNumberRange_startingSequenceNumber :: Lens' SequenceNumberRange Text
+ Amazonka.Kinesis.Lens: shardFilter_shardId :: Lens' ShardFilter (Maybe Text)
+ Amazonka.Kinesis.Lens: shardFilter_timestamp :: Lens' ShardFilter (Maybe UTCTime)
+ Amazonka.Kinesis.Lens: shardFilter_type :: Lens' ShardFilter ShardFilterType
+ Amazonka.Kinesis.Lens: shard_adjacentParentShardId :: Lens' Shard (Maybe Text)
+ Amazonka.Kinesis.Lens: shard_hashKeyRange :: Lens' Shard HashKeyRange
+ Amazonka.Kinesis.Lens: shard_parentShardId :: Lens' Shard (Maybe Text)
+ Amazonka.Kinesis.Lens: shard_sequenceNumberRange :: Lens' Shard SequenceNumberRange
+ Amazonka.Kinesis.Lens: shard_shardId :: Lens' Shard Text
+ Amazonka.Kinesis.Lens: splitShard_newStartingHashKey :: Lens' SplitShard Text
+ Amazonka.Kinesis.Lens: splitShard_shardToSplit :: Lens' SplitShard Text
+ Amazonka.Kinesis.Lens: splitShard_streamARN :: Lens' SplitShard (Maybe Text)
+ Amazonka.Kinesis.Lens: splitShard_streamName :: Lens' SplitShard (Maybe Text)
+ Amazonka.Kinesis.Lens: startStreamEncryption_encryptionType :: Lens' StartStreamEncryption EncryptionType
+ Amazonka.Kinesis.Lens: startStreamEncryption_keyId :: Lens' StartStreamEncryption Text
+ Amazonka.Kinesis.Lens: startStreamEncryption_streamARN :: Lens' StartStreamEncryption (Maybe Text)
+ Amazonka.Kinesis.Lens: startStreamEncryption_streamName :: Lens' StartStreamEncryption (Maybe Text)
+ Amazonka.Kinesis.Lens: startingPosition_sequenceNumber :: Lens' StartingPosition (Maybe Text)
+ Amazonka.Kinesis.Lens: startingPosition_timestamp :: Lens' StartingPosition (Maybe UTCTime)
+ Amazonka.Kinesis.Lens: startingPosition_type :: Lens' StartingPosition ShardIteratorType
+ Amazonka.Kinesis.Lens: stopStreamEncryption_encryptionType :: Lens' StopStreamEncryption EncryptionType
+ Amazonka.Kinesis.Lens: stopStreamEncryption_keyId :: Lens' StopStreamEncryption Text
+ Amazonka.Kinesis.Lens: stopStreamEncryption_streamARN :: Lens' StopStreamEncryption (Maybe Text)
+ Amazonka.Kinesis.Lens: stopStreamEncryption_streamName :: Lens' StopStreamEncryption (Maybe Text)
+ Amazonka.Kinesis.Lens: streamDescriptionSummary_consumerCount :: Lens' StreamDescriptionSummary (Maybe Natural)
+ Amazonka.Kinesis.Lens: streamDescriptionSummary_encryptionType :: Lens' StreamDescriptionSummary (Maybe EncryptionType)
+ Amazonka.Kinesis.Lens: streamDescriptionSummary_enhancedMonitoring :: Lens' StreamDescriptionSummary [EnhancedMetrics]
+ Amazonka.Kinesis.Lens: streamDescriptionSummary_keyId :: Lens' StreamDescriptionSummary (Maybe Text)
+ Amazonka.Kinesis.Lens: streamDescriptionSummary_openShardCount :: Lens' StreamDescriptionSummary Natural
+ Amazonka.Kinesis.Lens: streamDescriptionSummary_retentionPeriodHours :: Lens' StreamDescriptionSummary Int
+ Amazonka.Kinesis.Lens: streamDescriptionSummary_streamARN :: Lens' StreamDescriptionSummary Text
+ Amazonka.Kinesis.Lens: streamDescriptionSummary_streamCreationTimestamp :: Lens' StreamDescriptionSummary UTCTime
+ Amazonka.Kinesis.Lens: streamDescriptionSummary_streamModeDetails :: Lens' StreamDescriptionSummary (Maybe StreamModeDetails)
+ Amazonka.Kinesis.Lens: streamDescriptionSummary_streamName :: Lens' StreamDescriptionSummary Text
+ Amazonka.Kinesis.Lens: streamDescriptionSummary_streamStatus :: Lens' StreamDescriptionSummary StreamStatus
+ Amazonka.Kinesis.Lens: streamDescription_encryptionType :: Lens' StreamDescription (Maybe EncryptionType)
+ Amazonka.Kinesis.Lens: streamDescription_enhancedMonitoring :: Lens' StreamDescription [EnhancedMetrics]
+ Amazonka.Kinesis.Lens: streamDescription_hasMoreShards :: Lens' StreamDescription Bool
+ Amazonka.Kinesis.Lens: streamDescription_keyId :: Lens' StreamDescription (Maybe Text)
+ Amazonka.Kinesis.Lens: streamDescription_retentionPeriodHours :: Lens' StreamDescription Int
+ Amazonka.Kinesis.Lens: streamDescription_shards :: Lens' StreamDescription [Shard]
+ Amazonka.Kinesis.Lens: streamDescription_streamARN :: Lens' StreamDescription Text
+ Amazonka.Kinesis.Lens: streamDescription_streamCreationTimestamp :: Lens' StreamDescription UTCTime
+ Amazonka.Kinesis.Lens: streamDescription_streamModeDetails :: Lens' StreamDescription (Maybe StreamModeDetails)
+ Amazonka.Kinesis.Lens: streamDescription_streamName :: Lens' StreamDescription Text
+ Amazonka.Kinesis.Lens: streamDescription_streamStatus :: Lens' StreamDescription StreamStatus
+ Amazonka.Kinesis.Lens: streamModeDetails_streamMode :: Lens' StreamModeDetails StreamMode
+ Amazonka.Kinesis.Lens: streamSummary_streamARN :: Lens' StreamSummary Text
+ Amazonka.Kinesis.Lens: streamSummary_streamCreationTimestamp :: Lens' StreamSummary (Maybe UTCTime)
+ Amazonka.Kinesis.Lens: streamSummary_streamModeDetails :: Lens' StreamSummary (Maybe StreamModeDetails)
+ Amazonka.Kinesis.Lens: streamSummary_streamName :: Lens' StreamSummary Text
+ Amazonka.Kinesis.Lens: streamSummary_streamStatus :: Lens' StreamSummary StreamStatus
+ Amazonka.Kinesis.Lens: subscribeToShardEvent_childShards :: Lens' SubscribeToShardEvent (Maybe [ChildShard])
+ Amazonka.Kinesis.Lens: subscribeToShardEvent_continuationSequenceNumber :: Lens' SubscribeToShardEvent Text
+ Amazonka.Kinesis.Lens: subscribeToShardEvent_millisBehindLatest :: Lens' SubscribeToShardEvent Natural
+ Amazonka.Kinesis.Lens: subscribeToShardEvent_records :: Lens' SubscribeToShardEvent [Record]
+ Amazonka.Kinesis.Lens: subscribeToShardResponse_eventStream :: Lens' SubscribeToShardResponse Value
+ Amazonka.Kinesis.Lens: subscribeToShardResponse_httpStatus :: Lens' SubscribeToShardResponse Int
+ Amazonka.Kinesis.Lens: subscribeToShard_consumerARN :: Lens' SubscribeToShard Text
+ Amazonka.Kinesis.Lens: subscribeToShard_shardId :: Lens' SubscribeToShard Text
+ Amazonka.Kinesis.Lens: subscribeToShard_startingPosition :: Lens' SubscribeToShard StartingPosition
+ Amazonka.Kinesis.Lens: tag_key :: Lens' Tag Text
+ Amazonka.Kinesis.Lens: tag_value :: Lens' Tag (Maybe Text)
+ Amazonka.Kinesis.Lens: updateShardCountResponse_currentShardCount :: Lens' UpdateShardCountResponse (Maybe Natural)
+ Amazonka.Kinesis.Lens: updateShardCountResponse_httpStatus :: Lens' UpdateShardCountResponse Int
+ Amazonka.Kinesis.Lens: updateShardCountResponse_streamARN :: Lens' UpdateShardCountResponse (Maybe Text)
+ Amazonka.Kinesis.Lens: updateShardCountResponse_streamName :: Lens' UpdateShardCountResponse (Maybe Text)
+ Amazonka.Kinesis.Lens: updateShardCountResponse_targetShardCount :: Lens' UpdateShardCountResponse (Maybe Natural)
+ Amazonka.Kinesis.Lens: updateShardCount_scalingType :: Lens' UpdateShardCount ScalingType
+ Amazonka.Kinesis.Lens: updateShardCount_streamARN :: Lens' UpdateShardCount (Maybe Text)
+ Amazonka.Kinesis.Lens: updateShardCount_streamName :: Lens' UpdateShardCount (Maybe Text)
+ Amazonka.Kinesis.Lens: updateShardCount_targetShardCount :: Lens' UpdateShardCount Natural
+ Amazonka.Kinesis.Lens: updateStreamMode_streamARN :: Lens' UpdateStreamMode Text
+ Amazonka.Kinesis.Lens: updateStreamMode_streamModeDetails :: Lens' UpdateStreamMode StreamModeDetails
+ Amazonka.Kinesis.ListShards: ListShards' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe ShardFilter -> Maybe Text -> Maybe POSIX -> Maybe Text -> ListShards
+ Amazonka.Kinesis.ListShards: ListShardsResponse' :: Maybe Text -> Maybe [Shard] -> Int -> ListShardsResponse
+ Amazonka.Kinesis.ListShards: [$sel:exclusiveStartShardId:ListShards'] :: ListShards -> Maybe Text
+ Amazonka.Kinesis.ListShards: [$sel:httpStatus:ListShardsResponse'] :: ListShardsResponse -> Int
+ Amazonka.Kinesis.ListShards: [$sel:maxResults:ListShards'] :: ListShards -> Maybe Natural
+ Amazonka.Kinesis.ListShards: [$sel:nextToken:ListShards'] :: ListShards -> Maybe Text
+ Amazonka.Kinesis.ListShards: [$sel:nextToken:ListShardsResponse'] :: ListShardsResponse -> Maybe Text
+ Amazonka.Kinesis.ListShards: [$sel:shardFilter:ListShards'] :: ListShards -> Maybe ShardFilter
+ Amazonka.Kinesis.ListShards: [$sel:shards:ListShardsResponse'] :: ListShardsResponse -> Maybe [Shard]
+ Amazonka.Kinesis.ListShards: [$sel:streamARN:ListShards'] :: ListShards -> Maybe Text
+ Amazonka.Kinesis.ListShards: [$sel:streamCreationTimestamp:ListShards'] :: ListShards -> Maybe POSIX
+ Amazonka.Kinesis.ListShards: [$sel:streamName:ListShards'] :: ListShards -> Maybe Text
+ Amazonka.Kinesis.ListShards: data ListShards
+ Amazonka.Kinesis.ListShards: data ListShardsResponse
+ Amazonka.Kinesis.ListShards: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.ListShards.ListShards
+ Amazonka.Kinesis.ListShards: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.ListShards.ListShards
+ Amazonka.Kinesis.ListShards: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.ListShards.ListShards
+ Amazonka.Kinesis.ListShards: instance Amazonka.Pager.AWSPager Amazonka.Kinesis.ListShards.ListShards
+ Amazonka.Kinesis.ListShards: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.ListShards.ListShards
+ Amazonka.Kinesis.ListShards: instance Control.DeepSeq.NFData Amazonka.Kinesis.ListShards.ListShards
+ Amazonka.Kinesis.ListShards: instance Control.DeepSeq.NFData Amazonka.Kinesis.ListShards.ListShardsResponse
+ Amazonka.Kinesis.ListShards: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.ListShards.ListShards
+ Amazonka.Kinesis.ListShards: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.ListShards.ListShards
+ Amazonka.Kinesis.ListShards: instance GHC.Classes.Eq Amazonka.Kinesis.ListShards.ListShards
+ Amazonka.Kinesis.ListShards: instance GHC.Classes.Eq Amazonka.Kinesis.ListShards.ListShardsResponse
+ Amazonka.Kinesis.ListShards: instance GHC.Generics.Generic Amazonka.Kinesis.ListShards.ListShards
+ Amazonka.Kinesis.ListShards: instance GHC.Generics.Generic Amazonka.Kinesis.ListShards.ListShardsResponse
+ Amazonka.Kinesis.ListShards: instance GHC.Read.Read Amazonka.Kinesis.ListShards.ListShards
+ Amazonka.Kinesis.ListShards: instance GHC.Read.Read Amazonka.Kinesis.ListShards.ListShardsResponse
+ Amazonka.Kinesis.ListShards: instance GHC.Show.Show Amazonka.Kinesis.ListShards.ListShards
+ Amazonka.Kinesis.ListShards: instance GHC.Show.Show Amazonka.Kinesis.ListShards.ListShardsResponse
+ Amazonka.Kinesis.ListShards: listShardsResponse_httpStatus :: Lens' ListShardsResponse Int
+ Amazonka.Kinesis.ListShards: listShardsResponse_nextToken :: Lens' ListShardsResponse (Maybe Text)
+ Amazonka.Kinesis.ListShards: listShardsResponse_shards :: Lens' ListShardsResponse (Maybe [Shard])
+ Amazonka.Kinesis.ListShards: listShards_exclusiveStartShardId :: Lens' ListShards (Maybe Text)
+ Amazonka.Kinesis.ListShards: listShards_maxResults :: Lens' ListShards (Maybe Natural)
+ Amazonka.Kinesis.ListShards: listShards_nextToken :: Lens' ListShards (Maybe Text)
+ Amazonka.Kinesis.ListShards: listShards_shardFilter :: Lens' ListShards (Maybe ShardFilter)
+ Amazonka.Kinesis.ListShards: listShards_streamARN :: Lens' ListShards (Maybe Text)
+ Amazonka.Kinesis.ListShards: listShards_streamCreationTimestamp :: Lens' ListShards (Maybe UTCTime)
+ Amazonka.Kinesis.ListShards: listShards_streamName :: Lens' ListShards (Maybe Text)
+ Amazonka.Kinesis.ListShards: newListShards :: ListShards
+ Amazonka.Kinesis.ListShards: newListShardsResponse :: Int -> ListShardsResponse
+ Amazonka.Kinesis.ListStreamConsumers: ListStreamConsumers' :: Maybe Natural -> Maybe Text -> Maybe POSIX -> Text -> ListStreamConsumers
+ Amazonka.Kinesis.ListStreamConsumers: ListStreamConsumersResponse' :: Maybe [Consumer] -> Maybe Text -> Int -> ListStreamConsumersResponse
+ Amazonka.Kinesis.ListStreamConsumers: [$sel:consumers:ListStreamConsumersResponse'] :: ListStreamConsumersResponse -> Maybe [Consumer]
+ Amazonka.Kinesis.ListStreamConsumers: [$sel:httpStatus:ListStreamConsumersResponse'] :: ListStreamConsumersResponse -> Int
+ Amazonka.Kinesis.ListStreamConsumers: [$sel:maxResults:ListStreamConsumers'] :: ListStreamConsumers -> Maybe Natural
+ Amazonka.Kinesis.ListStreamConsumers: [$sel:nextToken:ListStreamConsumers'] :: ListStreamConsumers -> Maybe Text
+ Amazonka.Kinesis.ListStreamConsumers: [$sel:nextToken:ListStreamConsumersResponse'] :: ListStreamConsumersResponse -> Maybe Text
+ Amazonka.Kinesis.ListStreamConsumers: [$sel:streamARN:ListStreamConsumers'] :: ListStreamConsumers -> Text
+ Amazonka.Kinesis.ListStreamConsumers: [$sel:streamCreationTimestamp:ListStreamConsumers'] :: ListStreamConsumers -> Maybe POSIX
+ Amazonka.Kinesis.ListStreamConsumers: data ListStreamConsumers
+ Amazonka.Kinesis.ListStreamConsumers: data ListStreamConsumersResponse
+ Amazonka.Kinesis.ListStreamConsumers: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.ListStreamConsumers.ListStreamConsumers
+ Amazonka.Kinesis.ListStreamConsumers: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.ListStreamConsumers.ListStreamConsumers
+ Amazonka.Kinesis.ListStreamConsumers: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.ListStreamConsumers.ListStreamConsumers
+ Amazonka.Kinesis.ListStreamConsumers: instance Amazonka.Pager.AWSPager Amazonka.Kinesis.ListStreamConsumers.ListStreamConsumers
+ Amazonka.Kinesis.ListStreamConsumers: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.ListStreamConsumers.ListStreamConsumers
+ Amazonka.Kinesis.ListStreamConsumers: instance Control.DeepSeq.NFData Amazonka.Kinesis.ListStreamConsumers.ListStreamConsumers
+ Amazonka.Kinesis.ListStreamConsumers: instance Control.DeepSeq.NFData Amazonka.Kinesis.ListStreamConsumers.ListStreamConsumersResponse
+ Amazonka.Kinesis.ListStreamConsumers: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.ListStreamConsumers.ListStreamConsumers
+ Amazonka.Kinesis.ListStreamConsumers: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.ListStreamConsumers.ListStreamConsumers
+ Amazonka.Kinesis.ListStreamConsumers: instance GHC.Classes.Eq Amazonka.Kinesis.ListStreamConsumers.ListStreamConsumers
+ Amazonka.Kinesis.ListStreamConsumers: instance GHC.Classes.Eq Amazonka.Kinesis.ListStreamConsumers.ListStreamConsumersResponse
+ Amazonka.Kinesis.ListStreamConsumers: instance GHC.Generics.Generic Amazonka.Kinesis.ListStreamConsumers.ListStreamConsumers
+ Amazonka.Kinesis.ListStreamConsumers: instance GHC.Generics.Generic Amazonka.Kinesis.ListStreamConsumers.ListStreamConsumersResponse
+ Amazonka.Kinesis.ListStreamConsumers: instance GHC.Read.Read Amazonka.Kinesis.ListStreamConsumers.ListStreamConsumers
+ Amazonka.Kinesis.ListStreamConsumers: instance GHC.Read.Read Amazonka.Kinesis.ListStreamConsumers.ListStreamConsumersResponse
+ Amazonka.Kinesis.ListStreamConsumers: instance GHC.Show.Show Amazonka.Kinesis.ListStreamConsumers.ListStreamConsumers
+ Amazonka.Kinesis.ListStreamConsumers: instance GHC.Show.Show Amazonka.Kinesis.ListStreamConsumers.ListStreamConsumersResponse
+ Amazonka.Kinesis.ListStreamConsumers: listStreamConsumersResponse_consumers :: Lens' ListStreamConsumersResponse (Maybe [Consumer])
+ Amazonka.Kinesis.ListStreamConsumers: listStreamConsumersResponse_httpStatus :: Lens' ListStreamConsumersResponse Int
+ Amazonka.Kinesis.ListStreamConsumers: listStreamConsumersResponse_nextToken :: Lens' ListStreamConsumersResponse (Maybe Text)
+ Amazonka.Kinesis.ListStreamConsumers: listStreamConsumers_maxResults :: Lens' ListStreamConsumers (Maybe Natural)
+ Amazonka.Kinesis.ListStreamConsumers: listStreamConsumers_nextToken :: Lens' ListStreamConsumers (Maybe Text)
+ Amazonka.Kinesis.ListStreamConsumers: listStreamConsumers_streamARN :: Lens' ListStreamConsumers Text
+ Amazonka.Kinesis.ListStreamConsumers: listStreamConsumers_streamCreationTimestamp :: Lens' ListStreamConsumers (Maybe UTCTime)
+ Amazonka.Kinesis.ListStreamConsumers: newListStreamConsumers :: Text -> ListStreamConsumers
+ Amazonka.Kinesis.ListStreamConsumers: newListStreamConsumersResponse :: Int -> ListStreamConsumersResponse
+ Amazonka.Kinesis.ListStreams: ListStreams' :: Maybe Text -> Maybe Natural -> Maybe Text -> ListStreams
+ Amazonka.Kinesis.ListStreams: ListStreamsResponse' :: Maybe Text -> Maybe [StreamSummary] -> Int -> [Text] -> Bool -> ListStreamsResponse
+ Amazonka.Kinesis.ListStreams: [$sel:exclusiveStartStreamName:ListStreams'] :: ListStreams -> Maybe Text
+ Amazonka.Kinesis.ListStreams: [$sel:hasMoreStreams:ListStreamsResponse'] :: ListStreamsResponse -> Bool
+ Amazonka.Kinesis.ListStreams: [$sel:httpStatus:ListStreamsResponse'] :: ListStreamsResponse -> Int
+ Amazonka.Kinesis.ListStreams: [$sel:limit:ListStreams'] :: ListStreams -> Maybe Natural
+ Amazonka.Kinesis.ListStreams: [$sel:nextToken:ListStreams'] :: ListStreams -> Maybe Text
+ Amazonka.Kinesis.ListStreams: [$sel:nextToken:ListStreamsResponse'] :: ListStreamsResponse -> Maybe Text
+ Amazonka.Kinesis.ListStreams: [$sel:streamNames:ListStreamsResponse'] :: ListStreamsResponse -> [Text]
+ Amazonka.Kinesis.ListStreams: [$sel:streamSummaries:ListStreamsResponse'] :: ListStreamsResponse -> Maybe [StreamSummary]
+ Amazonka.Kinesis.ListStreams: data ListStreams
+ Amazonka.Kinesis.ListStreams: data ListStreamsResponse
+ Amazonka.Kinesis.ListStreams: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.ListStreams.ListStreams
+ Amazonka.Kinesis.ListStreams: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.ListStreams.ListStreams
+ Amazonka.Kinesis.ListStreams: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.ListStreams.ListStreams
+ Amazonka.Kinesis.ListStreams: instance Amazonka.Pager.AWSPager Amazonka.Kinesis.ListStreams.ListStreams
+ Amazonka.Kinesis.ListStreams: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.ListStreams.ListStreams
+ Amazonka.Kinesis.ListStreams: instance Control.DeepSeq.NFData Amazonka.Kinesis.ListStreams.ListStreams
+ Amazonka.Kinesis.ListStreams: instance Control.DeepSeq.NFData Amazonka.Kinesis.ListStreams.ListStreamsResponse
+ Amazonka.Kinesis.ListStreams: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.ListStreams.ListStreams
+ Amazonka.Kinesis.ListStreams: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.ListStreams.ListStreams
+ Amazonka.Kinesis.ListStreams: instance GHC.Classes.Eq Amazonka.Kinesis.ListStreams.ListStreams
+ Amazonka.Kinesis.ListStreams: instance GHC.Classes.Eq Amazonka.Kinesis.ListStreams.ListStreamsResponse
+ Amazonka.Kinesis.ListStreams: instance GHC.Generics.Generic Amazonka.Kinesis.ListStreams.ListStreams
+ Amazonka.Kinesis.ListStreams: instance GHC.Generics.Generic Amazonka.Kinesis.ListStreams.ListStreamsResponse
+ Amazonka.Kinesis.ListStreams: instance GHC.Read.Read Amazonka.Kinesis.ListStreams.ListStreams
+ Amazonka.Kinesis.ListStreams: instance GHC.Read.Read Amazonka.Kinesis.ListStreams.ListStreamsResponse
+ Amazonka.Kinesis.ListStreams: instance GHC.Show.Show Amazonka.Kinesis.ListStreams.ListStreams
+ Amazonka.Kinesis.ListStreams: instance GHC.Show.Show Amazonka.Kinesis.ListStreams.ListStreamsResponse
+ Amazonka.Kinesis.ListStreams: listStreamsResponse_hasMoreStreams :: Lens' ListStreamsResponse Bool
+ Amazonka.Kinesis.ListStreams: listStreamsResponse_httpStatus :: Lens' ListStreamsResponse Int
+ Amazonka.Kinesis.ListStreams: listStreamsResponse_nextToken :: Lens' ListStreamsResponse (Maybe Text)
+ Amazonka.Kinesis.ListStreams: listStreamsResponse_streamNames :: Lens' ListStreamsResponse [Text]
+ Amazonka.Kinesis.ListStreams: listStreamsResponse_streamSummaries :: Lens' ListStreamsResponse (Maybe [StreamSummary])
+ Amazonka.Kinesis.ListStreams: listStreams_exclusiveStartStreamName :: Lens' ListStreams (Maybe Text)
+ Amazonka.Kinesis.ListStreams: listStreams_limit :: Lens' ListStreams (Maybe Natural)
+ Amazonka.Kinesis.ListStreams: listStreams_nextToken :: Lens' ListStreams (Maybe Text)
+ Amazonka.Kinesis.ListStreams: newListStreams :: ListStreams
+ Amazonka.Kinesis.ListStreams: newListStreamsResponse :: Int -> Bool -> ListStreamsResponse
+ Amazonka.Kinesis.ListTagsForStream: ListTagsForStream' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> ListTagsForStream
+ Amazonka.Kinesis.ListTagsForStream: ListTagsForStreamResponse' :: Int -> [Tag] -> Bool -> ListTagsForStreamResponse
+ Amazonka.Kinesis.ListTagsForStream: [$sel:exclusiveStartTagKey:ListTagsForStream'] :: ListTagsForStream -> Maybe Text
+ Amazonka.Kinesis.ListTagsForStream: [$sel:hasMoreTags:ListTagsForStreamResponse'] :: ListTagsForStreamResponse -> Bool
+ Amazonka.Kinesis.ListTagsForStream: [$sel:httpStatus:ListTagsForStreamResponse'] :: ListTagsForStreamResponse -> Int
+ Amazonka.Kinesis.ListTagsForStream: [$sel:limit:ListTagsForStream'] :: ListTagsForStream -> Maybe Natural
+ Amazonka.Kinesis.ListTagsForStream: [$sel:streamARN:ListTagsForStream'] :: ListTagsForStream -> Maybe Text
+ Amazonka.Kinesis.ListTagsForStream: [$sel:streamName:ListTagsForStream'] :: ListTagsForStream -> Maybe Text
+ Amazonka.Kinesis.ListTagsForStream: [$sel:tags:ListTagsForStreamResponse'] :: ListTagsForStreamResponse -> [Tag]
+ Amazonka.Kinesis.ListTagsForStream: data ListTagsForStream
+ Amazonka.Kinesis.ListTagsForStream: data ListTagsForStreamResponse
+ Amazonka.Kinesis.ListTagsForStream: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.ListTagsForStream.ListTagsForStream
+ Amazonka.Kinesis.ListTagsForStream: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.ListTagsForStream.ListTagsForStream
+ Amazonka.Kinesis.ListTagsForStream: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.ListTagsForStream.ListTagsForStream
+ Amazonka.Kinesis.ListTagsForStream: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.ListTagsForStream.ListTagsForStream
+ Amazonka.Kinesis.ListTagsForStream: instance Control.DeepSeq.NFData Amazonka.Kinesis.ListTagsForStream.ListTagsForStream
+ Amazonka.Kinesis.ListTagsForStream: instance Control.DeepSeq.NFData Amazonka.Kinesis.ListTagsForStream.ListTagsForStreamResponse
+ Amazonka.Kinesis.ListTagsForStream: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.ListTagsForStream.ListTagsForStream
+ Amazonka.Kinesis.ListTagsForStream: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.ListTagsForStream.ListTagsForStream
+ Amazonka.Kinesis.ListTagsForStream: instance GHC.Classes.Eq Amazonka.Kinesis.ListTagsForStream.ListTagsForStream
+ Amazonka.Kinesis.ListTagsForStream: instance GHC.Classes.Eq Amazonka.Kinesis.ListTagsForStream.ListTagsForStreamResponse
+ Amazonka.Kinesis.ListTagsForStream: instance GHC.Generics.Generic Amazonka.Kinesis.ListTagsForStream.ListTagsForStream
+ Amazonka.Kinesis.ListTagsForStream: instance GHC.Generics.Generic Amazonka.Kinesis.ListTagsForStream.ListTagsForStreamResponse
+ Amazonka.Kinesis.ListTagsForStream: instance GHC.Read.Read Amazonka.Kinesis.ListTagsForStream.ListTagsForStream
+ Amazonka.Kinesis.ListTagsForStream: instance GHC.Read.Read Amazonka.Kinesis.ListTagsForStream.ListTagsForStreamResponse
+ Amazonka.Kinesis.ListTagsForStream: instance GHC.Show.Show Amazonka.Kinesis.ListTagsForStream.ListTagsForStream
+ Amazonka.Kinesis.ListTagsForStream: instance GHC.Show.Show Amazonka.Kinesis.ListTagsForStream.ListTagsForStreamResponse
+ Amazonka.Kinesis.ListTagsForStream: listTagsForStreamResponse_hasMoreTags :: Lens' ListTagsForStreamResponse Bool
+ Amazonka.Kinesis.ListTagsForStream: listTagsForStreamResponse_httpStatus :: Lens' ListTagsForStreamResponse Int
+ Amazonka.Kinesis.ListTagsForStream: listTagsForStreamResponse_tags :: Lens' ListTagsForStreamResponse [Tag]
+ Amazonka.Kinesis.ListTagsForStream: listTagsForStream_exclusiveStartTagKey :: Lens' ListTagsForStream (Maybe Text)
+ Amazonka.Kinesis.ListTagsForStream: listTagsForStream_limit :: Lens' ListTagsForStream (Maybe Natural)
+ Amazonka.Kinesis.ListTagsForStream: listTagsForStream_streamARN :: Lens' ListTagsForStream (Maybe Text)
+ Amazonka.Kinesis.ListTagsForStream: listTagsForStream_streamName :: Lens' ListTagsForStream (Maybe Text)
+ Amazonka.Kinesis.ListTagsForStream: newListTagsForStream :: ListTagsForStream
+ Amazonka.Kinesis.ListTagsForStream: newListTagsForStreamResponse :: Int -> Bool -> ListTagsForStreamResponse
+ Amazonka.Kinesis.MergeShards: MergeShards' :: Maybe Text -> Maybe Text -> Text -> Text -> MergeShards
+ Amazonka.Kinesis.MergeShards: MergeShardsResponse' :: MergeShardsResponse
+ Amazonka.Kinesis.MergeShards: [$sel:adjacentShardToMerge:MergeShards'] :: MergeShards -> Text
+ Amazonka.Kinesis.MergeShards: [$sel:shardToMerge:MergeShards'] :: MergeShards -> Text
+ Amazonka.Kinesis.MergeShards: [$sel:streamARN:MergeShards'] :: MergeShards -> Maybe Text
+ Amazonka.Kinesis.MergeShards: [$sel:streamName:MergeShards'] :: MergeShards -> Maybe Text
+ Amazonka.Kinesis.MergeShards: data MergeShards
+ Amazonka.Kinesis.MergeShards: data MergeShardsResponse
+ Amazonka.Kinesis.MergeShards: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.MergeShards.MergeShards
+ Amazonka.Kinesis.MergeShards: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.MergeShards.MergeShards
+ Amazonka.Kinesis.MergeShards: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.MergeShards.MergeShards
+ Amazonka.Kinesis.MergeShards: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.MergeShards.MergeShards
+ Amazonka.Kinesis.MergeShards: instance Control.DeepSeq.NFData Amazonka.Kinesis.MergeShards.MergeShards
+ Amazonka.Kinesis.MergeShards: instance Control.DeepSeq.NFData Amazonka.Kinesis.MergeShards.MergeShardsResponse
+ Amazonka.Kinesis.MergeShards: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.MergeShards.MergeShards
+ Amazonka.Kinesis.MergeShards: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.MergeShards.MergeShards
+ Amazonka.Kinesis.MergeShards: instance GHC.Classes.Eq Amazonka.Kinesis.MergeShards.MergeShards
+ Amazonka.Kinesis.MergeShards: instance GHC.Classes.Eq Amazonka.Kinesis.MergeShards.MergeShardsResponse
+ Amazonka.Kinesis.MergeShards: instance GHC.Generics.Generic Amazonka.Kinesis.MergeShards.MergeShards
+ Amazonka.Kinesis.MergeShards: instance GHC.Generics.Generic Amazonka.Kinesis.MergeShards.MergeShardsResponse
+ Amazonka.Kinesis.MergeShards: instance GHC.Read.Read Amazonka.Kinesis.MergeShards.MergeShards
+ Amazonka.Kinesis.MergeShards: instance GHC.Read.Read Amazonka.Kinesis.MergeShards.MergeShardsResponse
+ Amazonka.Kinesis.MergeShards: instance GHC.Show.Show Amazonka.Kinesis.MergeShards.MergeShards
+ Amazonka.Kinesis.MergeShards: instance GHC.Show.Show Amazonka.Kinesis.MergeShards.MergeShardsResponse
+ Amazonka.Kinesis.MergeShards: mergeShards_adjacentShardToMerge :: Lens' MergeShards Text
+ Amazonka.Kinesis.MergeShards: mergeShards_shardToMerge :: Lens' MergeShards Text
+ Amazonka.Kinesis.MergeShards: mergeShards_streamARN :: Lens' MergeShards (Maybe Text)
+ Amazonka.Kinesis.MergeShards: mergeShards_streamName :: Lens' MergeShards (Maybe Text)
+ Amazonka.Kinesis.MergeShards: newMergeShards :: Text -> Text -> MergeShards
+ Amazonka.Kinesis.MergeShards: newMergeShardsResponse :: MergeShardsResponse
+ Amazonka.Kinesis.PutRecord: PutRecord' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Base64 -> Text -> PutRecord
+ Amazonka.Kinesis.PutRecord: PutRecordResponse' :: Maybe EncryptionType -> Int -> Text -> Text -> PutRecordResponse
+ Amazonka.Kinesis.PutRecord: [$sel:data':PutRecord'] :: PutRecord -> Base64
+ Amazonka.Kinesis.PutRecord: [$sel:encryptionType:PutRecordResponse'] :: PutRecordResponse -> Maybe EncryptionType
+ Amazonka.Kinesis.PutRecord: [$sel:explicitHashKey:PutRecord'] :: PutRecord -> Maybe Text
+ Amazonka.Kinesis.PutRecord: [$sel:httpStatus:PutRecordResponse'] :: PutRecordResponse -> Int
+ Amazonka.Kinesis.PutRecord: [$sel:partitionKey:PutRecord'] :: PutRecord -> Text
+ Amazonka.Kinesis.PutRecord: [$sel:sequenceNumber:PutRecordResponse'] :: PutRecordResponse -> Text
+ Amazonka.Kinesis.PutRecord: [$sel:sequenceNumberForOrdering:PutRecord'] :: PutRecord -> Maybe Text
+ Amazonka.Kinesis.PutRecord: [$sel:shardId:PutRecordResponse'] :: PutRecordResponse -> Text
+ Amazonka.Kinesis.PutRecord: [$sel:streamARN:PutRecord'] :: PutRecord -> Maybe Text
+ Amazonka.Kinesis.PutRecord: [$sel:streamName:PutRecord'] :: PutRecord -> Maybe Text
+ Amazonka.Kinesis.PutRecord: data PutRecord
+ Amazonka.Kinesis.PutRecord: data PutRecordResponse
+ Amazonka.Kinesis.PutRecord: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.PutRecord.PutRecord
+ Amazonka.Kinesis.PutRecord: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.PutRecord.PutRecord
+ Amazonka.Kinesis.PutRecord: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.PutRecord.PutRecord
+ Amazonka.Kinesis.PutRecord: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.PutRecord.PutRecord
+ Amazonka.Kinesis.PutRecord: instance Control.DeepSeq.NFData Amazonka.Kinesis.PutRecord.PutRecord
+ Amazonka.Kinesis.PutRecord: instance Control.DeepSeq.NFData Amazonka.Kinesis.PutRecord.PutRecordResponse
+ Amazonka.Kinesis.PutRecord: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.PutRecord.PutRecord
+ Amazonka.Kinesis.PutRecord: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.PutRecord.PutRecord
+ Amazonka.Kinesis.PutRecord: instance GHC.Classes.Eq Amazonka.Kinesis.PutRecord.PutRecord
+ Amazonka.Kinesis.PutRecord: instance GHC.Classes.Eq Amazonka.Kinesis.PutRecord.PutRecordResponse
+ Amazonka.Kinesis.PutRecord: instance GHC.Generics.Generic Amazonka.Kinesis.PutRecord.PutRecord
+ Amazonka.Kinesis.PutRecord: instance GHC.Generics.Generic Amazonka.Kinesis.PutRecord.PutRecordResponse
+ Amazonka.Kinesis.PutRecord: instance GHC.Read.Read Amazonka.Kinesis.PutRecord.PutRecord
+ Amazonka.Kinesis.PutRecord: instance GHC.Read.Read Amazonka.Kinesis.PutRecord.PutRecordResponse
+ Amazonka.Kinesis.PutRecord: instance GHC.Show.Show Amazonka.Kinesis.PutRecord.PutRecord
+ Amazonka.Kinesis.PutRecord: instance GHC.Show.Show Amazonka.Kinesis.PutRecord.PutRecordResponse
+ Amazonka.Kinesis.PutRecord: newPutRecord :: ByteString -> Text -> PutRecord
+ Amazonka.Kinesis.PutRecord: newPutRecordResponse :: Int -> Text -> Text -> PutRecordResponse
+ Amazonka.Kinesis.PutRecord: putRecordResponse_encryptionType :: Lens' PutRecordResponse (Maybe EncryptionType)
+ Amazonka.Kinesis.PutRecord: putRecordResponse_httpStatus :: Lens' PutRecordResponse Int
+ Amazonka.Kinesis.PutRecord: putRecordResponse_sequenceNumber :: Lens' PutRecordResponse Text
+ Amazonka.Kinesis.PutRecord: putRecordResponse_shardId :: Lens' PutRecordResponse Text
+ Amazonka.Kinesis.PutRecord: putRecord_data :: Lens' PutRecord ByteString
+ Amazonka.Kinesis.PutRecord: putRecord_explicitHashKey :: Lens' PutRecord (Maybe Text)
+ Amazonka.Kinesis.PutRecord: putRecord_partitionKey :: Lens' PutRecord Text
+ Amazonka.Kinesis.PutRecord: putRecord_sequenceNumberForOrdering :: Lens' PutRecord (Maybe Text)
+ Amazonka.Kinesis.PutRecord: putRecord_streamARN :: Lens' PutRecord (Maybe Text)
+ Amazonka.Kinesis.PutRecord: putRecord_streamName :: Lens' PutRecord (Maybe Text)
+ Amazonka.Kinesis.PutRecords: PutRecords' :: Maybe Text -> Maybe Text -> NonEmpty PutRecordsRequestEntry -> PutRecords
+ Amazonka.Kinesis.PutRecords: PutRecordsResponse' :: Maybe EncryptionType -> Maybe Natural -> Int -> NonEmpty PutRecordsResultEntry -> PutRecordsResponse
+ Amazonka.Kinesis.PutRecords: [$sel:encryptionType:PutRecordsResponse'] :: PutRecordsResponse -> Maybe EncryptionType
+ Amazonka.Kinesis.PutRecords: [$sel:failedRecordCount:PutRecordsResponse'] :: PutRecordsResponse -> Maybe Natural
+ Amazonka.Kinesis.PutRecords: [$sel:httpStatus:PutRecordsResponse'] :: PutRecordsResponse -> Int
+ Amazonka.Kinesis.PutRecords: [$sel:records:PutRecords'] :: PutRecords -> NonEmpty PutRecordsRequestEntry
+ Amazonka.Kinesis.PutRecords: [$sel:records:PutRecordsResponse'] :: PutRecordsResponse -> NonEmpty PutRecordsResultEntry
+ Amazonka.Kinesis.PutRecords: [$sel:streamARN:PutRecords'] :: PutRecords -> Maybe Text
+ Amazonka.Kinesis.PutRecords: [$sel:streamName:PutRecords'] :: PutRecords -> Maybe Text
+ Amazonka.Kinesis.PutRecords: data PutRecords
+ Amazonka.Kinesis.PutRecords: data PutRecordsResponse
+ Amazonka.Kinesis.PutRecords: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.PutRecords.PutRecords
+ Amazonka.Kinesis.PutRecords: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.PutRecords.PutRecords
+ Amazonka.Kinesis.PutRecords: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.PutRecords.PutRecords
+ Amazonka.Kinesis.PutRecords: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.PutRecords.PutRecords
+ Amazonka.Kinesis.PutRecords: instance Control.DeepSeq.NFData Amazonka.Kinesis.PutRecords.PutRecords
+ Amazonka.Kinesis.PutRecords: instance Control.DeepSeq.NFData Amazonka.Kinesis.PutRecords.PutRecordsResponse
+ Amazonka.Kinesis.PutRecords: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.PutRecords.PutRecords
+ Amazonka.Kinesis.PutRecords: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.PutRecords.PutRecords
+ Amazonka.Kinesis.PutRecords: instance GHC.Classes.Eq Amazonka.Kinesis.PutRecords.PutRecords
+ Amazonka.Kinesis.PutRecords: instance GHC.Classes.Eq Amazonka.Kinesis.PutRecords.PutRecordsResponse
+ Amazonka.Kinesis.PutRecords: instance GHC.Generics.Generic Amazonka.Kinesis.PutRecords.PutRecords
+ Amazonka.Kinesis.PutRecords: instance GHC.Generics.Generic Amazonka.Kinesis.PutRecords.PutRecordsResponse
+ Amazonka.Kinesis.PutRecords: instance GHC.Read.Read Amazonka.Kinesis.PutRecords.PutRecords
+ Amazonka.Kinesis.PutRecords: instance GHC.Read.Read Amazonka.Kinesis.PutRecords.PutRecordsResponse
+ Amazonka.Kinesis.PutRecords: instance GHC.Show.Show Amazonka.Kinesis.PutRecords.PutRecords
+ Amazonka.Kinesis.PutRecords: instance GHC.Show.Show Amazonka.Kinesis.PutRecords.PutRecordsResponse
+ Amazonka.Kinesis.PutRecords: newPutRecords :: NonEmpty PutRecordsRequestEntry -> PutRecords
+ Amazonka.Kinesis.PutRecords: newPutRecordsResponse :: Int -> NonEmpty PutRecordsResultEntry -> PutRecordsResponse
+ Amazonka.Kinesis.PutRecords: putRecordsResponse_encryptionType :: Lens' PutRecordsResponse (Maybe EncryptionType)
+ Amazonka.Kinesis.PutRecords: putRecordsResponse_failedRecordCount :: Lens' PutRecordsResponse (Maybe Natural)
+ Amazonka.Kinesis.PutRecords: putRecordsResponse_httpStatus :: Lens' PutRecordsResponse Int
+ Amazonka.Kinesis.PutRecords: putRecordsResponse_records :: Lens' PutRecordsResponse (NonEmpty PutRecordsResultEntry)
+ Amazonka.Kinesis.PutRecords: putRecords_records :: Lens' PutRecords (NonEmpty PutRecordsRequestEntry)
+ Amazonka.Kinesis.PutRecords: putRecords_streamARN :: Lens' PutRecords (Maybe Text)
+ Amazonka.Kinesis.PutRecords: putRecords_streamName :: Lens' PutRecords (Maybe Text)
+ Amazonka.Kinesis.RegisterStreamConsumer: RegisterStreamConsumer' :: Text -> Text -> RegisterStreamConsumer
+ Amazonka.Kinesis.RegisterStreamConsumer: RegisterStreamConsumerResponse' :: Int -> Consumer -> RegisterStreamConsumerResponse
+ Amazonka.Kinesis.RegisterStreamConsumer: [$sel:consumer:RegisterStreamConsumerResponse'] :: RegisterStreamConsumerResponse -> Consumer
+ Amazonka.Kinesis.RegisterStreamConsumer: [$sel:consumerName:RegisterStreamConsumer'] :: RegisterStreamConsumer -> Text
+ Amazonka.Kinesis.RegisterStreamConsumer: [$sel:httpStatus:RegisterStreamConsumerResponse'] :: RegisterStreamConsumerResponse -> Int
+ Amazonka.Kinesis.RegisterStreamConsumer: [$sel:streamARN:RegisterStreamConsumer'] :: RegisterStreamConsumer -> Text
+ Amazonka.Kinesis.RegisterStreamConsumer: data RegisterStreamConsumer
+ Amazonka.Kinesis.RegisterStreamConsumer: data RegisterStreamConsumerResponse
+ Amazonka.Kinesis.RegisterStreamConsumer: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.RegisterStreamConsumer.RegisterStreamConsumer
+ Amazonka.Kinesis.RegisterStreamConsumer: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.RegisterStreamConsumer.RegisterStreamConsumer
+ Amazonka.Kinesis.RegisterStreamConsumer: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.RegisterStreamConsumer.RegisterStreamConsumer
+ Amazonka.Kinesis.RegisterStreamConsumer: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.RegisterStreamConsumer.RegisterStreamConsumer
+ Amazonka.Kinesis.RegisterStreamConsumer: instance Control.DeepSeq.NFData Amazonka.Kinesis.RegisterStreamConsumer.RegisterStreamConsumer
+ Amazonka.Kinesis.RegisterStreamConsumer: instance Control.DeepSeq.NFData Amazonka.Kinesis.RegisterStreamConsumer.RegisterStreamConsumerResponse
+ Amazonka.Kinesis.RegisterStreamConsumer: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.RegisterStreamConsumer.RegisterStreamConsumer
+ Amazonka.Kinesis.RegisterStreamConsumer: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.RegisterStreamConsumer.RegisterStreamConsumer
+ Amazonka.Kinesis.RegisterStreamConsumer: instance GHC.Classes.Eq Amazonka.Kinesis.RegisterStreamConsumer.RegisterStreamConsumer
+ Amazonka.Kinesis.RegisterStreamConsumer: instance GHC.Classes.Eq Amazonka.Kinesis.RegisterStreamConsumer.RegisterStreamConsumerResponse
+ Amazonka.Kinesis.RegisterStreamConsumer: instance GHC.Generics.Generic Amazonka.Kinesis.RegisterStreamConsumer.RegisterStreamConsumer
+ Amazonka.Kinesis.RegisterStreamConsumer: instance GHC.Generics.Generic Amazonka.Kinesis.RegisterStreamConsumer.RegisterStreamConsumerResponse
+ Amazonka.Kinesis.RegisterStreamConsumer: instance GHC.Read.Read Amazonka.Kinesis.RegisterStreamConsumer.RegisterStreamConsumer
+ Amazonka.Kinesis.RegisterStreamConsumer: instance GHC.Read.Read Amazonka.Kinesis.RegisterStreamConsumer.RegisterStreamConsumerResponse
+ Amazonka.Kinesis.RegisterStreamConsumer: instance GHC.Show.Show Amazonka.Kinesis.RegisterStreamConsumer.RegisterStreamConsumer
+ Amazonka.Kinesis.RegisterStreamConsumer: instance GHC.Show.Show Amazonka.Kinesis.RegisterStreamConsumer.RegisterStreamConsumerResponse
+ Amazonka.Kinesis.RegisterStreamConsumer: newRegisterStreamConsumer :: Text -> Text -> RegisterStreamConsumer
+ Amazonka.Kinesis.RegisterStreamConsumer: newRegisterStreamConsumerResponse :: Int -> Consumer -> RegisterStreamConsumerResponse
+ Amazonka.Kinesis.RegisterStreamConsumer: registerStreamConsumerResponse_consumer :: Lens' RegisterStreamConsumerResponse Consumer
+ Amazonka.Kinesis.RegisterStreamConsumer: registerStreamConsumerResponse_httpStatus :: Lens' RegisterStreamConsumerResponse Int
+ Amazonka.Kinesis.RegisterStreamConsumer: registerStreamConsumer_consumerName :: Lens' RegisterStreamConsumer Text
+ Amazonka.Kinesis.RegisterStreamConsumer: registerStreamConsumer_streamARN :: Lens' RegisterStreamConsumer Text
+ Amazonka.Kinesis.RemoveTagsFromStream: RemoveTagsFromStream' :: Maybe Text -> Maybe Text -> NonEmpty Text -> RemoveTagsFromStream
+ Amazonka.Kinesis.RemoveTagsFromStream: RemoveTagsFromStreamResponse' :: RemoveTagsFromStreamResponse
+ Amazonka.Kinesis.RemoveTagsFromStream: [$sel:streamARN:RemoveTagsFromStream'] :: RemoveTagsFromStream -> Maybe Text
+ Amazonka.Kinesis.RemoveTagsFromStream: [$sel:streamName:RemoveTagsFromStream'] :: RemoveTagsFromStream -> Maybe Text
+ Amazonka.Kinesis.RemoveTagsFromStream: [$sel:tagKeys:RemoveTagsFromStream'] :: RemoveTagsFromStream -> NonEmpty Text
+ Amazonka.Kinesis.RemoveTagsFromStream: data RemoveTagsFromStream
+ Amazonka.Kinesis.RemoveTagsFromStream: data RemoveTagsFromStreamResponse
+ Amazonka.Kinesis.RemoveTagsFromStream: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.RemoveTagsFromStream.RemoveTagsFromStream
+ Amazonka.Kinesis.RemoveTagsFromStream: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.RemoveTagsFromStream.RemoveTagsFromStream
+ Amazonka.Kinesis.RemoveTagsFromStream: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.RemoveTagsFromStream.RemoveTagsFromStream
+ Amazonka.Kinesis.RemoveTagsFromStream: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.RemoveTagsFromStream.RemoveTagsFromStream
+ Amazonka.Kinesis.RemoveTagsFromStream: instance Control.DeepSeq.NFData Amazonka.Kinesis.RemoveTagsFromStream.RemoveTagsFromStream
+ Amazonka.Kinesis.RemoveTagsFromStream: instance Control.DeepSeq.NFData Amazonka.Kinesis.RemoveTagsFromStream.RemoveTagsFromStreamResponse
+ Amazonka.Kinesis.RemoveTagsFromStream: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.RemoveTagsFromStream.RemoveTagsFromStream
+ Amazonka.Kinesis.RemoveTagsFromStream: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.RemoveTagsFromStream.RemoveTagsFromStream
+ Amazonka.Kinesis.RemoveTagsFromStream: instance GHC.Classes.Eq Amazonka.Kinesis.RemoveTagsFromStream.RemoveTagsFromStream
+ Amazonka.Kinesis.RemoveTagsFromStream: instance GHC.Classes.Eq Amazonka.Kinesis.RemoveTagsFromStream.RemoveTagsFromStreamResponse
+ Amazonka.Kinesis.RemoveTagsFromStream: instance GHC.Generics.Generic Amazonka.Kinesis.RemoveTagsFromStream.RemoveTagsFromStream
+ Amazonka.Kinesis.RemoveTagsFromStream: instance GHC.Generics.Generic Amazonka.Kinesis.RemoveTagsFromStream.RemoveTagsFromStreamResponse
+ Amazonka.Kinesis.RemoveTagsFromStream: instance GHC.Read.Read Amazonka.Kinesis.RemoveTagsFromStream.RemoveTagsFromStream
+ Amazonka.Kinesis.RemoveTagsFromStream: instance GHC.Read.Read Amazonka.Kinesis.RemoveTagsFromStream.RemoveTagsFromStreamResponse
+ Amazonka.Kinesis.RemoveTagsFromStream: instance GHC.Show.Show Amazonka.Kinesis.RemoveTagsFromStream.RemoveTagsFromStream
+ Amazonka.Kinesis.RemoveTagsFromStream: instance GHC.Show.Show Amazonka.Kinesis.RemoveTagsFromStream.RemoveTagsFromStreamResponse
+ Amazonka.Kinesis.RemoveTagsFromStream: newRemoveTagsFromStream :: NonEmpty Text -> RemoveTagsFromStream
+ Amazonka.Kinesis.RemoveTagsFromStream: newRemoveTagsFromStreamResponse :: RemoveTagsFromStreamResponse
+ Amazonka.Kinesis.RemoveTagsFromStream: removeTagsFromStream_streamARN :: Lens' RemoveTagsFromStream (Maybe Text)
+ Amazonka.Kinesis.RemoveTagsFromStream: removeTagsFromStream_streamName :: Lens' RemoveTagsFromStream (Maybe Text)
+ Amazonka.Kinesis.RemoveTagsFromStream: removeTagsFromStream_tagKeys :: Lens' RemoveTagsFromStream (NonEmpty Text)
+ Amazonka.Kinesis.SplitShard: SplitShard' :: Maybe Text -> Maybe Text -> Text -> Text -> SplitShard
+ Amazonka.Kinesis.SplitShard: SplitShardResponse' :: SplitShardResponse
+ Amazonka.Kinesis.SplitShard: [$sel:newStartingHashKey':SplitShard'] :: SplitShard -> Text
+ Amazonka.Kinesis.SplitShard: [$sel:shardToSplit:SplitShard'] :: SplitShard -> Text
+ Amazonka.Kinesis.SplitShard: [$sel:streamARN:SplitShard'] :: SplitShard -> Maybe Text
+ Amazonka.Kinesis.SplitShard: [$sel:streamName:SplitShard'] :: SplitShard -> Maybe Text
+ Amazonka.Kinesis.SplitShard: data SplitShard
+ Amazonka.Kinesis.SplitShard: data SplitShardResponse
+ Amazonka.Kinesis.SplitShard: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.SplitShard.SplitShard
+ Amazonka.Kinesis.SplitShard: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.SplitShard.SplitShard
+ Amazonka.Kinesis.SplitShard: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.SplitShard.SplitShard
+ Amazonka.Kinesis.SplitShard: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.SplitShard.SplitShard
+ Amazonka.Kinesis.SplitShard: instance Control.DeepSeq.NFData Amazonka.Kinesis.SplitShard.SplitShard
+ Amazonka.Kinesis.SplitShard: instance Control.DeepSeq.NFData Amazonka.Kinesis.SplitShard.SplitShardResponse
+ Amazonka.Kinesis.SplitShard: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.SplitShard.SplitShard
+ Amazonka.Kinesis.SplitShard: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.SplitShard.SplitShard
+ Amazonka.Kinesis.SplitShard: instance GHC.Classes.Eq Amazonka.Kinesis.SplitShard.SplitShard
+ Amazonka.Kinesis.SplitShard: instance GHC.Classes.Eq Amazonka.Kinesis.SplitShard.SplitShardResponse
+ Amazonka.Kinesis.SplitShard: instance GHC.Generics.Generic Amazonka.Kinesis.SplitShard.SplitShard
+ Amazonka.Kinesis.SplitShard: instance GHC.Generics.Generic Amazonka.Kinesis.SplitShard.SplitShardResponse
+ Amazonka.Kinesis.SplitShard: instance GHC.Read.Read Amazonka.Kinesis.SplitShard.SplitShard
+ Amazonka.Kinesis.SplitShard: instance GHC.Read.Read Amazonka.Kinesis.SplitShard.SplitShardResponse
+ Amazonka.Kinesis.SplitShard: instance GHC.Show.Show Amazonka.Kinesis.SplitShard.SplitShard
+ Amazonka.Kinesis.SplitShard: instance GHC.Show.Show Amazonka.Kinesis.SplitShard.SplitShardResponse
+ Amazonka.Kinesis.SplitShard: newSplitShard :: Text -> Text -> SplitShard
+ Amazonka.Kinesis.SplitShard: newSplitShardResponse :: SplitShardResponse
+ Amazonka.Kinesis.SplitShard: splitShard_newStartingHashKey :: Lens' SplitShard Text
+ Amazonka.Kinesis.SplitShard: splitShard_shardToSplit :: Lens' SplitShard Text
+ Amazonka.Kinesis.SplitShard: splitShard_streamARN :: Lens' SplitShard (Maybe Text)
+ Amazonka.Kinesis.SplitShard: splitShard_streamName :: Lens' SplitShard (Maybe Text)
+ Amazonka.Kinesis.StartStreamEncryption: StartStreamEncryption' :: Maybe Text -> Maybe Text -> EncryptionType -> Text -> StartStreamEncryption
+ Amazonka.Kinesis.StartStreamEncryption: StartStreamEncryptionResponse' :: StartStreamEncryptionResponse
+ Amazonka.Kinesis.StartStreamEncryption: [$sel:encryptionType:StartStreamEncryption'] :: StartStreamEncryption -> EncryptionType
+ Amazonka.Kinesis.StartStreamEncryption: [$sel:keyId:StartStreamEncryption'] :: StartStreamEncryption -> Text
+ Amazonka.Kinesis.StartStreamEncryption: [$sel:streamARN:StartStreamEncryption'] :: StartStreamEncryption -> Maybe Text
+ Amazonka.Kinesis.StartStreamEncryption: [$sel:streamName:StartStreamEncryption'] :: StartStreamEncryption -> Maybe Text
+ Amazonka.Kinesis.StartStreamEncryption: data StartStreamEncryption
+ Amazonka.Kinesis.StartStreamEncryption: data StartStreamEncryptionResponse
+ Amazonka.Kinesis.StartStreamEncryption: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.StartStreamEncryption.StartStreamEncryption
+ Amazonka.Kinesis.StartStreamEncryption: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.StartStreamEncryption.StartStreamEncryption
+ Amazonka.Kinesis.StartStreamEncryption: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.StartStreamEncryption.StartStreamEncryption
+ Amazonka.Kinesis.StartStreamEncryption: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.StartStreamEncryption.StartStreamEncryption
+ Amazonka.Kinesis.StartStreamEncryption: instance Control.DeepSeq.NFData Amazonka.Kinesis.StartStreamEncryption.StartStreamEncryption
+ Amazonka.Kinesis.StartStreamEncryption: instance Control.DeepSeq.NFData Amazonka.Kinesis.StartStreamEncryption.StartStreamEncryptionResponse
+ Amazonka.Kinesis.StartStreamEncryption: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.StartStreamEncryption.StartStreamEncryption
+ Amazonka.Kinesis.StartStreamEncryption: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.StartStreamEncryption.StartStreamEncryption
+ Amazonka.Kinesis.StartStreamEncryption: instance GHC.Classes.Eq Amazonka.Kinesis.StartStreamEncryption.StartStreamEncryption
+ Amazonka.Kinesis.StartStreamEncryption: instance GHC.Classes.Eq Amazonka.Kinesis.StartStreamEncryption.StartStreamEncryptionResponse
+ Amazonka.Kinesis.StartStreamEncryption: instance GHC.Generics.Generic Amazonka.Kinesis.StartStreamEncryption.StartStreamEncryption
+ Amazonka.Kinesis.StartStreamEncryption: instance GHC.Generics.Generic Amazonka.Kinesis.StartStreamEncryption.StartStreamEncryptionResponse
+ Amazonka.Kinesis.StartStreamEncryption: instance GHC.Read.Read Amazonka.Kinesis.StartStreamEncryption.StartStreamEncryption
+ Amazonka.Kinesis.StartStreamEncryption: instance GHC.Read.Read Amazonka.Kinesis.StartStreamEncryption.StartStreamEncryptionResponse
+ Amazonka.Kinesis.StartStreamEncryption: instance GHC.Show.Show Amazonka.Kinesis.StartStreamEncryption.StartStreamEncryption
+ Amazonka.Kinesis.StartStreamEncryption: instance GHC.Show.Show Amazonka.Kinesis.StartStreamEncryption.StartStreamEncryptionResponse
+ Amazonka.Kinesis.StartStreamEncryption: newStartStreamEncryption :: EncryptionType -> Text -> StartStreamEncryption
+ Amazonka.Kinesis.StartStreamEncryption: newStartStreamEncryptionResponse :: StartStreamEncryptionResponse
+ Amazonka.Kinesis.StartStreamEncryption: startStreamEncryption_encryptionType :: Lens' StartStreamEncryption EncryptionType
+ Amazonka.Kinesis.StartStreamEncryption: startStreamEncryption_keyId :: Lens' StartStreamEncryption Text
+ Amazonka.Kinesis.StartStreamEncryption: startStreamEncryption_streamARN :: Lens' StartStreamEncryption (Maybe Text)
+ Amazonka.Kinesis.StartStreamEncryption: startStreamEncryption_streamName :: Lens' StartStreamEncryption (Maybe Text)
+ Amazonka.Kinesis.StopStreamEncryption: StopStreamEncryption' :: Maybe Text -> Maybe Text -> EncryptionType -> Text -> StopStreamEncryption
+ Amazonka.Kinesis.StopStreamEncryption: StopStreamEncryptionResponse' :: StopStreamEncryptionResponse
+ Amazonka.Kinesis.StopStreamEncryption: [$sel:encryptionType:StopStreamEncryption'] :: StopStreamEncryption -> EncryptionType
+ Amazonka.Kinesis.StopStreamEncryption: [$sel:keyId:StopStreamEncryption'] :: StopStreamEncryption -> Text
+ Amazonka.Kinesis.StopStreamEncryption: [$sel:streamARN:StopStreamEncryption'] :: StopStreamEncryption -> Maybe Text
+ Amazonka.Kinesis.StopStreamEncryption: [$sel:streamName:StopStreamEncryption'] :: StopStreamEncryption -> Maybe Text
+ Amazonka.Kinesis.StopStreamEncryption: data StopStreamEncryption
+ Amazonka.Kinesis.StopStreamEncryption: data StopStreamEncryptionResponse
+ Amazonka.Kinesis.StopStreamEncryption: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.StopStreamEncryption.StopStreamEncryption
+ Amazonka.Kinesis.StopStreamEncryption: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.StopStreamEncryption.StopStreamEncryption
+ Amazonka.Kinesis.StopStreamEncryption: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.StopStreamEncryption.StopStreamEncryption
+ Amazonka.Kinesis.StopStreamEncryption: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.StopStreamEncryption.StopStreamEncryption
+ Amazonka.Kinesis.StopStreamEncryption: instance Control.DeepSeq.NFData Amazonka.Kinesis.StopStreamEncryption.StopStreamEncryption
+ Amazonka.Kinesis.StopStreamEncryption: instance Control.DeepSeq.NFData Amazonka.Kinesis.StopStreamEncryption.StopStreamEncryptionResponse
+ Amazonka.Kinesis.StopStreamEncryption: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.StopStreamEncryption.StopStreamEncryption
+ Amazonka.Kinesis.StopStreamEncryption: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.StopStreamEncryption.StopStreamEncryption
+ Amazonka.Kinesis.StopStreamEncryption: instance GHC.Classes.Eq Amazonka.Kinesis.StopStreamEncryption.StopStreamEncryption
+ Amazonka.Kinesis.StopStreamEncryption: instance GHC.Classes.Eq Amazonka.Kinesis.StopStreamEncryption.StopStreamEncryptionResponse
+ Amazonka.Kinesis.StopStreamEncryption: instance GHC.Generics.Generic Amazonka.Kinesis.StopStreamEncryption.StopStreamEncryption
+ Amazonka.Kinesis.StopStreamEncryption: instance GHC.Generics.Generic Amazonka.Kinesis.StopStreamEncryption.StopStreamEncryptionResponse
+ Amazonka.Kinesis.StopStreamEncryption: instance GHC.Read.Read Amazonka.Kinesis.StopStreamEncryption.StopStreamEncryption
+ Amazonka.Kinesis.StopStreamEncryption: instance GHC.Read.Read Amazonka.Kinesis.StopStreamEncryption.StopStreamEncryptionResponse
+ Amazonka.Kinesis.StopStreamEncryption: instance GHC.Show.Show Amazonka.Kinesis.StopStreamEncryption.StopStreamEncryption
+ Amazonka.Kinesis.StopStreamEncryption: instance GHC.Show.Show Amazonka.Kinesis.StopStreamEncryption.StopStreamEncryptionResponse
+ Amazonka.Kinesis.StopStreamEncryption: newStopStreamEncryption :: EncryptionType -> Text -> StopStreamEncryption
+ Amazonka.Kinesis.StopStreamEncryption: newStopStreamEncryptionResponse :: StopStreamEncryptionResponse
+ Amazonka.Kinesis.StopStreamEncryption: stopStreamEncryption_encryptionType :: Lens' StopStreamEncryption EncryptionType
+ Amazonka.Kinesis.StopStreamEncryption: stopStreamEncryption_keyId :: Lens' StopStreamEncryption Text
+ Amazonka.Kinesis.StopStreamEncryption: stopStreamEncryption_streamARN :: Lens' StopStreamEncryption (Maybe Text)
+ Amazonka.Kinesis.StopStreamEncryption: stopStreamEncryption_streamName :: Lens' StopStreamEncryption (Maybe Text)
+ Amazonka.Kinesis.SubscribeToShard: SubscribeToShard' :: Text -> Text -> StartingPosition -> SubscribeToShard
+ Amazonka.Kinesis.SubscribeToShard: SubscribeToShardResponse' :: Int -> Value -> SubscribeToShardResponse
+ Amazonka.Kinesis.SubscribeToShard: [$sel:consumerARN:SubscribeToShard'] :: SubscribeToShard -> Text
+ Amazonka.Kinesis.SubscribeToShard: [$sel:eventStream:SubscribeToShardResponse'] :: SubscribeToShardResponse -> Value
+ Amazonka.Kinesis.SubscribeToShard: [$sel:httpStatus:SubscribeToShardResponse'] :: SubscribeToShardResponse -> Int
+ Amazonka.Kinesis.SubscribeToShard: [$sel:shardId:SubscribeToShard'] :: SubscribeToShard -> Text
+ Amazonka.Kinesis.SubscribeToShard: [$sel:startingPosition:SubscribeToShard'] :: SubscribeToShard -> StartingPosition
+ Amazonka.Kinesis.SubscribeToShard: data SubscribeToShard
+ Amazonka.Kinesis.SubscribeToShard: data SubscribeToShardResponse
+ Amazonka.Kinesis.SubscribeToShard: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.SubscribeToShard.SubscribeToShard
+ Amazonka.Kinesis.SubscribeToShard: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.SubscribeToShard.SubscribeToShard
+ Amazonka.Kinesis.SubscribeToShard: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.SubscribeToShard.SubscribeToShard
+ Amazonka.Kinesis.SubscribeToShard: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.SubscribeToShard.SubscribeToShard
+ Amazonka.Kinesis.SubscribeToShard: instance Control.DeepSeq.NFData Amazonka.Kinesis.SubscribeToShard.SubscribeToShard
+ Amazonka.Kinesis.SubscribeToShard: instance Control.DeepSeq.NFData Amazonka.Kinesis.SubscribeToShard.SubscribeToShardResponse
+ Amazonka.Kinesis.SubscribeToShard: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.SubscribeToShard.SubscribeToShard
+ Amazonka.Kinesis.SubscribeToShard: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.SubscribeToShard.SubscribeToShard
+ Amazonka.Kinesis.SubscribeToShard: instance GHC.Classes.Eq Amazonka.Kinesis.SubscribeToShard.SubscribeToShard
+ Amazonka.Kinesis.SubscribeToShard: instance GHC.Generics.Generic Amazonka.Kinesis.SubscribeToShard.SubscribeToShard
+ Amazonka.Kinesis.SubscribeToShard: instance GHC.Generics.Generic Amazonka.Kinesis.SubscribeToShard.SubscribeToShardResponse
+ Amazonka.Kinesis.SubscribeToShard: instance GHC.Read.Read Amazonka.Kinesis.SubscribeToShard.SubscribeToShard
+ Amazonka.Kinesis.SubscribeToShard: instance GHC.Show.Show Amazonka.Kinesis.SubscribeToShard.SubscribeToShard
+ Amazonka.Kinesis.SubscribeToShard: newSubscribeToShard :: Text -> Text -> StartingPosition -> SubscribeToShard
+ Amazonka.Kinesis.SubscribeToShard: newSubscribeToShardResponse :: Int -> Value -> SubscribeToShardResponse
+ Amazonka.Kinesis.SubscribeToShard: subscribeToShardResponse_eventStream :: Lens' SubscribeToShardResponse Value
+ Amazonka.Kinesis.SubscribeToShard: subscribeToShardResponse_httpStatus :: Lens' SubscribeToShardResponse Int
+ Amazonka.Kinesis.SubscribeToShard: subscribeToShard_consumerARN :: Lens' SubscribeToShard Text
+ Amazonka.Kinesis.SubscribeToShard: subscribeToShard_shardId :: Lens' SubscribeToShard Text
+ Amazonka.Kinesis.SubscribeToShard: subscribeToShard_startingPosition :: Lens' SubscribeToShard StartingPosition
+ Amazonka.Kinesis.Types: ChildShard' :: Text -> [Text] -> HashKeyRange -> ChildShard
+ Amazonka.Kinesis.Types: Consumer' :: Text -> Text -> ConsumerStatus -> POSIX -> Consumer
+ Amazonka.Kinesis.Types: ConsumerDescription' :: Text -> Text -> ConsumerStatus -> POSIX -> Text -> ConsumerDescription
+ Amazonka.Kinesis.Types: ConsumerStatus' :: Text -> ConsumerStatus
+ Amazonka.Kinesis.Types: EncryptionType' :: Text -> EncryptionType
+ Amazonka.Kinesis.Types: EnhancedMetrics' :: Maybe [MetricsName] -> EnhancedMetrics
+ Amazonka.Kinesis.Types: EnhancedMonitoringOutput' :: Maybe [MetricsName] -> Maybe [MetricsName] -> Maybe Text -> Maybe Text -> EnhancedMonitoringOutput
+ Amazonka.Kinesis.Types: HashKeyRange' :: Text -> Text -> HashKeyRange
+ Amazonka.Kinesis.Types: MetricsName' :: Text -> MetricsName
+ Amazonka.Kinesis.Types: PutRecordsRequestEntry' :: Maybe Text -> Base64 -> Text -> PutRecordsRequestEntry
+ Amazonka.Kinesis.Types: PutRecordsResultEntry' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PutRecordsResultEntry
+ Amazonka.Kinesis.Types: Record' :: Maybe POSIX -> Maybe EncryptionType -> Text -> Base64 -> Text -> Record
+ Amazonka.Kinesis.Types: ScalingType' :: Text -> ScalingType
+ Amazonka.Kinesis.Types: SequenceNumberRange' :: Maybe Text -> Text -> SequenceNumberRange
+ Amazonka.Kinesis.Types: Shard' :: Maybe Text -> Maybe Text -> Text -> HashKeyRange -> SequenceNumberRange -> Shard
+ Amazonka.Kinesis.Types: ShardFilter' :: Maybe Text -> Maybe POSIX -> ShardFilterType -> ShardFilter
+ Amazonka.Kinesis.Types: ShardFilterType' :: Text -> ShardFilterType
+ Amazonka.Kinesis.Types: ShardIteratorType' :: Text -> ShardIteratorType
+ Amazonka.Kinesis.Types: StartingPosition' :: Maybe Text -> Maybe POSIX -> ShardIteratorType -> StartingPosition
+ Amazonka.Kinesis.Types: StreamDescription' :: Maybe EncryptionType -> Maybe Text -> Maybe StreamModeDetails -> Text -> Text -> StreamStatus -> [Shard] -> Bool -> Int -> POSIX -> [EnhancedMetrics] -> StreamDescription
+ Amazonka.Kinesis.Types: StreamDescriptionSummary' :: Maybe Natural -> Maybe EncryptionType -> Maybe Text -> Maybe StreamModeDetails -> Text -> Text -> StreamStatus -> Int -> POSIX -> [EnhancedMetrics] -> Natural -> StreamDescriptionSummary
+ Amazonka.Kinesis.Types: StreamMode' :: Text -> StreamMode
+ Amazonka.Kinesis.Types: StreamModeDetails' :: StreamMode -> StreamModeDetails
+ Amazonka.Kinesis.Types: StreamStatus' :: Text -> StreamStatus
+ Amazonka.Kinesis.Types: StreamSummary' :: Maybe POSIX -> Maybe StreamModeDetails -> Text -> Text -> StreamStatus -> StreamSummary
+ Amazonka.Kinesis.Types: SubscribeToShardEvent' :: Maybe [ChildShard] -> [Record] -> Text -> Natural -> SubscribeToShardEvent
+ Amazonka.Kinesis.Types: Tag' :: Maybe Text -> Text -> Tag
+ Amazonka.Kinesis.Types: [$sel:adjacentParentShardId:Shard'] :: Shard -> Maybe Text
+ Amazonka.Kinesis.Types: [$sel:approximateArrivalTimestamp:Record'] :: Record -> Maybe POSIX
+ Amazonka.Kinesis.Types: [$sel:childShards:SubscribeToShardEvent'] :: SubscribeToShardEvent -> Maybe [ChildShard]
+ Amazonka.Kinesis.Types: [$sel:consumerARN:Consumer'] :: Consumer -> Text
+ Amazonka.Kinesis.Types: [$sel:consumerARN:ConsumerDescription'] :: ConsumerDescription -> Text
+ Amazonka.Kinesis.Types: [$sel:consumerCount:StreamDescriptionSummary'] :: StreamDescriptionSummary -> Maybe Natural
+ Amazonka.Kinesis.Types: [$sel:consumerCreationTimestamp:Consumer'] :: Consumer -> POSIX
+ Amazonka.Kinesis.Types: [$sel:consumerCreationTimestamp:ConsumerDescription'] :: ConsumerDescription -> POSIX
+ Amazonka.Kinesis.Types: [$sel:consumerName:Consumer'] :: Consumer -> Text
+ Amazonka.Kinesis.Types: [$sel:consumerName:ConsumerDescription'] :: ConsumerDescription -> Text
+ Amazonka.Kinesis.Types: [$sel:consumerStatus:Consumer'] :: Consumer -> ConsumerStatus
+ Amazonka.Kinesis.Types: [$sel:consumerStatus:ConsumerDescription'] :: ConsumerDescription -> ConsumerStatus
+ Amazonka.Kinesis.Types: [$sel:continuationSequenceNumber:SubscribeToShardEvent'] :: SubscribeToShardEvent -> Text
+ Amazonka.Kinesis.Types: [$sel:currentShardLevelMetrics:EnhancedMonitoringOutput'] :: EnhancedMonitoringOutput -> Maybe [MetricsName]
+ Amazonka.Kinesis.Types: [$sel:data':PutRecordsRequestEntry'] :: PutRecordsRequestEntry -> Base64
+ Amazonka.Kinesis.Types: [$sel:data':Record'] :: Record -> Base64
+ Amazonka.Kinesis.Types: [$sel:desiredShardLevelMetrics:EnhancedMonitoringOutput'] :: EnhancedMonitoringOutput -> Maybe [MetricsName]
+ Amazonka.Kinesis.Types: [$sel:encryptionType:Record'] :: Record -> Maybe EncryptionType
+ Amazonka.Kinesis.Types: [$sel:encryptionType:StreamDescription'] :: StreamDescription -> Maybe EncryptionType
+ Amazonka.Kinesis.Types: [$sel:encryptionType:StreamDescriptionSummary'] :: StreamDescriptionSummary -> Maybe EncryptionType
+ Amazonka.Kinesis.Types: [$sel:endingHashKey:HashKeyRange'] :: HashKeyRange -> Text
+ Amazonka.Kinesis.Types: [$sel:endingSequenceNumber:SequenceNumberRange'] :: SequenceNumberRange -> Maybe Text
+ Amazonka.Kinesis.Types: [$sel:enhancedMonitoring:StreamDescription'] :: StreamDescription -> [EnhancedMetrics]
+ Amazonka.Kinesis.Types: [$sel:enhancedMonitoring:StreamDescriptionSummary'] :: StreamDescriptionSummary -> [EnhancedMetrics]
+ Amazonka.Kinesis.Types: [$sel:errorCode:PutRecordsResultEntry'] :: PutRecordsResultEntry -> Maybe Text
+ Amazonka.Kinesis.Types: [$sel:errorMessage:PutRecordsResultEntry'] :: PutRecordsResultEntry -> Maybe Text
+ Amazonka.Kinesis.Types: [$sel:explicitHashKey:PutRecordsRequestEntry'] :: PutRecordsRequestEntry -> Maybe Text
+ Amazonka.Kinesis.Types: [$sel:hasMoreShards:StreamDescription'] :: StreamDescription -> Bool
+ Amazonka.Kinesis.Types: [$sel:hashKeyRange:ChildShard'] :: ChildShard -> HashKeyRange
+ Amazonka.Kinesis.Types: [$sel:hashKeyRange:Shard'] :: Shard -> HashKeyRange
+ Amazonka.Kinesis.Types: [$sel:key:Tag'] :: Tag -> Text
+ Amazonka.Kinesis.Types: [$sel:keyId:StreamDescription'] :: StreamDescription -> Maybe Text
+ Amazonka.Kinesis.Types: [$sel:keyId:StreamDescriptionSummary'] :: StreamDescriptionSummary -> Maybe Text
+ Amazonka.Kinesis.Types: [$sel:millisBehindLatest:SubscribeToShardEvent'] :: SubscribeToShardEvent -> Natural
+ Amazonka.Kinesis.Types: [$sel:openShardCount:StreamDescriptionSummary'] :: StreamDescriptionSummary -> Natural
+ Amazonka.Kinesis.Types: [$sel:parentShardId:Shard'] :: Shard -> Maybe Text
+ Amazonka.Kinesis.Types: [$sel:parentShards:ChildShard'] :: ChildShard -> [Text]
+ Amazonka.Kinesis.Types: [$sel:partitionKey:PutRecordsRequestEntry'] :: PutRecordsRequestEntry -> Text
+ Amazonka.Kinesis.Types: [$sel:partitionKey:Record'] :: Record -> Text
+ Amazonka.Kinesis.Types: [$sel:records:SubscribeToShardEvent'] :: SubscribeToShardEvent -> [Record]
+ Amazonka.Kinesis.Types: [$sel:retentionPeriodHours:StreamDescription'] :: StreamDescription -> Int
+ Amazonka.Kinesis.Types: [$sel:retentionPeriodHours:StreamDescriptionSummary'] :: StreamDescriptionSummary -> Int
+ Amazonka.Kinesis.Types: [$sel:sequenceNumber:PutRecordsResultEntry'] :: PutRecordsResultEntry -> Maybe Text
+ Amazonka.Kinesis.Types: [$sel:sequenceNumber:Record'] :: Record -> Text
+ Amazonka.Kinesis.Types: [$sel:sequenceNumber:StartingPosition'] :: StartingPosition -> Maybe Text
+ Amazonka.Kinesis.Types: [$sel:sequenceNumberRange:Shard'] :: Shard -> SequenceNumberRange
+ Amazonka.Kinesis.Types: [$sel:shardId:ChildShard'] :: ChildShard -> Text
+ Amazonka.Kinesis.Types: [$sel:shardId:PutRecordsResultEntry'] :: PutRecordsResultEntry -> Maybe Text
+ Amazonka.Kinesis.Types: [$sel:shardId:Shard'] :: Shard -> Text
+ Amazonka.Kinesis.Types: [$sel:shardId:ShardFilter'] :: ShardFilter -> Maybe Text
+ Amazonka.Kinesis.Types: [$sel:shardLevelMetrics:EnhancedMetrics'] :: EnhancedMetrics -> Maybe [MetricsName]
+ Amazonka.Kinesis.Types: [$sel:shards:StreamDescription'] :: StreamDescription -> [Shard]
+ Amazonka.Kinesis.Types: [$sel:startingHashKey:HashKeyRange'] :: HashKeyRange -> Text
+ Amazonka.Kinesis.Types: [$sel:startingSequenceNumber:SequenceNumberRange'] :: SequenceNumberRange -> Text
+ Amazonka.Kinesis.Types: [$sel:streamARN:ConsumerDescription'] :: ConsumerDescription -> Text
+ Amazonka.Kinesis.Types: [$sel:streamARN:EnhancedMonitoringOutput'] :: EnhancedMonitoringOutput -> Maybe Text
+ Amazonka.Kinesis.Types: [$sel:streamARN:StreamDescription'] :: StreamDescription -> Text
+ Amazonka.Kinesis.Types: [$sel:streamARN:StreamDescriptionSummary'] :: StreamDescriptionSummary -> Text
+ Amazonka.Kinesis.Types: [$sel:streamARN:StreamSummary'] :: StreamSummary -> Text
+ Amazonka.Kinesis.Types: [$sel:streamCreationTimestamp:StreamDescription'] :: StreamDescription -> POSIX
+ Amazonka.Kinesis.Types: [$sel:streamCreationTimestamp:StreamDescriptionSummary'] :: StreamDescriptionSummary -> POSIX
+ Amazonka.Kinesis.Types: [$sel:streamCreationTimestamp:StreamSummary'] :: StreamSummary -> Maybe POSIX
+ Amazonka.Kinesis.Types: [$sel:streamMode:StreamModeDetails'] :: StreamModeDetails -> StreamMode
+ Amazonka.Kinesis.Types: [$sel:streamModeDetails:StreamDescription'] :: StreamDescription -> Maybe StreamModeDetails
+ Amazonka.Kinesis.Types: [$sel:streamModeDetails:StreamDescriptionSummary'] :: StreamDescriptionSummary -> Maybe StreamModeDetails
+ Amazonka.Kinesis.Types: [$sel:streamModeDetails:StreamSummary'] :: StreamSummary -> Maybe StreamModeDetails
+ Amazonka.Kinesis.Types: [$sel:streamName:EnhancedMonitoringOutput'] :: EnhancedMonitoringOutput -> Maybe Text
+ Amazonka.Kinesis.Types: [$sel:streamName:StreamDescription'] :: StreamDescription -> Text
+ Amazonka.Kinesis.Types: [$sel:streamName:StreamDescriptionSummary'] :: StreamDescriptionSummary -> Text
+ Amazonka.Kinesis.Types: [$sel:streamName:StreamSummary'] :: StreamSummary -> Text
+ Amazonka.Kinesis.Types: [$sel:streamStatus:StreamDescription'] :: StreamDescription -> StreamStatus
+ Amazonka.Kinesis.Types: [$sel:streamStatus:StreamDescriptionSummary'] :: StreamDescriptionSummary -> StreamStatus
+ Amazonka.Kinesis.Types: [$sel:streamStatus:StreamSummary'] :: StreamSummary -> StreamStatus
+ Amazonka.Kinesis.Types: [$sel:timestamp:ShardFilter'] :: ShardFilter -> Maybe POSIX
+ Amazonka.Kinesis.Types: [$sel:timestamp:StartingPosition'] :: StartingPosition -> Maybe POSIX
+ Amazonka.Kinesis.Types: [$sel:type':ShardFilter'] :: ShardFilter -> ShardFilterType
+ Amazonka.Kinesis.Types: [$sel:type':StartingPosition'] :: StartingPosition -> ShardIteratorType
+ Amazonka.Kinesis.Types: [$sel:value:Tag'] :: Tag -> Maybe Text
+ Amazonka.Kinesis.Types: [fromConsumerStatus] :: ConsumerStatus -> Text
+ Amazonka.Kinesis.Types: [fromEncryptionType] :: EncryptionType -> Text
+ Amazonka.Kinesis.Types: [fromMetricsName] :: MetricsName -> Text
+ Amazonka.Kinesis.Types: [fromScalingType] :: ScalingType -> Text
+ Amazonka.Kinesis.Types: [fromShardFilterType] :: ShardFilterType -> Text
+ Amazonka.Kinesis.Types: [fromShardIteratorType] :: ShardIteratorType -> Text
+ Amazonka.Kinesis.Types: [fromStreamMode] :: StreamMode -> Text
+ Amazonka.Kinesis.Types: [fromStreamStatus] :: StreamStatus -> Text
+ Amazonka.Kinesis.Types: _AccessDeniedException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis.Types: _ExpiredIteratorException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis.Types: _ExpiredNextTokenException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis.Types: _InternalFailureException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis.Types: _InvalidArgumentException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis.Types: _KMSAccessDeniedException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis.Types: _KMSDisabledException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis.Types: _KMSInvalidStateException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis.Types: _KMSNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis.Types: _KMSOptInRequired :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis.Types: _KMSThrottlingException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis.Types: _LimitExceededException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis.Types: _ProvisionedThroughputExceededException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis.Types: _ResourceInUseException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis.Types: _ResourceNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis.Types: _ValidationException :: AsError a => Fold a ServiceError
+ Amazonka.Kinesis.Types: childShard_hashKeyRange :: Lens' ChildShard HashKeyRange
+ Amazonka.Kinesis.Types: childShard_parentShards :: Lens' ChildShard [Text]
+ Amazonka.Kinesis.Types: childShard_shardId :: Lens' ChildShard Text
+ Amazonka.Kinesis.Types: consumerDescription_consumerARN :: Lens' ConsumerDescription Text
+ Amazonka.Kinesis.Types: consumerDescription_consumerCreationTimestamp :: Lens' ConsumerDescription UTCTime
+ Amazonka.Kinesis.Types: consumerDescription_consumerName :: Lens' ConsumerDescription Text
+ Amazonka.Kinesis.Types: consumerDescription_consumerStatus :: Lens' ConsumerDescription ConsumerStatus
+ Amazonka.Kinesis.Types: consumerDescription_streamARN :: Lens' ConsumerDescription Text
+ Amazonka.Kinesis.Types: consumer_consumerARN :: Lens' Consumer Text
+ Amazonka.Kinesis.Types: consumer_consumerCreationTimestamp :: Lens' Consumer UTCTime
+ Amazonka.Kinesis.Types: consumer_consumerName :: Lens' Consumer Text
+ Amazonka.Kinesis.Types: consumer_consumerStatus :: Lens' Consumer ConsumerStatus
+ Amazonka.Kinesis.Types: data ChildShard
+ Amazonka.Kinesis.Types: data Consumer
+ Amazonka.Kinesis.Types: data ConsumerDescription
+ Amazonka.Kinesis.Types: data EnhancedMetrics
+ Amazonka.Kinesis.Types: data EnhancedMonitoringOutput
+ Amazonka.Kinesis.Types: data HashKeyRange
+ Amazonka.Kinesis.Types: data PutRecordsRequestEntry
+ Amazonka.Kinesis.Types: data PutRecordsResultEntry
+ Amazonka.Kinesis.Types: data Record
+ Amazonka.Kinesis.Types: data SequenceNumberRange
+ Amazonka.Kinesis.Types: data Shard
+ Amazonka.Kinesis.Types: data ShardFilter
+ Amazonka.Kinesis.Types: data StartingPosition
+ Amazonka.Kinesis.Types: data StreamDescription
+ Amazonka.Kinesis.Types: data StreamDescriptionSummary
+ Amazonka.Kinesis.Types: data StreamModeDetails
+ Amazonka.Kinesis.Types: data StreamSummary
+ Amazonka.Kinesis.Types: data SubscribeToShardEvent
+ Amazonka.Kinesis.Types: data Tag
+ Amazonka.Kinesis.Types: defaultService :: Service
+ Amazonka.Kinesis.Types: enhancedMetrics_shardLevelMetrics :: Lens' EnhancedMetrics (Maybe [MetricsName])
+ Amazonka.Kinesis.Types: enhancedMonitoringOutput_currentShardLevelMetrics :: Lens' EnhancedMonitoringOutput (Maybe [MetricsName])
+ Amazonka.Kinesis.Types: enhancedMonitoringOutput_desiredShardLevelMetrics :: Lens' EnhancedMonitoringOutput (Maybe [MetricsName])
+ Amazonka.Kinesis.Types: enhancedMonitoringOutput_streamARN :: Lens' EnhancedMonitoringOutput (Maybe Text)
+ Amazonka.Kinesis.Types: enhancedMonitoringOutput_streamName :: Lens' EnhancedMonitoringOutput (Maybe Text)
+ Amazonka.Kinesis.Types: hashKeyRange_endingHashKey :: Lens' HashKeyRange Text
+ Amazonka.Kinesis.Types: hashKeyRange_startingHashKey :: Lens' HashKeyRange Text
+ Amazonka.Kinesis.Types: newChildShard :: Text -> HashKeyRange -> ChildShard
+ Amazonka.Kinesis.Types: newConsumer :: Text -> Text -> ConsumerStatus -> UTCTime -> Consumer
+ Amazonka.Kinesis.Types: newConsumerDescription :: Text -> Text -> ConsumerStatus -> UTCTime -> Text -> ConsumerDescription
+ Amazonka.Kinesis.Types: newEnhancedMetrics :: EnhancedMetrics
+ Amazonka.Kinesis.Types: newEnhancedMonitoringOutput :: EnhancedMonitoringOutput
+ Amazonka.Kinesis.Types: newHashKeyRange :: Text -> Text -> HashKeyRange
+ Amazonka.Kinesis.Types: newPutRecordsRequestEntry :: ByteString -> Text -> PutRecordsRequestEntry
+ Amazonka.Kinesis.Types: newPutRecordsResultEntry :: PutRecordsResultEntry
+ Amazonka.Kinesis.Types: newRecord :: Text -> ByteString -> Text -> Record
+ Amazonka.Kinesis.Types: newSequenceNumberRange :: Text -> SequenceNumberRange
+ Amazonka.Kinesis.Types: newShard :: Text -> HashKeyRange -> SequenceNumberRange -> Shard
+ Amazonka.Kinesis.Types: newShardFilter :: ShardFilterType -> ShardFilter
+ Amazonka.Kinesis.Types: newStartingPosition :: ShardIteratorType -> StartingPosition
+ Amazonka.Kinesis.Types: newStreamDescription :: Text -> Text -> StreamStatus -> Bool -> Int -> UTCTime -> StreamDescription
+ Amazonka.Kinesis.Types: newStreamDescriptionSummary :: Text -> Text -> StreamStatus -> Int -> UTCTime -> Natural -> StreamDescriptionSummary
+ Amazonka.Kinesis.Types: newStreamModeDetails :: StreamMode -> StreamModeDetails
+ Amazonka.Kinesis.Types: newStreamSummary :: Text -> Text -> StreamStatus -> StreamSummary
+ Amazonka.Kinesis.Types: newSubscribeToShardEvent :: Text -> Natural -> SubscribeToShardEvent
+ Amazonka.Kinesis.Types: newTag :: Text -> Tag
+ Amazonka.Kinesis.Types: newtype ConsumerStatus
+ Amazonka.Kinesis.Types: newtype EncryptionType
+ Amazonka.Kinesis.Types: newtype MetricsName
+ Amazonka.Kinesis.Types: newtype ScalingType
+ Amazonka.Kinesis.Types: newtype ShardFilterType
+ Amazonka.Kinesis.Types: newtype ShardIteratorType
+ Amazonka.Kinesis.Types: newtype StreamMode
+ Amazonka.Kinesis.Types: newtype StreamStatus
+ Amazonka.Kinesis.Types: pattern ConsumerStatus_ACTIVE :: ConsumerStatus
+ Amazonka.Kinesis.Types: pattern ConsumerStatus_CREATING :: ConsumerStatus
+ Amazonka.Kinesis.Types: pattern ConsumerStatus_DELETING :: ConsumerStatus
+ Amazonka.Kinesis.Types: pattern EncryptionType_KMS :: EncryptionType
+ Amazonka.Kinesis.Types: pattern EncryptionType_NONE :: EncryptionType
+ Amazonka.Kinesis.Types: pattern MetricsName_ALL :: MetricsName
+ Amazonka.Kinesis.Types: pattern MetricsName_IncomingBytes :: MetricsName
+ Amazonka.Kinesis.Types: pattern MetricsName_IncomingRecords :: MetricsName
+ Amazonka.Kinesis.Types: pattern MetricsName_IteratorAgeMilliseconds :: MetricsName
+ Amazonka.Kinesis.Types: pattern MetricsName_OutgoingBytes :: MetricsName
+ Amazonka.Kinesis.Types: pattern MetricsName_OutgoingRecords :: MetricsName
+ Amazonka.Kinesis.Types: pattern MetricsName_ReadProvisionedThroughputExceeded :: MetricsName
+ Amazonka.Kinesis.Types: pattern MetricsName_WriteProvisionedThroughputExceeded :: MetricsName
+ Amazonka.Kinesis.Types: pattern ScalingType_UNIFORM_SCALING :: ScalingType
+ Amazonka.Kinesis.Types: pattern ShardFilterType_AFTER_SHARD_ID :: ShardFilterType
+ Amazonka.Kinesis.Types: pattern ShardFilterType_AT_LATEST :: ShardFilterType
+ Amazonka.Kinesis.Types: pattern ShardFilterType_AT_TIMESTAMP :: ShardFilterType
+ Amazonka.Kinesis.Types: pattern ShardFilterType_AT_TRIM_HORIZON :: ShardFilterType
+ Amazonka.Kinesis.Types: pattern ShardFilterType_FROM_TIMESTAMP :: ShardFilterType
+ Amazonka.Kinesis.Types: pattern ShardFilterType_FROM_TRIM_HORIZON :: ShardFilterType
+ Amazonka.Kinesis.Types: pattern ShardIteratorType_AFTER_SEQUENCE_NUMBER :: ShardIteratorType
+ Amazonka.Kinesis.Types: pattern ShardIteratorType_AT_SEQUENCE_NUMBER :: ShardIteratorType
+ Amazonka.Kinesis.Types: pattern ShardIteratorType_AT_TIMESTAMP :: ShardIteratorType
+ Amazonka.Kinesis.Types: pattern ShardIteratorType_LATEST :: ShardIteratorType
+ Amazonka.Kinesis.Types: pattern ShardIteratorType_TRIM_HORIZON :: ShardIteratorType
+ Amazonka.Kinesis.Types: pattern StreamMode_ON_DEMAND :: StreamMode
+ Amazonka.Kinesis.Types: pattern StreamMode_PROVISIONED :: StreamMode
+ Amazonka.Kinesis.Types: pattern StreamStatus_ACTIVE :: StreamStatus
+ Amazonka.Kinesis.Types: pattern StreamStatus_CREATING :: StreamStatus
+ Amazonka.Kinesis.Types: pattern StreamStatus_DELETING :: StreamStatus
+ Amazonka.Kinesis.Types: pattern StreamStatus_UPDATING :: StreamStatus
+ Amazonka.Kinesis.Types: putRecordsRequestEntry_data :: Lens' PutRecordsRequestEntry ByteString
+ Amazonka.Kinesis.Types: putRecordsRequestEntry_explicitHashKey :: Lens' PutRecordsRequestEntry (Maybe Text)
+ Amazonka.Kinesis.Types: putRecordsRequestEntry_partitionKey :: Lens' PutRecordsRequestEntry Text
+ Amazonka.Kinesis.Types: putRecordsResultEntry_errorCode :: Lens' PutRecordsResultEntry (Maybe Text)
+ Amazonka.Kinesis.Types: putRecordsResultEntry_errorMessage :: Lens' PutRecordsResultEntry (Maybe Text)
+ Amazonka.Kinesis.Types: putRecordsResultEntry_sequenceNumber :: Lens' PutRecordsResultEntry (Maybe Text)
+ Amazonka.Kinesis.Types: putRecordsResultEntry_shardId :: Lens' PutRecordsResultEntry (Maybe Text)
+ Amazonka.Kinesis.Types: record_approximateArrivalTimestamp :: Lens' Record (Maybe UTCTime)
+ Amazonka.Kinesis.Types: record_data :: Lens' Record ByteString
+ Amazonka.Kinesis.Types: record_encryptionType :: Lens' Record (Maybe EncryptionType)
+ Amazonka.Kinesis.Types: record_partitionKey :: Lens' Record Text
+ Amazonka.Kinesis.Types: record_sequenceNumber :: Lens' Record Text
+ Amazonka.Kinesis.Types: sequenceNumberRange_endingSequenceNumber :: Lens' SequenceNumberRange (Maybe Text)
+ Amazonka.Kinesis.Types: sequenceNumberRange_startingSequenceNumber :: Lens' SequenceNumberRange Text
+ Amazonka.Kinesis.Types: shardFilter_shardId :: Lens' ShardFilter (Maybe Text)
+ Amazonka.Kinesis.Types: shardFilter_timestamp :: Lens' ShardFilter (Maybe UTCTime)
+ Amazonka.Kinesis.Types: shardFilter_type :: Lens' ShardFilter ShardFilterType
+ Amazonka.Kinesis.Types: shard_adjacentParentShardId :: Lens' Shard (Maybe Text)
+ Amazonka.Kinesis.Types: shard_hashKeyRange :: Lens' Shard HashKeyRange
+ Amazonka.Kinesis.Types: shard_parentShardId :: Lens' Shard (Maybe Text)
+ Amazonka.Kinesis.Types: shard_sequenceNumberRange :: Lens' Shard SequenceNumberRange
+ Amazonka.Kinesis.Types: shard_shardId :: Lens' Shard Text
+ Amazonka.Kinesis.Types: startingPosition_sequenceNumber :: Lens' StartingPosition (Maybe Text)
+ Amazonka.Kinesis.Types: startingPosition_timestamp :: Lens' StartingPosition (Maybe UTCTime)
+ Amazonka.Kinesis.Types: startingPosition_type :: Lens' StartingPosition ShardIteratorType
+ Amazonka.Kinesis.Types: streamDescriptionSummary_consumerCount :: Lens' StreamDescriptionSummary (Maybe Natural)
+ Amazonka.Kinesis.Types: streamDescriptionSummary_encryptionType :: Lens' StreamDescriptionSummary (Maybe EncryptionType)
+ Amazonka.Kinesis.Types: streamDescriptionSummary_enhancedMonitoring :: Lens' StreamDescriptionSummary [EnhancedMetrics]
+ Amazonka.Kinesis.Types: streamDescriptionSummary_keyId :: Lens' StreamDescriptionSummary (Maybe Text)
+ Amazonka.Kinesis.Types: streamDescriptionSummary_openShardCount :: Lens' StreamDescriptionSummary Natural
+ Amazonka.Kinesis.Types: streamDescriptionSummary_retentionPeriodHours :: Lens' StreamDescriptionSummary Int
+ Amazonka.Kinesis.Types: streamDescriptionSummary_streamARN :: Lens' StreamDescriptionSummary Text
+ Amazonka.Kinesis.Types: streamDescriptionSummary_streamCreationTimestamp :: Lens' StreamDescriptionSummary UTCTime
+ Amazonka.Kinesis.Types: streamDescriptionSummary_streamModeDetails :: Lens' StreamDescriptionSummary (Maybe StreamModeDetails)
+ Amazonka.Kinesis.Types: streamDescriptionSummary_streamName :: Lens' StreamDescriptionSummary Text
+ Amazonka.Kinesis.Types: streamDescriptionSummary_streamStatus :: Lens' StreamDescriptionSummary StreamStatus
+ Amazonka.Kinesis.Types: streamDescription_encryptionType :: Lens' StreamDescription (Maybe EncryptionType)
+ Amazonka.Kinesis.Types: streamDescription_enhancedMonitoring :: Lens' StreamDescription [EnhancedMetrics]
+ Amazonka.Kinesis.Types: streamDescription_hasMoreShards :: Lens' StreamDescription Bool
+ Amazonka.Kinesis.Types: streamDescription_keyId :: Lens' StreamDescription (Maybe Text)
+ Amazonka.Kinesis.Types: streamDescription_retentionPeriodHours :: Lens' StreamDescription Int
+ Amazonka.Kinesis.Types: streamDescription_shards :: Lens' StreamDescription [Shard]
+ Amazonka.Kinesis.Types: streamDescription_streamARN :: Lens' StreamDescription Text
+ Amazonka.Kinesis.Types: streamDescription_streamCreationTimestamp :: Lens' StreamDescription UTCTime
+ Amazonka.Kinesis.Types: streamDescription_streamModeDetails :: Lens' StreamDescription (Maybe StreamModeDetails)
+ Amazonka.Kinesis.Types: streamDescription_streamName :: Lens' StreamDescription Text
+ Amazonka.Kinesis.Types: streamDescription_streamStatus :: Lens' StreamDescription StreamStatus
+ Amazonka.Kinesis.Types: streamModeDetails_streamMode :: Lens' StreamModeDetails StreamMode
+ Amazonka.Kinesis.Types: streamSummary_streamARN :: Lens' StreamSummary Text
+ Amazonka.Kinesis.Types: streamSummary_streamCreationTimestamp :: Lens' StreamSummary (Maybe UTCTime)
+ Amazonka.Kinesis.Types: streamSummary_streamModeDetails :: Lens' StreamSummary (Maybe StreamModeDetails)
+ Amazonka.Kinesis.Types: streamSummary_streamName :: Lens' StreamSummary Text
+ Amazonka.Kinesis.Types: streamSummary_streamStatus :: Lens' StreamSummary StreamStatus
+ Amazonka.Kinesis.Types: subscribeToShardEvent_childShards :: Lens' SubscribeToShardEvent (Maybe [ChildShard])
+ Amazonka.Kinesis.Types: subscribeToShardEvent_continuationSequenceNumber :: Lens' SubscribeToShardEvent Text
+ Amazonka.Kinesis.Types: subscribeToShardEvent_millisBehindLatest :: Lens' SubscribeToShardEvent Natural
+ Amazonka.Kinesis.Types: subscribeToShardEvent_records :: Lens' SubscribeToShardEvent [Record]
+ Amazonka.Kinesis.Types: tag_key :: Lens' Tag Text
+ Amazonka.Kinesis.Types: tag_value :: Lens' Tag (Maybe Text)
+ Amazonka.Kinesis.Types.ChildShard: ChildShard' :: Text -> [Text] -> HashKeyRange -> ChildShard
+ Amazonka.Kinesis.Types.ChildShard: [$sel:hashKeyRange:ChildShard'] :: ChildShard -> HashKeyRange
+ Amazonka.Kinesis.Types.ChildShard: [$sel:parentShards:ChildShard'] :: ChildShard -> [Text]
+ Amazonka.Kinesis.Types.ChildShard: [$sel:shardId:ChildShard'] :: ChildShard -> Text
+ Amazonka.Kinesis.Types.ChildShard: childShard_hashKeyRange :: Lens' ChildShard HashKeyRange
+ Amazonka.Kinesis.Types.ChildShard: childShard_parentShards :: Lens' ChildShard [Text]
+ Amazonka.Kinesis.Types.ChildShard: childShard_shardId :: Lens' ChildShard Text
+ Amazonka.Kinesis.Types.ChildShard: data ChildShard
+ Amazonka.Kinesis.Types.ChildShard: instance Control.DeepSeq.NFData Amazonka.Kinesis.Types.ChildShard.ChildShard
+ Amazonka.Kinesis.Types.ChildShard: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Kinesis.Types.ChildShard.ChildShard
+ Amazonka.Kinesis.Types.ChildShard: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.Types.ChildShard.ChildShard
+ Amazonka.Kinesis.Types.ChildShard: instance GHC.Classes.Eq Amazonka.Kinesis.Types.ChildShard.ChildShard
+ Amazonka.Kinesis.Types.ChildShard: instance GHC.Generics.Generic Amazonka.Kinesis.Types.ChildShard.ChildShard
+ Amazonka.Kinesis.Types.ChildShard: instance GHC.Read.Read Amazonka.Kinesis.Types.ChildShard.ChildShard
+ Amazonka.Kinesis.Types.ChildShard: instance GHC.Show.Show Amazonka.Kinesis.Types.ChildShard.ChildShard
+ Amazonka.Kinesis.Types.ChildShard: newChildShard :: Text -> HashKeyRange -> ChildShard
+ Amazonka.Kinesis.Types.Consumer: Consumer' :: Text -> Text -> ConsumerStatus -> POSIX -> Consumer
+ Amazonka.Kinesis.Types.Consumer: [$sel:consumerARN:Consumer'] :: Consumer -> Text
+ Amazonka.Kinesis.Types.Consumer: [$sel:consumerCreationTimestamp:Consumer'] :: Consumer -> POSIX
+ Amazonka.Kinesis.Types.Consumer: [$sel:consumerName:Consumer'] :: Consumer -> Text
+ Amazonka.Kinesis.Types.Consumer: [$sel:consumerStatus:Consumer'] :: Consumer -> ConsumerStatus
+ Amazonka.Kinesis.Types.Consumer: consumer_consumerARN :: Lens' Consumer Text
+ Amazonka.Kinesis.Types.Consumer: consumer_consumerCreationTimestamp :: Lens' Consumer UTCTime
+ Amazonka.Kinesis.Types.Consumer: consumer_consumerName :: Lens' Consumer Text
+ Amazonka.Kinesis.Types.Consumer: consumer_consumerStatus :: Lens' Consumer ConsumerStatus
+ Amazonka.Kinesis.Types.Consumer: data Consumer
+ Amazonka.Kinesis.Types.Consumer: instance Control.DeepSeq.NFData Amazonka.Kinesis.Types.Consumer.Consumer
+ Amazonka.Kinesis.Types.Consumer: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Kinesis.Types.Consumer.Consumer
+ Amazonka.Kinesis.Types.Consumer: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.Types.Consumer.Consumer
+ Amazonka.Kinesis.Types.Consumer: instance GHC.Classes.Eq Amazonka.Kinesis.Types.Consumer.Consumer
+ Amazonka.Kinesis.Types.Consumer: instance GHC.Generics.Generic Amazonka.Kinesis.Types.Consumer.Consumer
+ Amazonka.Kinesis.Types.Consumer: instance GHC.Read.Read Amazonka.Kinesis.Types.Consumer.Consumer
+ Amazonka.Kinesis.Types.Consumer: instance GHC.Show.Show Amazonka.Kinesis.Types.Consumer.Consumer
+ Amazonka.Kinesis.Types.Consumer: newConsumer :: Text -> Text -> ConsumerStatus -> UTCTime -> Consumer
+ Amazonka.Kinesis.Types.ConsumerDescription: ConsumerDescription' :: Text -> Text -> ConsumerStatus -> POSIX -> Text -> ConsumerDescription
+ Amazonka.Kinesis.Types.ConsumerDescription: [$sel:consumerARN:ConsumerDescription'] :: ConsumerDescription -> Text
+ Amazonka.Kinesis.Types.ConsumerDescription: [$sel:consumerCreationTimestamp:ConsumerDescription'] :: ConsumerDescription -> POSIX
+ Amazonka.Kinesis.Types.ConsumerDescription: [$sel:consumerName:ConsumerDescription'] :: ConsumerDescription -> Text
+ Amazonka.Kinesis.Types.ConsumerDescription: [$sel:consumerStatus:ConsumerDescription'] :: ConsumerDescription -> ConsumerStatus
+ Amazonka.Kinesis.Types.ConsumerDescription: [$sel:streamARN:ConsumerDescription'] :: ConsumerDescription -> Text
+ Amazonka.Kinesis.Types.ConsumerDescription: consumerDescription_consumerARN :: Lens' ConsumerDescription Text
+ Amazonka.Kinesis.Types.ConsumerDescription: consumerDescription_consumerCreationTimestamp :: Lens' ConsumerDescription UTCTime
+ Amazonka.Kinesis.Types.ConsumerDescription: consumerDescription_consumerName :: Lens' ConsumerDescription Text
+ Amazonka.Kinesis.Types.ConsumerDescription: consumerDescription_consumerStatus :: Lens' ConsumerDescription ConsumerStatus
+ Amazonka.Kinesis.Types.ConsumerDescription: consumerDescription_streamARN :: Lens' ConsumerDescription Text
+ Amazonka.Kinesis.Types.ConsumerDescription: data ConsumerDescription
+ Amazonka.Kinesis.Types.ConsumerDescription: instance Control.DeepSeq.NFData Amazonka.Kinesis.Types.ConsumerDescription.ConsumerDescription
+ Amazonka.Kinesis.Types.ConsumerDescription: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Kinesis.Types.ConsumerDescription.ConsumerDescription
+ Amazonka.Kinesis.Types.ConsumerDescription: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.Types.ConsumerDescription.ConsumerDescription
+ Amazonka.Kinesis.Types.ConsumerDescription: instance GHC.Classes.Eq Amazonka.Kinesis.Types.ConsumerDescription.ConsumerDescription
+ Amazonka.Kinesis.Types.ConsumerDescription: instance GHC.Generics.Generic Amazonka.Kinesis.Types.ConsumerDescription.ConsumerDescription
+ Amazonka.Kinesis.Types.ConsumerDescription: instance GHC.Read.Read Amazonka.Kinesis.Types.ConsumerDescription.ConsumerDescription
+ Amazonka.Kinesis.Types.ConsumerDescription: instance GHC.Show.Show Amazonka.Kinesis.Types.ConsumerDescription.ConsumerDescription
+ Amazonka.Kinesis.Types.ConsumerDescription: newConsumerDescription :: Text -> Text -> ConsumerStatus -> UTCTime -> Text -> ConsumerDescription
+ Amazonka.Kinesis.Types.ConsumerStatus: ConsumerStatus' :: Text -> ConsumerStatus
+ Amazonka.Kinesis.Types.ConsumerStatus: [fromConsumerStatus] :: ConsumerStatus -> Text
+ Amazonka.Kinesis.Types.ConsumerStatus: instance Amazonka.Data.ByteString.ToByteString Amazonka.Kinesis.Types.ConsumerStatus.ConsumerStatus
+ Amazonka.Kinesis.Types.ConsumerStatus: instance Amazonka.Data.Headers.ToHeader Amazonka.Kinesis.Types.ConsumerStatus.ConsumerStatus
+ Amazonka.Kinesis.Types.ConsumerStatus: instance Amazonka.Data.Log.ToLog Amazonka.Kinesis.Types.ConsumerStatus.ConsumerStatus
+ Amazonka.Kinesis.Types.ConsumerStatus: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.Types.ConsumerStatus.ConsumerStatus
+ Amazonka.Kinesis.Types.ConsumerStatus: instance Amazonka.Data.Text.FromText Amazonka.Kinesis.Types.ConsumerStatus.ConsumerStatus
+ Amazonka.Kinesis.Types.ConsumerStatus: instance Amazonka.Data.Text.ToText Amazonka.Kinesis.Types.ConsumerStatus.ConsumerStatus
+ Amazonka.Kinesis.Types.ConsumerStatus: instance Amazonka.Data.XML.FromXML Amazonka.Kinesis.Types.ConsumerStatus.ConsumerStatus
+ Amazonka.Kinesis.Types.ConsumerStatus: instance Amazonka.Data.XML.ToXML Amazonka.Kinesis.Types.ConsumerStatus.ConsumerStatus
+ Amazonka.Kinesis.Types.ConsumerStatus: instance Control.DeepSeq.NFData Amazonka.Kinesis.Types.ConsumerStatus.ConsumerStatus
+ Amazonka.Kinesis.Types.ConsumerStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Kinesis.Types.ConsumerStatus.ConsumerStatus
+ Amazonka.Kinesis.Types.ConsumerStatus: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Kinesis.Types.ConsumerStatus.ConsumerStatus
+ Amazonka.Kinesis.Types.ConsumerStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.Types.ConsumerStatus.ConsumerStatus
+ Amazonka.Kinesis.Types.ConsumerStatus: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Kinesis.Types.ConsumerStatus.ConsumerStatus
+ Amazonka.Kinesis.Types.ConsumerStatus: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.Types.ConsumerStatus.ConsumerStatus
+ Amazonka.Kinesis.Types.ConsumerStatus: instance GHC.Classes.Eq Amazonka.Kinesis.Types.ConsumerStatus.ConsumerStatus
+ Amazonka.Kinesis.Types.ConsumerStatus: instance GHC.Classes.Ord Amazonka.Kinesis.Types.ConsumerStatus.ConsumerStatus
+ Amazonka.Kinesis.Types.ConsumerStatus: instance GHC.Generics.Generic Amazonka.Kinesis.Types.ConsumerStatus.ConsumerStatus
+ Amazonka.Kinesis.Types.ConsumerStatus: instance GHC.Read.Read Amazonka.Kinesis.Types.ConsumerStatus.ConsumerStatus
+ Amazonka.Kinesis.Types.ConsumerStatus: instance GHC.Show.Show Amazonka.Kinesis.Types.ConsumerStatus.ConsumerStatus
+ Amazonka.Kinesis.Types.ConsumerStatus: newtype ConsumerStatus
+ Amazonka.Kinesis.Types.ConsumerStatus: pattern ConsumerStatus_ACTIVE :: ConsumerStatus
+ Amazonka.Kinesis.Types.ConsumerStatus: pattern ConsumerStatus_CREATING :: ConsumerStatus
+ Amazonka.Kinesis.Types.ConsumerStatus: pattern ConsumerStatus_DELETING :: ConsumerStatus
+ Amazonka.Kinesis.Types.EncryptionType: EncryptionType' :: Text -> EncryptionType
+ Amazonka.Kinesis.Types.EncryptionType: [fromEncryptionType] :: EncryptionType -> Text
+ Amazonka.Kinesis.Types.EncryptionType: instance Amazonka.Data.ByteString.ToByteString Amazonka.Kinesis.Types.EncryptionType.EncryptionType
+ Amazonka.Kinesis.Types.EncryptionType: instance Amazonka.Data.Headers.ToHeader Amazonka.Kinesis.Types.EncryptionType.EncryptionType
+ Amazonka.Kinesis.Types.EncryptionType: instance Amazonka.Data.Log.ToLog Amazonka.Kinesis.Types.EncryptionType.EncryptionType
+ Amazonka.Kinesis.Types.EncryptionType: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.Types.EncryptionType.EncryptionType
+ Amazonka.Kinesis.Types.EncryptionType: instance Amazonka.Data.Text.FromText Amazonka.Kinesis.Types.EncryptionType.EncryptionType
+ Amazonka.Kinesis.Types.EncryptionType: instance Amazonka.Data.Text.ToText Amazonka.Kinesis.Types.EncryptionType.EncryptionType
+ Amazonka.Kinesis.Types.EncryptionType: instance Amazonka.Data.XML.FromXML Amazonka.Kinesis.Types.EncryptionType.EncryptionType
+ Amazonka.Kinesis.Types.EncryptionType: instance Amazonka.Data.XML.ToXML Amazonka.Kinesis.Types.EncryptionType.EncryptionType
+ Amazonka.Kinesis.Types.EncryptionType: instance Control.DeepSeq.NFData Amazonka.Kinesis.Types.EncryptionType.EncryptionType
+ Amazonka.Kinesis.Types.EncryptionType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Kinesis.Types.EncryptionType.EncryptionType
+ Amazonka.Kinesis.Types.EncryptionType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Kinesis.Types.EncryptionType.EncryptionType
+ Amazonka.Kinesis.Types.EncryptionType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.Types.EncryptionType.EncryptionType
+ Amazonka.Kinesis.Types.EncryptionType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Kinesis.Types.EncryptionType.EncryptionType
+ Amazonka.Kinesis.Types.EncryptionType: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.Types.EncryptionType.EncryptionType
+ Amazonka.Kinesis.Types.EncryptionType: instance GHC.Classes.Eq Amazonka.Kinesis.Types.EncryptionType.EncryptionType
+ Amazonka.Kinesis.Types.EncryptionType: instance GHC.Classes.Ord Amazonka.Kinesis.Types.EncryptionType.EncryptionType
+ Amazonka.Kinesis.Types.EncryptionType: instance GHC.Generics.Generic Amazonka.Kinesis.Types.EncryptionType.EncryptionType
+ Amazonka.Kinesis.Types.EncryptionType: instance GHC.Read.Read Amazonka.Kinesis.Types.EncryptionType.EncryptionType
+ Amazonka.Kinesis.Types.EncryptionType: instance GHC.Show.Show Amazonka.Kinesis.Types.EncryptionType.EncryptionType
+ Amazonka.Kinesis.Types.EncryptionType: newtype EncryptionType
+ Amazonka.Kinesis.Types.EncryptionType: pattern EncryptionType_KMS :: EncryptionType
+ Amazonka.Kinesis.Types.EncryptionType: pattern EncryptionType_NONE :: EncryptionType
+ Amazonka.Kinesis.Types.EnhancedMetrics: EnhancedMetrics' :: Maybe [MetricsName] -> EnhancedMetrics
+ Amazonka.Kinesis.Types.EnhancedMetrics: [$sel:shardLevelMetrics:EnhancedMetrics'] :: EnhancedMetrics -> Maybe [MetricsName]
+ Amazonka.Kinesis.Types.EnhancedMetrics: data EnhancedMetrics
+ Amazonka.Kinesis.Types.EnhancedMetrics: enhancedMetrics_shardLevelMetrics :: Lens' EnhancedMetrics (Maybe [MetricsName])
+ Amazonka.Kinesis.Types.EnhancedMetrics: instance Control.DeepSeq.NFData Amazonka.Kinesis.Types.EnhancedMetrics.EnhancedMetrics
+ Amazonka.Kinesis.Types.EnhancedMetrics: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Kinesis.Types.EnhancedMetrics.EnhancedMetrics
+ Amazonka.Kinesis.Types.EnhancedMetrics: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.Types.EnhancedMetrics.EnhancedMetrics
+ Amazonka.Kinesis.Types.EnhancedMetrics: instance GHC.Classes.Eq Amazonka.Kinesis.Types.EnhancedMetrics.EnhancedMetrics
+ Amazonka.Kinesis.Types.EnhancedMetrics: instance GHC.Generics.Generic Amazonka.Kinesis.Types.EnhancedMetrics.EnhancedMetrics
+ Amazonka.Kinesis.Types.EnhancedMetrics: instance GHC.Read.Read Amazonka.Kinesis.Types.EnhancedMetrics.EnhancedMetrics
+ Amazonka.Kinesis.Types.EnhancedMetrics: instance GHC.Show.Show Amazonka.Kinesis.Types.EnhancedMetrics.EnhancedMetrics
+ Amazonka.Kinesis.Types.EnhancedMetrics: newEnhancedMetrics :: EnhancedMetrics
+ Amazonka.Kinesis.Types.EnhancedMonitoringOutput: EnhancedMonitoringOutput' :: Maybe [MetricsName] -> Maybe [MetricsName] -> Maybe Text -> Maybe Text -> EnhancedMonitoringOutput
+ Amazonka.Kinesis.Types.EnhancedMonitoringOutput: [$sel:currentShardLevelMetrics:EnhancedMonitoringOutput'] :: EnhancedMonitoringOutput -> Maybe [MetricsName]
+ Amazonka.Kinesis.Types.EnhancedMonitoringOutput: [$sel:desiredShardLevelMetrics:EnhancedMonitoringOutput'] :: EnhancedMonitoringOutput -> Maybe [MetricsName]
+ Amazonka.Kinesis.Types.EnhancedMonitoringOutput: [$sel:streamARN:EnhancedMonitoringOutput'] :: EnhancedMonitoringOutput -> Maybe Text
+ Amazonka.Kinesis.Types.EnhancedMonitoringOutput: [$sel:streamName:EnhancedMonitoringOutput'] :: EnhancedMonitoringOutput -> Maybe Text
+ Amazonka.Kinesis.Types.EnhancedMonitoringOutput: data EnhancedMonitoringOutput
+ Amazonka.Kinesis.Types.EnhancedMonitoringOutput: enhancedMonitoringOutput_currentShardLevelMetrics :: Lens' EnhancedMonitoringOutput (Maybe [MetricsName])
+ Amazonka.Kinesis.Types.EnhancedMonitoringOutput: enhancedMonitoringOutput_desiredShardLevelMetrics :: Lens' EnhancedMonitoringOutput (Maybe [MetricsName])
+ Amazonka.Kinesis.Types.EnhancedMonitoringOutput: enhancedMonitoringOutput_streamARN :: Lens' EnhancedMonitoringOutput (Maybe Text)
+ Amazonka.Kinesis.Types.EnhancedMonitoringOutput: enhancedMonitoringOutput_streamName :: Lens' EnhancedMonitoringOutput (Maybe Text)
+ Amazonka.Kinesis.Types.EnhancedMonitoringOutput: instance Control.DeepSeq.NFData Amazonka.Kinesis.Types.EnhancedMonitoringOutput.EnhancedMonitoringOutput
+ Amazonka.Kinesis.Types.EnhancedMonitoringOutput: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Kinesis.Types.EnhancedMonitoringOutput.EnhancedMonitoringOutput
+ Amazonka.Kinesis.Types.EnhancedMonitoringOutput: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.Types.EnhancedMonitoringOutput.EnhancedMonitoringOutput
+ Amazonka.Kinesis.Types.EnhancedMonitoringOutput: instance GHC.Classes.Eq Amazonka.Kinesis.Types.EnhancedMonitoringOutput.EnhancedMonitoringOutput
+ Amazonka.Kinesis.Types.EnhancedMonitoringOutput: instance GHC.Generics.Generic Amazonka.Kinesis.Types.EnhancedMonitoringOutput.EnhancedMonitoringOutput
+ Amazonka.Kinesis.Types.EnhancedMonitoringOutput: instance GHC.Read.Read Amazonka.Kinesis.Types.EnhancedMonitoringOutput.EnhancedMonitoringOutput
+ Amazonka.Kinesis.Types.EnhancedMonitoringOutput: instance GHC.Show.Show Amazonka.Kinesis.Types.EnhancedMonitoringOutput.EnhancedMonitoringOutput
+ Amazonka.Kinesis.Types.EnhancedMonitoringOutput: newEnhancedMonitoringOutput :: EnhancedMonitoringOutput
+ Amazonka.Kinesis.Types.HashKeyRange: HashKeyRange' :: Text -> Text -> HashKeyRange
+ Amazonka.Kinesis.Types.HashKeyRange: [$sel:endingHashKey:HashKeyRange'] :: HashKeyRange -> Text
+ Amazonka.Kinesis.Types.HashKeyRange: [$sel:startingHashKey:HashKeyRange'] :: HashKeyRange -> Text
+ Amazonka.Kinesis.Types.HashKeyRange: data HashKeyRange
+ Amazonka.Kinesis.Types.HashKeyRange: hashKeyRange_endingHashKey :: Lens' HashKeyRange Text
+ Amazonka.Kinesis.Types.HashKeyRange: hashKeyRange_startingHashKey :: Lens' HashKeyRange Text
+ Amazonka.Kinesis.Types.HashKeyRange: instance Control.DeepSeq.NFData Amazonka.Kinesis.Types.HashKeyRange.HashKeyRange
+ Amazonka.Kinesis.Types.HashKeyRange: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Kinesis.Types.HashKeyRange.HashKeyRange
+ Amazonka.Kinesis.Types.HashKeyRange: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.Types.HashKeyRange.HashKeyRange
+ Amazonka.Kinesis.Types.HashKeyRange: instance GHC.Classes.Eq Amazonka.Kinesis.Types.HashKeyRange.HashKeyRange
+ Amazonka.Kinesis.Types.HashKeyRange: instance GHC.Generics.Generic Amazonka.Kinesis.Types.HashKeyRange.HashKeyRange
+ Amazonka.Kinesis.Types.HashKeyRange: instance GHC.Read.Read Amazonka.Kinesis.Types.HashKeyRange.HashKeyRange
+ Amazonka.Kinesis.Types.HashKeyRange: instance GHC.Show.Show Amazonka.Kinesis.Types.HashKeyRange.HashKeyRange
+ Amazonka.Kinesis.Types.HashKeyRange: newHashKeyRange :: Text -> Text -> HashKeyRange
+ Amazonka.Kinesis.Types.MetricsName: MetricsName' :: Text -> MetricsName
+ Amazonka.Kinesis.Types.MetricsName: [fromMetricsName] :: MetricsName -> Text
+ Amazonka.Kinesis.Types.MetricsName: instance Amazonka.Data.ByteString.ToByteString Amazonka.Kinesis.Types.MetricsName.MetricsName
+ Amazonka.Kinesis.Types.MetricsName: instance Amazonka.Data.Headers.ToHeader Amazonka.Kinesis.Types.MetricsName.MetricsName
+ Amazonka.Kinesis.Types.MetricsName: instance Amazonka.Data.Log.ToLog Amazonka.Kinesis.Types.MetricsName.MetricsName
+ Amazonka.Kinesis.Types.MetricsName: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.Types.MetricsName.MetricsName
+ Amazonka.Kinesis.Types.MetricsName: instance Amazonka.Data.Text.FromText Amazonka.Kinesis.Types.MetricsName.MetricsName
+ Amazonka.Kinesis.Types.MetricsName: instance Amazonka.Data.Text.ToText Amazonka.Kinesis.Types.MetricsName.MetricsName
+ Amazonka.Kinesis.Types.MetricsName: instance Amazonka.Data.XML.FromXML Amazonka.Kinesis.Types.MetricsName.MetricsName
+ Amazonka.Kinesis.Types.MetricsName: instance Amazonka.Data.XML.ToXML Amazonka.Kinesis.Types.MetricsName.MetricsName
+ Amazonka.Kinesis.Types.MetricsName: instance Control.DeepSeq.NFData Amazonka.Kinesis.Types.MetricsName.MetricsName
+ Amazonka.Kinesis.Types.MetricsName: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Kinesis.Types.MetricsName.MetricsName
+ Amazonka.Kinesis.Types.MetricsName: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Kinesis.Types.MetricsName.MetricsName
+ Amazonka.Kinesis.Types.MetricsName: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.Types.MetricsName.MetricsName
+ Amazonka.Kinesis.Types.MetricsName: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Kinesis.Types.MetricsName.MetricsName
+ Amazonka.Kinesis.Types.MetricsName: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.Types.MetricsName.MetricsName
+ Amazonka.Kinesis.Types.MetricsName: instance GHC.Classes.Eq Amazonka.Kinesis.Types.MetricsName.MetricsName
+ Amazonka.Kinesis.Types.MetricsName: instance GHC.Classes.Ord Amazonka.Kinesis.Types.MetricsName.MetricsName
+ Amazonka.Kinesis.Types.MetricsName: instance GHC.Generics.Generic Amazonka.Kinesis.Types.MetricsName.MetricsName
+ Amazonka.Kinesis.Types.MetricsName: instance GHC.Read.Read Amazonka.Kinesis.Types.MetricsName.MetricsName
+ Amazonka.Kinesis.Types.MetricsName: instance GHC.Show.Show Amazonka.Kinesis.Types.MetricsName.MetricsName
+ Amazonka.Kinesis.Types.MetricsName: newtype MetricsName
+ Amazonka.Kinesis.Types.MetricsName: pattern MetricsName_ALL :: MetricsName
+ Amazonka.Kinesis.Types.MetricsName: pattern MetricsName_IncomingBytes :: MetricsName
+ Amazonka.Kinesis.Types.MetricsName: pattern MetricsName_IncomingRecords :: MetricsName
+ Amazonka.Kinesis.Types.MetricsName: pattern MetricsName_IteratorAgeMilliseconds :: MetricsName
+ Amazonka.Kinesis.Types.MetricsName: pattern MetricsName_OutgoingBytes :: MetricsName
+ Amazonka.Kinesis.Types.MetricsName: pattern MetricsName_OutgoingRecords :: MetricsName
+ Amazonka.Kinesis.Types.MetricsName: pattern MetricsName_ReadProvisionedThroughputExceeded :: MetricsName
+ Amazonka.Kinesis.Types.MetricsName: pattern MetricsName_WriteProvisionedThroughputExceeded :: MetricsName
+ Amazonka.Kinesis.Types.PutRecordsRequestEntry: PutRecordsRequestEntry' :: Maybe Text -> Base64 -> Text -> PutRecordsRequestEntry
+ Amazonka.Kinesis.Types.PutRecordsRequestEntry: [$sel:data':PutRecordsRequestEntry'] :: PutRecordsRequestEntry -> Base64
+ Amazonka.Kinesis.Types.PutRecordsRequestEntry: [$sel:explicitHashKey:PutRecordsRequestEntry'] :: PutRecordsRequestEntry -> Maybe Text
+ Amazonka.Kinesis.Types.PutRecordsRequestEntry: [$sel:partitionKey:PutRecordsRequestEntry'] :: PutRecordsRequestEntry -> Text
+ Amazonka.Kinesis.Types.PutRecordsRequestEntry: data PutRecordsRequestEntry
+ Amazonka.Kinesis.Types.PutRecordsRequestEntry: instance Control.DeepSeq.NFData Amazonka.Kinesis.Types.PutRecordsRequestEntry.PutRecordsRequestEntry
+ Amazonka.Kinesis.Types.PutRecordsRequestEntry: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.Types.PutRecordsRequestEntry.PutRecordsRequestEntry
+ Amazonka.Kinesis.Types.PutRecordsRequestEntry: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.Types.PutRecordsRequestEntry.PutRecordsRequestEntry
+ Amazonka.Kinesis.Types.PutRecordsRequestEntry: instance GHC.Classes.Eq Amazonka.Kinesis.Types.PutRecordsRequestEntry.PutRecordsRequestEntry
+ Amazonka.Kinesis.Types.PutRecordsRequestEntry: instance GHC.Generics.Generic Amazonka.Kinesis.Types.PutRecordsRequestEntry.PutRecordsRequestEntry
+ Amazonka.Kinesis.Types.PutRecordsRequestEntry: instance GHC.Read.Read Amazonka.Kinesis.Types.PutRecordsRequestEntry.PutRecordsRequestEntry
+ Amazonka.Kinesis.Types.PutRecordsRequestEntry: instance GHC.Show.Show Amazonka.Kinesis.Types.PutRecordsRequestEntry.PutRecordsRequestEntry
+ Amazonka.Kinesis.Types.PutRecordsRequestEntry: newPutRecordsRequestEntry :: ByteString -> Text -> PutRecordsRequestEntry
+ Amazonka.Kinesis.Types.PutRecordsRequestEntry: putRecordsRequestEntry_data :: Lens' PutRecordsRequestEntry ByteString
+ Amazonka.Kinesis.Types.PutRecordsRequestEntry: putRecordsRequestEntry_explicitHashKey :: Lens' PutRecordsRequestEntry (Maybe Text)
+ Amazonka.Kinesis.Types.PutRecordsRequestEntry: putRecordsRequestEntry_partitionKey :: Lens' PutRecordsRequestEntry Text
+ Amazonka.Kinesis.Types.PutRecordsResultEntry: PutRecordsResultEntry' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PutRecordsResultEntry
+ Amazonka.Kinesis.Types.PutRecordsResultEntry: [$sel:errorCode:PutRecordsResultEntry'] :: PutRecordsResultEntry -> Maybe Text
+ Amazonka.Kinesis.Types.PutRecordsResultEntry: [$sel:errorMessage:PutRecordsResultEntry'] :: PutRecordsResultEntry -> Maybe Text
+ Amazonka.Kinesis.Types.PutRecordsResultEntry: [$sel:sequenceNumber:PutRecordsResultEntry'] :: PutRecordsResultEntry -> Maybe Text
+ Amazonka.Kinesis.Types.PutRecordsResultEntry: [$sel:shardId:PutRecordsResultEntry'] :: PutRecordsResultEntry -> Maybe Text
+ Amazonka.Kinesis.Types.PutRecordsResultEntry: data PutRecordsResultEntry
+ Amazonka.Kinesis.Types.PutRecordsResultEntry: instance Control.DeepSeq.NFData Amazonka.Kinesis.Types.PutRecordsResultEntry.PutRecordsResultEntry
+ Amazonka.Kinesis.Types.PutRecordsResultEntry: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Kinesis.Types.PutRecordsResultEntry.PutRecordsResultEntry
+ Amazonka.Kinesis.Types.PutRecordsResultEntry: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.Types.PutRecordsResultEntry.PutRecordsResultEntry
+ Amazonka.Kinesis.Types.PutRecordsResultEntry: instance GHC.Classes.Eq Amazonka.Kinesis.Types.PutRecordsResultEntry.PutRecordsResultEntry
+ Amazonka.Kinesis.Types.PutRecordsResultEntry: instance GHC.Generics.Generic Amazonka.Kinesis.Types.PutRecordsResultEntry.PutRecordsResultEntry
+ Amazonka.Kinesis.Types.PutRecordsResultEntry: instance GHC.Read.Read Amazonka.Kinesis.Types.PutRecordsResultEntry.PutRecordsResultEntry
+ Amazonka.Kinesis.Types.PutRecordsResultEntry: instance GHC.Show.Show Amazonka.Kinesis.Types.PutRecordsResultEntry.PutRecordsResultEntry
+ Amazonka.Kinesis.Types.PutRecordsResultEntry: newPutRecordsResultEntry :: PutRecordsResultEntry
+ Amazonka.Kinesis.Types.PutRecordsResultEntry: putRecordsResultEntry_errorCode :: Lens' PutRecordsResultEntry (Maybe Text)
+ Amazonka.Kinesis.Types.PutRecordsResultEntry: putRecordsResultEntry_errorMessage :: Lens' PutRecordsResultEntry (Maybe Text)
+ Amazonka.Kinesis.Types.PutRecordsResultEntry: putRecordsResultEntry_sequenceNumber :: Lens' PutRecordsResultEntry (Maybe Text)
+ Amazonka.Kinesis.Types.PutRecordsResultEntry: putRecordsResultEntry_shardId :: Lens' PutRecordsResultEntry (Maybe Text)
+ Amazonka.Kinesis.Types.Record: Record' :: Maybe POSIX -> Maybe EncryptionType -> Text -> Base64 -> Text -> Record
+ Amazonka.Kinesis.Types.Record: [$sel:approximateArrivalTimestamp:Record'] :: Record -> Maybe POSIX
+ Amazonka.Kinesis.Types.Record: [$sel:data':Record'] :: Record -> Base64
+ Amazonka.Kinesis.Types.Record: [$sel:encryptionType:Record'] :: Record -> Maybe EncryptionType
+ Amazonka.Kinesis.Types.Record: [$sel:partitionKey:Record'] :: Record -> Text
+ Amazonka.Kinesis.Types.Record: [$sel:sequenceNumber:Record'] :: Record -> Text
+ Amazonka.Kinesis.Types.Record: data Record
+ Amazonka.Kinesis.Types.Record: instance Control.DeepSeq.NFData Amazonka.Kinesis.Types.Record.Record
+ Amazonka.Kinesis.Types.Record: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Kinesis.Types.Record.Record
+ Amazonka.Kinesis.Types.Record: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.Types.Record.Record
+ Amazonka.Kinesis.Types.Record: instance GHC.Classes.Eq Amazonka.Kinesis.Types.Record.Record
+ Amazonka.Kinesis.Types.Record: instance GHC.Generics.Generic Amazonka.Kinesis.Types.Record.Record
+ Amazonka.Kinesis.Types.Record: instance GHC.Read.Read Amazonka.Kinesis.Types.Record.Record
+ Amazonka.Kinesis.Types.Record: instance GHC.Show.Show Amazonka.Kinesis.Types.Record.Record
+ Amazonka.Kinesis.Types.Record: newRecord :: Text -> ByteString -> Text -> Record
+ Amazonka.Kinesis.Types.Record: record_approximateArrivalTimestamp :: Lens' Record (Maybe UTCTime)
+ Amazonka.Kinesis.Types.Record: record_data :: Lens' Record ByteString
+ Amazonka.Kinesis.Types.Record: record_encryptionType :: Lens' Record (Maybe EncryptionType)
+ Amazonka.Kinesis.Types.Record: record_partitionKey :: Lens' Record Text
+ Amazonka.Kinesis.Types.Record: record_sequenceNumber :: Lens' Record Text
+ Amazonka.Kinesis.Types.ScalingType: ScalingType' :: Text -> ScalingType
+ Amazonka.Kinesis.Types.ScalingType: [fromScalingType] :: ScalingType -> Text
+ Amazonka.Kinesis.Types.ScalingType: instance Amazonka.Data.ByteString.ToByteString Amazonka.Kinesis.Types.ScalingType.ScalingType
+ Amazonka.Kinesis.Types.ScalingType: instance Amazonka.Data.Headers.ToHeader Amazonka.Kinesis.Types.ScalingType.ScalingType
+ Amazonka.Kinesis.Types.ScalingType: instance Amazonka.Data.Log.ToLog Amazonka.Kinesis.Types.ScalingType.ScalingType
+ Amazonka.Kinesis.Types.ScalingType: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.Types.ScalingType.ScalingType
+ Amazonka.Kinesis.Types.ScalingType: instance Amazonka.Data.Text.FromText Amazonka.Kinesis.Types.ScalingType.ScalingType
+ Amazonka.Kinesis.Types.ScalingType: instance Amazonka.Data.Text.ToText Amazonka.Kinesis.Types.ScalingType.ScalingType
+ Amazonka.Kinesis.Types.ScalingType: instance Amazonka.Data.XML.FromXML Amazonka.Kinesis.Types.ScalingType.ScalingType
+ Amazonka.Kinesis.Types.ScalingType: instance Amazonka.Data.XML.ToXML Amazonka.Kinesis.Types.ScalingType.ScalingType
+ Amazonka.Kinesis.Types.ScalingType: instance Control.DeepSeq.NFData Amazonka.Kinesis.Types.ScalingType.ScalingType
+ Amazonka.Kinesis.Types.ScalingType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Kinesis.Types.ScalingType.ScalingType
+ Amazonka.Kinesis.Types.ScalingType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Kinesis.Types.ScalingType.ScalingType
+ Amazonka.Kinesis.Types.ScalingType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.Types.ScalingType.ScalingType
+ Amazonka.Kinesis.Types.ScalingType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Kinesis.Types.ScalingType.ScalingType
+ Amazonka.Kinesis.Types.ScalingType: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.Types.ScalingType.ScalingType
+ Amazonka.Kinesis.Types.ScalingType: instance GHC.Classes.Eq Amazonka.Kinesis.Types.ScalingType.ScalingType
+ Amazonka.Kinesis.Types.ScalingType: instance GHC.Classes.Ord Amazonka.Kinesis.Types.ScalingType.ScalingType
+ Amazonka.Kinesis.Types.ScalingType: instance GHC.Generics.Generic Amazonka.Kinesis.Types.ScalingType.ScalingType
+ Amazonka.Kinesis.Types.ScalingType: instance GHC.Read.Read Amazonka.Kinesis.Types.ScalingType.ScalingType
+ Amazonka.Kinesis.Types.ScalingType: instance GHC.Show.Show Amazonka.Kinesis.Types.ScalingType.ScalingType
+ Amazonka.Kinesis.Types.ScalingType: newtype ScalingType
+ Amazonka.Kinesis.Types.ScalingType: pattern ScalingType_UNIFORM_SCALING :: ScalingType
+ Amazonka.Kinesis.Types.SequenceNumberRange: SequenceNumberRange' :: Maybe Text -> Text -> SequenceNumberRange
+ Amazonka.Kinesis.Types.SequenceNumberRange: [$sel:endingSequenceNumber:SequenceNumberRange'] :: SequenceNumberRange -> Maybe Text
+ Amazonka.Kinesis.Types.SequenceNumberRange: [$sel:startingSequenceNumber:SequenceNumberRange'] :: SequenceNumberRange -> Text
+ Amazonka.Kinesis.Types.SequenceNumberRange: data SequenceNumberRange
+ Amazonka.Kinesis.Types.SequenceNumberRange: instance Control.DeepSeq.NFData Amazonka.Kinesis.Types.SequenceNumberRange.SequenceNumberRange
+ Amazonka.Kinesis.Types.SequenceNumberRange: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Kinesis.Types.SequenceNumberRange.SequenceNumberRange
+ Amazonka.Kinesis.Types.SequenceNumberRange: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.Types.SequenceNumberRange.SequenceNumberRange
+ Amazonka.Kinesis.Types.SequenceNumberRange: instance GHC.Classes.Eq Amazonka.Kinesis.Types.SequenceNumberRange.SequenceNumberRange
+ Amazonka.Kinesis.Types.SequenceNumberRange: instance GHC.Generics.Generic Amazonka.Kinesis.Types.SequenceNumberRange.SequenceNumberRange
+ Amazonka.Kinesis.Types.SequenceNumberRange: instance GHC.Read.Read Amazonka.Kinesis.Types.SequenceNumberRange.SequenceNumberRange
+ Amazonka.Kinesis.Types.SequenceNumberRange: instance GHC.Show.Show Amazonka.Kinesis.Types.SequenceNumberRange.SequenceNumberRange
+ Amazonka.Kinesis.Types.SequenceNumberRange: newSequenceNumberRange :: Text -> SequenceNumberRange
+ Amazonka.Kinesis.Types.SequenceNumberRange: sequenceNumberRange_endingSequenceNumber :: Lens' SequenceNumberRange (Maybe Text)
+ Amazonka.Kinesis.Types.SequenceNumberRange: sequenceNumberRange_startingSequenceNumber :: Lens' SequenceNumberRange Text
+ Amazonka.Kinesis.Types.Shard: Shard' :: Maybe Text -> Maybe Text -> Text -> HashKeyRange -> SequenceNumberRange -> Shard
+ Amazonka.Kinesis.Types.Shard: [$sel:adjacentParentShardId:Shard'] :: Shard -> Maybe Text
+ Amazonka.Kinesis.Types.Shard: [$sel:hashKeyRange:Shard'] :: Shard -> HashKeyRange
+ Amazonka.Kinesis.Types.Shard: [$sel:parentShardId:Shard'] :: Shard -> Maybe Text
+ Amazonka.Kinesis.Types.Shard: [$sel:sequenceNumberRange:Shard'] :: Shard -> SequenceNumberRange
+ Amazonka.Kinesis.Types.Shard: [$sel:shardId:Shard'] :: Shard -> Text
+ Amazonka.Kinesis.Types.Shard: data Shard
+ Amazonka.Kinesis.Types.Shard: instance Control.DeepSeq.NFData Amazonka.Kinesis.Types.Shard.Shard
+ Amazonka.Kinesis.Types.Shard: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Kinesis.Types.Shard.Shard
+ Amazonka.Kinesis.Types.Shard: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.Types.Shard.Shard
+ Amazonka.Kinesis.Types.Shard: instance GHC.Classes.Eq Amazonka.Kinesis.Types.Shard.Shard
+ Amazonka.Kinesis.Types.Shard: instance GHC.Generics.Generic Amazonka.Kinesis.Types.Shard.Shard
+ Amazonka.Kinesis.Types.Shard: instance GHC.Read.Read Amazonka.Kinesis.Types.Shard.Shard
+ Amazonka.Kinesis.Types.Shard: instance GHC.Show.Show Amazonka.Kinesis.Types.Shard.Shard
+ Amazonka.Kinesis.Types.Shard: newShard :: Text -> HashKeyRange -> SequenceNumberRange -> Shard
+ Amazonka.Kinesis.Types.Shard: shard_adjacentParentShardId :: Lens' Shard (Maybe Text)
+ Amazonka.Kinesis.Types.Shard: shard_hashKeyRange :: Lens' Shard HashKeyRange
+ Amazonka.Kinesis.Types.Shard: shard_parentShardId :: Lens' Shard (Maybe Text)
+ Amazonka.Kinesis.Types.Shard: shard_sequenceNumberRange :: Lens' Shard SequenceNumberRange
+ Amazonka.Kinesis.Types.Shard: shard_shardId :: Lens' Shard Text
+ Amazonka.Kinesis.Types.ShardFilter: ShardFilter' :: Maybe Text -> Maybe POSIX -> ShardFilterType -> ShardFilter
+ Amazonka.Kinesis.Types.ShardFilter: [$sel:shardId:ShardFilter'] :: ShardFilter -> Maybe Text
+ Amazonka.Kinesis.Types.ShardFilter: [$sel:timestamp:ShardFilter'] :: ShardFilter -> Maybe POSIX
+ Amazonka.Kinesis.Types.ShardFilter: [$sel:type':ShardFilter'] :: ShardFilter -> ShardFilterType
+ Amazonka.Kinesis.Types.ShardFilter: data ShardFilter
+ Amazonka.Kinesis.Types.ShardFilter: instance Control.DeepSeq.NFData Amazonka.Kinesis.Types.ShardFilter.ShardFilter
+ Amazonka.Kinesis.Types.ShardFilter: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.Types.ShardFilter.ShardFilter
+ Amazonka.Kinesis.Types.ShardFilter: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.Types.ShardFilter.ShardFilter
+ Amazonka.Kinesis.Types.ShardFilter: instance GHC.Classes.Eq Amazonka.Kinesis.Types.ShardFilter.ShardFilter
+ Amazonka.Kinesis.Types.ShardFilter: instance GHC.Generics.Generic Amazonka.Kinesis.Types.ShardFilter.ShardFilter
+ Amazonka.Kinesis.Types.ShardFilter: instance GHC.Read.Read Amazonka.Kinesis.Types.ShardFilter.ShardFilter
+ Amazonka.Kinesis.Types.ShardFilter: instance GHC.Show.Show Amazonka.Kinesis.Types.ShardFilter.ShardFilter
+ Amazonka.Kinesis.Types.ShardFilter: newShardFilter :: ShardFilterType -> ShardFilter
+ Amazonka.Kinesis.Types.ShardFilter: shardFilter_shardId :: Lens' ShardFilter (Maybe Text)
+ Amazonka.Kinesis.Types.ShardFilter: shardFilter_timestamp :: Lens' ShardFilter (Maybe UTCTime)
+ Amazonka.Kinesis.Types.ShardFilter: shardFilter_type :: Lens' ShardFilter ShardFilterType
+ Amazonka.Kinesis.Types.ShardFilterType: ShardFilterType' :: Text -> ShardFilterType
+ Amazonka.Kinesis.Types.ShardFilterType: [fromShardFilterType] :: ShardFilterType -> Text
+ Amazonka.Kinesis.Types.ShardFilterType: instance Amazonka.Data.ByteString.ToByteString Amazonka.Kinesis.Types.ShardFilterType.ShardFilterType
+ Amazonka.Kinesis.Types.ShardFilterType: instance Amazonka.Data.Headers.ToHeader Amazonka.Kinesis.Types.ShardFilterType.ShardFilterType
+ Amazonka.Kinesis.Types.ShardFilterType: instance Amazonka.Data.Log.ToLog Amazonka.Kinesis.Types.ShardFilterType.ShardFilterType
+ Amazonka.Kinesis.Types.ShardFilterType: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.Types.ShardFilterType.ShardFilterType
+ Amazonka.Kinesis.Types.ShardFilterType: instance Amazonka.Data.Text.FromText Amazonka.Kinesis.Types.ShardFilterType.ShardFilterType
+ Amazonka.Kinesis.Types.ShardFilterType: instance Amazonka.Data.Text.ToText Amazonka.Kinesis.Types.ShardFilterType.ShardFilterType
+ Amazonka.Kinesis.Types.ShardFilterType: instance Amazonka.Data.XML.FromXML Amazonka.Kinesis.Types.ShardFilterType.ShardFilterType
+ Amazonka.Kinesis.Types.ShardFilterType: instance Amazonka.Data.XML.ToXML Amazonka.Kinesis.Types.ShardFilterType.ShardFilterType
+ Amazonka.Kinesis.Types.ShardFilterType: instance Control.DeepSeq.NFData Amazonka.Kinesis.Types.ShardFilterType.ShardFilterType
+ Amazonka.Kinesis.Types.ShardFilterType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Kinesis.Types.ShardFilterType.ShardFilterType
+ Amazonka.Kinesis.Types.ShardFilterType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Kinesis.Types.ShardFilterType.ShardFilterType
+ Amazonka.Kinesis.Types.ShardFilterType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.Types.ShardFilterType.ShardFilterType
+ Amazonka.Kinesis.Types.ShardFilterType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Kinesis.Types.ShardFilterType.ShardFilterType
+ Amazonka.Kinesis.Types.ShardFilterType: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.Types.ShardFilterType.ShardFilterType
+ Amazonka.Kinesis.Types.ShardFilterType: instance GHC.Classes.Eq Amazonka.Kinesis.Types.ShardFilterType.ShardFilterType
+ Amazonka.Kinesis.Types.ShardFilterType: instance GHC.Classes.Ord Amazonka.Kinesis.Types.ShardFilterType.ShardFilterType
+ Amazonka.Kinesis.Types.ShardFilterType: instance GHC.Generics.Generic Amazonka.Kinesis.Types.ShardFilterType.ShardFilterType
+ Amazonka.Kinesis.Types.ShardFilterType: instance GHC.Read.Read Amazonka.Kinesis.Types.ShardFilterType.ShardFilterType
+ Amazonka.Kinesis.Types.ShardFilterType: instance GHC.Show.Show Amazonka.Kinesis.Types.ShardFilterType.ShardFilterType
+ Amazonka.Kinesis.Types.ShardFilterType: newtype ShardFilterType
+ Amazonka.Kinesis.Types.ShardFilterType: pattern ShardFilterType_AFTER_SHARD_ID :: ShardFilterType
+ Amazonka.Kinesis.Types.ShardFilterType: pattern ShardFilterType_AT_LATEST :: ShardFilterType
+ Amazonka.Kinesis.Types.ShardFilterType: pattern ShardFilterType_AT_TIMESTAMP :: ShardFilterType
+ Amazonka.Kinesis.Types.ShardFilterType: pattern ShardFilterType_AT_TRIM_HORIZON :: ShardFilterType
+ Amazonka.Kinesis.Types.ShardFilterType: pattern ShardFilterType_FROM_TIMESTAMP :: ShardFilterType
+ Amazonka.Kinesis.Types.ShardFilterType: pattern ShardFilterType_FROM_TRIM_HORIZON :: ShardFilterType
+ Amazonka.Kinesis.Types.ShardIteratorType: ShardIteratorType' :: Text -> ShardIteratorType
+ Amazonka.Kinesis.Types.ShardIteratorType: [fromShardIteratorType] :: ShardIteratorType -> Text
+ Amazonka.Kinesis.Types.ShardIteratorType: instance Amazonka.Data.ByteString.ToByteString Amazonka.Kinesis.Types.ShardIteratorType.ShardIteratorType
+ Amazonka.Kinesis.Types.ShardIteratorType: instance Amazonka.Data.Headers.ToHeader Amazonka.Kinesis.Types.ShardIteratorType.ShardIteratorType
+ Amazonka.Kinesis.Types.ShardIteratorType: instance Amazonka.Data.Log.ToLog Amazonka.Kinesis.Types.ShardIteratorType.ShardIteratorType
+ Amazonka.Kinesis.Types.ShardIteratorType: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.Types.ShardIteratorType.ShardIteratorType
+ Amazonka.Kinesis.Types.ShardIteratorType: instance Amazonka.Data.Text.FromText Amazonka.Kinesis.Types.ShardIteratorType.ShardIteratorType
+ Amazonka.Kinesis.Types.ShardIteratorType: instance Amazonka.Data.Text.ToText Amazonka.Kinesis.Types.ShardIteratorType.ShardIteratorType
+ Amazonka.Kinesis.Types.ShardIteratorType: instance Amazonka.Data.XML.FromXML Amazonka.Kinesis.Types.ShardIteratorType.ShardIteratorType
+ Amazonka.Kinesis.Types.ShardIteratorType: instance Amazonka.Data.XML.ToXML Amazonka.Kinesis.Types.ShardIteratorType.ShardIteratorType
+ Amazonka.Kinesis.Types.ShardIteratorType: instance Control.DeepSeq.NFData Amazonka.Kinesis.Types.ShardIteratorType.ShardIteratorType
+ Amazonka.Kinesis.Types.ShardIteratorType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Kinesis.Types.ShardIteratorType.ShardIteratorType
+ Amazonka.Kinesis.Types.ShardIteratorType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Kinesis.Types.ShardIteratorType.ShardIteratorType
+ Amazonka.Kinesis.Types.ShardIteratorType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.Types.ShardIteratorType.ShardIteratorType
+ Amazonka.Kinesis.Types.ShardIteratorType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Kinesis.Types.ShardIteratorType.ShardIteratorType
+ Amazonka.Kinesis.Types.ShardIteratorType: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.Types.ShardIteratorType.ShardIteratorType
+ Amazonka.Kinesis.Types.ShardIteratorType: instance GHC.Classes.Eq Amazonka.Kinesis.Types.ShardIteratorType.ShardIteratorType
+ Amazonka.Kinesis.Types.ShardIteratorType: instance GHC.Classes.Ord Amazonka.Kinesis.Types.ShardIteratorType.ShardIteratorType
+ Amazonka.Kinesis.Types.ShardIteratorType: instance GHC.Generics.Generic Amazonka.Kinesis.Types.ShardIteratorType.ShardIteratorType
+ Amazonka.Kinesis.Types.ShardIteratorType: instance GHC.Read.Read Amazonka.Kinesis.Types.ShardIteratorType.ShardIteratorType
+ Amazonka.Kinesis.Types.ShardIteratorType: instance GHC.Show.Show Amazonka.Kinesis.Types.ShardIteratorType.ShardIteratorType
+ Amazonka.Kinesis.Types.ShardIteratorType: newtype ShardIteratorType
+ Amazonka.Kinesis.Types.ShardIteratorType: pattern ShardIteratorType_AFTER_SEQUENCE_NUMBER :: ShardIteratorType
+ Amazonka.Kinesis.Types.ShardIteratorType: pattern ShardIteratorType_AT_SEQUENCE_NUMBER :: ShardIteratorType
+ Amazonka.Kinesis.Types.ShardIteratorType: pattern ShardIteratorType_AT_TIMESTAMP :: ShardIteratorType
+ Amazonka.Kinesis.Types.ShardIteratorType: pattern ShardIteratorType_LATEST :: ShardIteratorType
+ Amazonka.Kinesis.Types.ShardIteratorType: pattern ShardIteratorType_TRIM_HORIZON :: ShardIteratorType
+ Amazonka.Kinesis.Types.StartingPosition: StartingPosition' :: Maybe Text -> Maybe POSIX -> ShardIteratorType -> StartingPosition
+ Amazonka.Kinesis.Types.StartingPosition: [$sel:sequenceNumber:StartingPosition'] :: StartingPosition -> Maybe Text
+ Amazonka.Kinesis.Types.StartingPosition: [$sel:timestamp:StartingPosition'] :: StartingPosition -> Maybe POSIX
+ Amazonka.Kinesis.Types.StartingPosition: [$sel:type':StartingPosition'] :: StartingPosition -> ShardIteratorType
+ Amazonka.Kinesis.Types.StartingPosition: data StartingPosition
+ Amazonka.Kinesis.Types.StartingPosition: instance Control.DeepSeq.NFData Amazonka.Kinesis.Types.StartingPosition.StartingPosition
+ Amazonka.Kinesis.Types.StartingPosition: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.Types.StartingPosition.StartingPosition
+ Amazonka.Kinesis.Types.StartingPosition: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.Types.StartingPosition.StartingPosition
+ Amazonka.Kinesis.Types.StartingPosition: instance GHC.Classes.Eq Amazonka.Kinesis.Types.StartingPosition.StartingPosition
+ Amazonka.Kinesis.Types.StartingPosition: instance GHC.Generics.Generic Amazonka.Kinesis.Types.StartingPosition.StartingPosition
+ Amazonka.Kinesis.Types.StartingPosition: instance GHC.Read.Read Amazonka.Kinesis.Types.StartingPosition.StartingPosition
+ Amazonka.Kinesis.Types.StartingPosition: instance GHC.Show.Show Amazonka.Kinesis.Types.StartingPosition.StartingPosition
+ Amazonka.Kinesis.Types.StartingPosition: newStartingPosition :: ShardIteratorType -> StartingPosition
+ Amazonka.Kinesis.Types.StartingPosition: startingPosition_sequenceNumber :: Lens' StartingPosition (Maybe Text)
+ Amazonka.Kinesis.Types.StartingPosition: startingPosition_timestamp :: Lens' StartingPosition (Maybe UTCTime)
+ Amazonka.Kinesis.Types.StartingPosition: startingPosition_type :: Lens' StartingPosition ShardIteratorType
+ Amazonka.Kinesis.Types.StreamDescription: StreamDescription' :: Maybe EncryptionType -> Maybe Text -> Maybe StreamModeDetails -> Text -> Text -> StreamStatus -> [Shard] -> Bool -> Int -> POSIX -> [EnhancedMetrics] -> StreamDescription
+ Amazonka.Kinesis.Types.StreamDescription: [$sel:encryptionType:StreamDescription'] :: StreamDescription -> Maybe EncryptionType
+ Amazonka.Kinesis.Types.StreamDescription: [$sel:enhancedMonitoring:StreamDescription'] :: StreamDescription -> [EnhancedMetrics]
+ Amazonka.Kinesis.Types.StreamDescription: [$sel:hasMoreShards:StreamDescription'] :: StreamDescription -> Bool
+ Amazonka.Kinesis.Types.StreamDescription: [$sel:keyId:StreamDescription'] :: StreamDescription -> Maybe Text
+ Amazonka.Kinesis.Types.StreamDescription: [$sel:retentionPeriodHours:StreamDescription'] :: StreamDescription -> Int
+ Amazonka.Kinesis.Types.StreamDescription: [$sel:shards:StreamDescription'] :: StreamDescription -> [Shard]
+ Amazonka.Kinesis.Types.StreamDescription: [$sel:streamARN:StreamDescription'] :: StreamDescription -> Text
+ Amazonka.Kinesis.Types.StreamDescription: [$sel:streamCreationTimestamp:StreamDescription'] :: StreamDescription -> POSIX
+ Amazonka.Kinesis.Types.StreamDescription: [$sel:streamModeDetails:StreamDescription'] :: StreamDescription -> Maybe StreamModeDetails
+ Amazonka.Kinesis.Types.StreamDescription: [$sel:streamName:StreamDescription'] :: StreamDescription -> Text
+ Amazonka.Kinesis.Types.StreamDescription: [$sel:streamStatus:StreamDescription'] :: StreamDescription -> StreamStatus
+ Amazonka.Kinesis.Types.StreamDescription: data StreamDescription
+ Amazonka.Kinesis.Types.StreamDescription: instance Control.DeepSeq.NFData Amazonka.Kinesis.Types.StreamDescription.StreamDescription
+ Amazonka.Kinesis.Types.StreamDescription: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Kinesis.Types.StreamDescription.StreamDescription
+ Amazonka.Kinesis.Types.StreamDescription: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.Types.StreamDescription.StreamDescription
+ Amazonka.Kinesis.Types.StreamDescription: instance GHC.Classes.Eq Amazonka.Kinesis.Types.StreamDescription.StreamDescription
+ Amazonka.Kinesis.Types.StreamDescription: instance GHC.Generics.Generic Amazonka.Kinesis.Types.StreamDescription.StreamDescription
+ Amazonka.Kinesis.Types.StreamDescription: instance GHC.Read.Read Amazonka.Kinesis.Types.StreamDescription.StreamDescription
+ Amazonka.Kinesis.Types.StreamDescription: instance GHC.Show.Show Amazonka.Kinesis.Types.StreamDescription.StreamDescription
+ Amazonka.Kinesis.Types.StreamDescription: newStreamDescription :: Text -> Text -> StreamStatus -> Bool -> Int -> UTCTime -> StreamDescription
+ Amazonka.Kinesis.Types.StreamDescription: streamDescription_encryptionType :: Lens' StreamDescription (Maybe EncryptionType)
+ Amazonka.Kinesis.Types.StreamDescription: streamDescription_enhancedMonitoring :: Lens' StreamDescription [EnhancedMetrics]
+ Amazonka.Kinesis.Types.StreamDescription: streamDescription_hasMoreShards :: Lens' StreamDescription Bool
+ Amazonka.Kinesis.Types.StreamDescription: streamDescription_keyId :: Lens' StreamDescription (Maybe Text)
+ Amazonka.Kinesis.Types.StreamDescription: streamDescription_retentionPeriodHours :: Lens' StreamDescription Int
+ Amazonka.Kinesis.Types.StreamDescription: streamDescription_shards :: Lens' StreamDescription [Shard]
+ Amazonka.Kinesis.Types.StreamDescription: streamDescription_streamARN :: Lens' StreamDescription Text
+ Amazonka.Kinesis.Types.StreamDescription: streamDescription_streamCreationTimestamp :: Lens' StreamDescription UTCTime
+ Amazonka.Kinesis.Types.StreamDescription: streamDescription_streamModeDetails :: Lens' StreamDescription (Maybe StreamModeDetails)
+ Amazonka.Kinesis.Types.StreamDescription: streamDescription_streamName :: Lens' StreamDescription Text
+ Amazonka.Kinesis.Types.StreamDescription: streamDescription_streamStatus :: Lens' StreamDescription StreamStatus
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: StreamDescriptionSummary' :: Maybe Natural -> Maybe EncryptionType -> Maybe Text -> Maybe StreamModeDetails -> Text -> Text -> StreamStatus -> Int -> POSIX -> [EnhancedMetrics] -> Natural -> StreamDescriptionSummary
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: [$sel:consumerCount:StreamDescriptionSummary'] :: StreamDescriptionSummary -> Maybe Natural
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: [$sel:encryptionType:StreamDescriptionSummary'] :: StreamDescriptionSummary -> Maybe EncryptionType
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: [$sel:enhancedMonitoring:StreamDescriptionSummary'] :: StreamDescriptionSummary -> [EnhancedMetrics]
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: [$sel:keyId:StreamDescriptionSummary'] :: StreamDescriptionSummary -> Maybe Text
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: [$sel:openShardCount:StreamDescriptionSummary'] :: StreamDescriptionSummary -> Natural
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: [$sel:retentionPeriodHours:StreamDescriptionSummary'] :: StreamDescriptionSummary -> Int
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: [$sel:streamARN:StreamDescriptionSummary'] :: StreamDescriptionSummary -> Text
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: [$sel:streamCreationTimestamp:StreamDescriptionSummary'] :: StreamDescriptionSummary -> POSIX
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: [$sel:streamModeDetails:StreamDescriptionSummary'] :: StreamDescriptionSummary -> Maybe StreamModeDetails
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: [$sel:streamName:StreamDescriptionSummary'] :: StreamDescriptionSummary -> Text
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: [$sel:streamStatus:StreamDescriptionSummary'] :: StreamDescriptionSummary -> StreamStatus
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: data StreamDescriptionSummary
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: instance Control.DeepSeq.NFData Amazonka.Kinesis.Types.StreamDescriptionSummary.StreamDescriptionSummary
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Kinesis.Types.StreamDescriptionSummary.StreamDescriptionSummary
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.Types.StreamDescriptionSummary.StreamDescriptionSummary
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: instance GHC.Classes.Eq Amazonka.Kinesis.Types.StreamDescriptionSummary.StreamDescriptionSummary
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: instance GHC.Generics.Generic Amazonka.Kinesis.Types.StreamDescriptionSummary.StreamDescriptionSummary
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: instance GHC.Read.Read Amazonka.Kinesis.Types.StreamDescriptionSummary.StreamDescriptionSummary
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: instance GHC.Show.Show Amazonka.Kinesis.Types.StreamDescriptionSummary.StreamDescriptionSummary
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: newStreamDescriptionSummary :: Text -> Text -> StreamStatus -> Int -> UTCTime -> Natural -> StreamDescriptionSummary
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: streamDescriptionSummary_consumerCount :: Lens' StreamDescriptionSummary (Maybe Natural)
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: streamDescriptionSummary_encryptionType :: Lens' StreamDescriptionSummary (Maybe EncryptionType)
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: streamDescriptionSummary_enhancedMonitoring :: Lens' StreamDescriptionSummary [EnhancedMetrics]
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: streamDescriptionSummary_keyId :: Lens' StreamDescriptionSummary (Maybe Text)
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: streamDescriptionSummary_openShardCount :: Lens' StreamDescriptionSummary Natural
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: streamDescriptionSummary_retentionPeriodHours :: Lens' StreamDescriptionSummary Int
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: streamDescriptionSummary_streamARN :: Lens' StreamDescriptionSummary Text
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: streamDescriptionSummary_streamCreationTimestamp :: Lens' StreamDescriptionSummary UTCTime
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: streamDescriptionSummary_streamModeDetails :: Lens' StreamDescriptionSummary (Maybe StreamModeDetails)
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: streamDescriptionSummary_streamName :: Lens' StreamDescriptionSummary Text
+ Amazonka.Kinesis.Types.StreamDescriptionSummary: streamDescriptionSummary_streamStatus :: Lens' StreamDescriptionSummary StreamStatus
+ Amazonka.Kinesis.Types.StreamMode: StreamMode' :: Text -> StreamMode
+ Amazonka.Kinesis.Types.StreamMode: [fromStreamMode] :: StreamMode -> Text
+ Amazonka.Kinesis.Types.StreamMode: instance Amazonka.Data.ByteString.ToByteString Amazonka.Kinesis.Types.StreamMode.StreamMode
+ Amazonka.Kinesis.Types.StreamMode: instance Amazonka.Data.Headers.ToHeader Amazonka.Kinesis.Types.StreamMode.StreamMode
+ Amazonka.Kinesis.Types.StreamMode: instance Amazonka.Data.Log.ToLog Amazonka.Kinesis.Types.StreamMode.StreamMode
+ Amazonka.Kinesis.Types.StreamMode: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.Types.StreamMode.StreamMode
+ Amazonka.Kinesis.Types.StreamMode: instance Amazonka.Data.Text.FromText Amazonka.Kinesis.Types.StreamMode.StreamMode
+ Amazonka.Kinesis.Types.StreamMode: instance Amazonka.Data.Text.ToText Amazonka.Kinesis.Types.StreamMode.StreamMode
+ Amazonka.Kinesis.Types.StreamMode: instance Amazonka.Data.XML.FromXML Amazonka.Kinesis.Types.StreamMode.StreamMode
+ Amazonka.Kinesis.Types.StreamMode: instance Amazonka.Data.XML.ToXML Amazonka.Kinesis.Types.StreamMode.StreamMode
+ Amazonka.Kinesis.Types.StreamMode: instance Control.DeepSeq.NFData Amazonka.Kinesis.Types.StreamMode.StreamMode
+ Amazonka.Kinesis.Types.StreamMode: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Kinesis.Types.StreamMode.StreamMode
+ Amazonka.Kinesis.Types.StreamMode: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Kinesis.Types.StreamMode.StreamMode
+ Amazonka.Kinesis.Types.StreamMode: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.Types.StreamMode.StreamMode
+ Amazonka.Kinesis.Types.StreamMode: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Kinesis.Types.StreamMode.StreamMode
+ Amazonka.Kinesis.Types.StreamMode: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.Types.StreamMode.StreamMode
+ Amazonka.Kinesis.Types.StreamMode: instance GHC.Classes.Eq Amazonka.Kinesis.Types.StreamMode.StreamMode
+ Amazonka.Kinesis.Types.StreamMode: instance GHC.Classes.Ord Amazonka.Kinesis.Types.StreamMode.StreamMode
+ Amazonka.Kinesis.Types.StreamMode: instance GHC.Generics.Generic Amazonka.Kinesis.Types.StreamMode.StreamMode
+ Amazonka.Kinesis.Types.StreamMode: instance GHC.Read.Read Amazonka.Kinesis.Types.StreamMode.StreamMode
+ Amazonka.Kinesis.Types.StreamMode: instance GHC.Show.Show Amazonka.Kinesis.Types.StreamMode.StreamMode
+ Amazonka.Kinesis.Types.StreamMode: newtype StreamMode
+ Amazonka.Kinesis.Types.StreamMode: pattern StreamMode_ON_DEMAND :: StreamMode
+ Amazonka.Kinesis.Types.StreamMode: pattern StreamMode_PROVISIONED :: StreamMode
+ Amazonka.Kinesis.Types.StreamModeDetails: StreamModeDetails' :: StreamMode -> StreamModeDetails
+ Amazonka.Kinesis.Types.StreamModeDetails: [$sel:streamMode:StreamModeDetails'] :: StreamModeDetails -> StreamMode
+ Amazonka.Kinesis.Types.StreamModeDetails: data StreamModeDetails
+ Amazonka.Kinesis.Types.StreamModeDetails: instance Control.DeepSeq.NFData Amazonka.Kinesis.Types.StreamModeDetails.StreamModeDetails
+ Amazonka.Kinesis.Types.StreamModeDetails: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Kinesis.Types.StreamModeDetails.StreamModeDetails
+ Amazonka.Kinesis.Types.StreamModeDetails: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.Types.StreamModeDetails.StreamModeDetails
+ Amazonka.Kinesis.Types.StreamModeDetails: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.Types.StreamModeDetails.StreamModeDetails
+ Amazonka.Kinesis.Types.StreamModeDetails: instance GHC.Classes.Eq Amazonka.Kinesis.Types.StreamModeDetails.StreamModeDetails
+ Amazonka.Kinesis.Types.StreamModeDetails: instance GHC.Generics.Generic Amazonka.Kinesis.Types.StreamModeDetails.StreamModeDetails
+ Amazonka.Kinesis.Types.StreamModeDetails: instance GHC.Read.Read Amazonka.Kinesis.Types.StreamModeDetails.StreamModeDetails
+ Amazonka.Kinesis.Types.StreamModeDetails: instance GHC.Show.Show Amazonka.Kinesis.Types.StreamModeDetails.StreamModeDetails
+ Amazonka.Kinesis.Types.StreamModeDetails: newStreamModeDetails :: StreamMode -> StreamModeDetails
+ Amazonka.Kinesis.Types.StreamModeDetails: streamModeDetails_streamMode :: Lens' StreamModeDetails StreamMode
+ Amazonka.Kinesis.Types.StreamStatus: StreamStatus' :: Text -> StreamStatus
+ Amazonka.Kinesis.Types.StreamStatus: [fromStreamStatus] :: StreamStatus -> Text
+ Amazonka.Kinesis.Types.StreamStatus: instance Amazonka.Data.ByteString.ToByteString Amazonka.Kinesis.Types.StreamStatus.StreamStatus
+ Amazonka.Kinesis.Types.StreamStatus: instance Amazonka.Data.Headers.ToHeader Amazonka.Kinesis.Types.StreamStatus.StreamStatus
+ Amazonka.Kinesis.Types.StreamStatus: instance Amazonka.Data.Log.ToLog Amazonka.Kinesis.Types.StreamStatus.StreamStatus
+ Amazonka.Kinesis.Types.StreamStatus: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.Types.StreamStatus.StreamStatus
+ Amazonka.Kinesis.Types.StreamStatus: instance Amazonka.Data.Text.FromText Amazonka.Kinesis.Types.StreamStatus.StreamStatus
+ Amazonka.Kinesis.Types.StreamStatus: instance Amazonka.Data.Text.ToText Amazonka.Kinesis.Types.StreamStatus.StreamStatus
+ Amazonka.Kinesis.Types.StreamStatus: instance Amazonka.Data.XML.FromXML Amazonka.Kinesis.Types.StreamStatus.StreamStatus
+ Amazonka.Kinesis.Types.StreamStatus: instance Amazonka.Data.XML.ToXML Amazonka.Kinesis.Types.StreamStatus.StreamStatus
+ Amazonka.Kinesis.Types.StreamStatus: instance Control.DeepSeq.NFData Amazonka.Kinesis.Types.StreamStatus.StreamStatus
+ Amazonka.Kinesis.Types.StreamStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Kinesis.Types.StreamStatus.StreamStatus
+ Amazonka.Kinesis.Types.StreamStatus: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Kinesis.Types.StreamStatus.StreamStatus
+ Amazonka.Kinesis.Types.StreamStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.Types.StreamStatus.StreamStatus
+ Amazonka.Kinesis.Types.StreamStatus: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Kinesis.Types.StreamStatus.StreamStatus
+ Amazonka.Kinesis.Types.StreamStatus: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.Types.StreamStatus.StreamStatus
+ Amazonka.Kinesis.Types.StreamStatus: instance GHC.Classes.Eq Amazonka.Kinesis.Types.StreamStatus.StreamStatus
+ Amazonka.Kinesis.Types.StreamStatus: instance GHC.Classes.Ord Amazonka.Kinesis.Types.StreamStatus.StreamStatus
+ Amazonka.Kinesis.Types.StreamStatus: instance GHC.Generics.Generic Amazonka.Kinesis.Types.StreamStatus.StreamStatus
+ Amazonka.Kinesis.Types.StreamStatus: instance GHC.Read.Read Amazonka.Kinesis.Types.StreamStatus.StreamStatus
+ Amazonka.Kinesis.Types.StreamStatus: instance GHC.Show.Show Amazonka.Kinesis.Types.StreamStatus.StreamStatus
+ Amazonka.Kinesis.Types.StreamStatus: newtype StreamStatus
+ Amazonka.Kinesis.Types.StreamStatus: pattern StreamStatus_ACTIVE :: StreamStatus
+ Amazonka.Kinesis.Types.StreamStatus: pattern StreamStatus_CREATING :: StreamStatus
+ Amazonka.Kinesis.Types.StreamStatus: pattern StreamStatus_DELETING :: StreamStatus
+ Amazonka.Kinesis.Types.StreamStatus: pattern StreamStatus_UPDATING :: StreamStatus
+ Amazonka.Kinesis.Types.StreamSummary: StreamSummary' :: Maybe POSIX -> Maybe StreamModeDetails -> Text -> Text -> StreamStatus -> StreamSummary
+ Amazonka.Kinesis.Types.StreamSummary: [$sel:streamARN:StreamSummary'] :: StreamSummary -> Text
+ Amazonka.Kinesis.Types.StreamSummary: [$sel:streamCreationTimestamp:StreamSummary'] :: StreamSummary -> Maybe POSIX
+ Amazonka.Kinesis.Types.StreamSummary: [$sel:streamModeDetails:StreamSummary'] :: StreamSummary -> Maybe StreamModeDetails
+ Amazonka.Kinesis.Types.StreamSummary: [$sel:streamName:StreamSummary'] :: StreamSummary -> Text
+ Amazonka.Kinesis.Types.StreamSummary: [$sel:streamStatus:StreamSummary'] :: StreamSummary -> StreamStatus
+ Amazonka.Kinesis.Types.StreamSummary: data StreamSummary
+ Amazonka.Kinesis.Types.StreamSummary: instance Control.DeepSeq.NFData Amazonka.Kinesis.Types.StreamSummary.StreamSummary
+ Amazonka.Kinesis.Types.StreamSummary: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Kinesis.Types.StreamSummary.StreamSummary
+ Amazonka.Kinesis.Types.StreamSummary: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.Types.StreamSummary.StreamSummary
+ Amazonka.Kinesis.Types.StreamSummary: instance GHC.Classes.Eq Amazonka.Kinesis.Types.StreamSummary.StreamSummary
+ Amazonka.Kinesis.Types.StreamSummary: instance GHC.Generics.Generic Amazonka.Kinesis.Types.StreamSummary.StreamSummary
+ Amazonka.Kinesis.Types.StreamSummary: instance GHC.Read.Read Amazonka.Kinesis.Types.StreamSummary.StreamSummary
+ Amazonka.Kinesis.Types.StreamSummary: instance GHC.Show.Show Amazonka.Kinesis.Types.StreamSummary.StreamSummary
+ Amazonka.Kinesis.Types.StreamSummary: newStreamSummary :: Text -> Text -> StreamStatus -> StreamSummary
+ Amazonka.Kinesis.Types.StreamSummary: streamSummary_streamARN :: Lens' StreamSummary Text
+ Amazonka.Kinesis.Types.StreamSummary: streamSummary_streamCreationTimestamp :: Lens' StreamSummary (Maybe UTCTime)
+ Amazonka.Kinesis.Types.StreamSummary: streamSummary_streamModeDetails :: Lens' StreamSummary (Maybe StreamModeDetails)
+ Amazonka.Kinesis.Types.StreamSummary: streamSummary_streamName :: Lens' StreamSummary Text
+ Amazonka.Kinesis.Types.StreamSummary: streamSummary_streamStatus :: Lens' StreamSummary StreamStatus
+ Amazonka.Kinesis.Types.SubscribeToShardEvent: SubscribeToShardEvent' :: Maybe [ChildShard] -> [Record] -> Text -> Natural -> SubscribeToShardEvent
+ Amazonka.Kinesis.Types.SubscribeToShardEvent: [$sel:childShards:SubscribeToShardEvent'] :: SubscribeToShardEvent -> Maybe [ChildShard]
+ Amazonka.Kinesis.Types.SubscribeToShardEvent: [$sel:continuationSequenceNumber:SubscribeToShardEvent'] :: SubscribeToShardEvent -> Text
+ Amazonka.Kinesis.Types.SubscribeToShardEvent: [$sel:millisBehindLatest:SubscribeToShardEvent'] :: SubscribeToShardEvent -> Natural
+ Amazonka.Kinesis.Types.SubscribeToShardEvent: [$sel:records:SubscribeToShardEvent'] :: SubscribeToShardEvent -> [Record]
+ Amazonka.Kinesis.Types.SubscribeToShardEvent: data SubscribeToShardEvent
+ Amazonka.Kinesis.Types.SubscribeToShardEvent: instance Control.DeepSeq.NFData Amazonka.Kinesis.Types.SubscribeToShardEvent.SubscribeToShardEvent
+ Amazonka.Kinesis.Types.SubscribeToShardEvent: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Kinesis.Types.SubscribeToShardEvent.SubscribeToShardEvent
+ Amazonka.Kinesis.Types.SubscribeToShardEvent: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.Types.SubscribeToShardEvent.SubscribeToShardEvent
+ Amazonka.Kinesis.Types.SubscribeToShardEvent: instance GHC.Classes.Eq Amazonka.Kinesis.Types.SubscribeToShardEvent.SubscribeToShardEvent
+ Amazonka.Kinesis.Types.SubscribeToShardEvent: instance GHC.Generics.Generic Amazonka.Kinesis.Types.SubscribeToShardEvent.SubscribeToShardEvent
+ Amazonka.Kinesis.Types.SubscribeToShardEvent: instance GHC.Read.Read Amazonka.Kinesis.Types.SubscribeToShardEvent.SubscribeToShardEvent
+ Amazonka.Kinesis.Types.SubscribeToShardEvent: instance GHC.Show.Show Amazonka.Kinesis.Types.SubscribeToShardEvent.SubscribeToShardEvent
+ Amazonka.Kinesis.Types.SubscribeToShardEvent: newSubscribeToShardEvent :: Text -> Natural -> SubscribeToShardEvent
+ Amazonka.Kinesis.Types.SubscribeToShardEvent: subscribeToShardEvent_childShards :: Lens' SubscribeToShardEvent (Maybe [ChildShard])
+ Amazonka.Kinesis.Types.SubscribeToShardEvent: subscribeToShardEvent_continuationSequenceNumber :: Lens' SubscribeToShardEvent Text
+ Amazonka.Kinesis.Types.SubscribeToShardEvent: subscribeToShardEvent_millisBehindLatest :: Lens' SubscribeToShardEvent Natural
+ Amazonka.Kinesis.Types.SubscribeToShardEvent: subscribeToShardEvent_records :: Lens' SubscribeToShardEvent [Record]
+ Amazonka.Kinesis.Types.Tag: Tag' :: Maybe Text -> Text -> Tag
+ Amazonka.Kinesis.Types.Tag: [$sel:key:Tag'] :: Tag -> Text
+ Amazonka.Kinesis.Types.Tag: [$sel:value:Tag'] :: Tag -> Maybe Text
+ Amazonka.Kinesis.Types.Tag: data Tag
+ Amazonka.Kinesis.Types.Tag: instance Control.DeepSeq.NFData Amazonka.Kinesis.Types.Tag.Tag
+ Amazonka.Kinesis.Types.Tag: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Kinesis.Types.Tag.Tag
+ Amazonka.Kinesis.Types.Tag: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.Types.Tag.Tag
+ Amazonka.Kinesis.Types.Tag: instance GHC.Classes.Eq Amazonka.Kinesis.Types.Tag.Tag
+ Amazonka.Kinesis.Types.Tag: instance GHC.Generics.Generic Amazonka.Kinesis.Types.Tag.Tag
+ Amazonka.Kinesis.Types.Tag: instance GHC.Read.Read Amazonka.Kinesis.Types.Tag.Tag
+ Amazonka.Kinesis.Types.Tag: instance GHC.Show.Show Amazonka.Kinesis.Types.Tag.Tag
+ Amazonka.Kinesis.Types.Tag: newTag :: Text -> Tag
+ Amazonka.Kinesis.Types.Tag: tag_key :: Lens' Tag Text
+ Amazonka.Kinesis.Types.Tag: tag_value :: Lens' Tag (Maybe Text)
+ Amazonka.Kinesis.UpdateShardCount: UpdateShardCount' :: Maybe Text -> Maybe Text -> Natural -> ScalingType -> UpdateShardCount
+ Amazonka.Kinesis.UpdateShardCount: UpdateShardCountResponse' :: Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Natural -> Int -> UpdateShardCountResponse
+ Amazonka.Kinesis.UpdateShardCount: [$sel:currentShardCount:UpdateShardCountResponse'] :: UpdateShardCountResponse -> Maybe Natural
+ Amazonka.Kinesis.UpdateShardCount: [$sel:httpStatus:UpdateShardCountResponse'] :: UpdateShardCountResponse -> Int
+ Amazonka.Kinesis.UpdateShardCount: [$sel:scalingType:UpdateShardCount'] :: UpdateShardCount -> ScalingType
+ Amazonka.Kinesis.UpdateShardCount: [$sel:streamARN:UpdateShardCount'] :: UpdateShardCount -> Maybe Text
+ Amazonka.Kinesis.UpdateShardCount: [$sel:streamARN:UpdateShardCountResponse'] :: UpdateShardCountResponse -> Maybe Text
+ Amazonka.Kinesis.UpdateShardCount: [$sel:streamName:UpdateShardCount'] :: UpdateShardCount -> Maybe Text
+ Amazonka.Kinesis.UpdateShardCount: [$sel:streamName:UpdateShardCountResponse'] :: UpdateShardCountResponse -> Maybe Text
+ Amazonka.Kinesis.UpdateShardCount: [$sel:targetShardCount:UpdateShardCount'] :: UpdateShardCount -> Natural
+ Amazonka.Kinesis.UpdateShardCount: [$sel:targetShardCount:UpdateShardCountResponse'] :: UpdateShardCountResponse -> Maybe Natural
+ Amazonka.Kinesis.UpdateShardCount: data UpdateShardCount
+ Amazonka.Kinesis.UpdateShardCount: data UpdateShardCountResponse
+ Amazonka.Kinesis.UpdateShardCount: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.UpdateShardCount.UpdateShardCount
+ Amazonka.Kinesis.UpdateShardCount: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.UpdateShardCount.UpdateShardCount
+ Amazonka.Kinesis.UpdateShardCount: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.UpdateShardCount.UpdateShardCount
+ Amazonka.Kinesis.UpdateShardCount: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.UpdateShardCount.UpdateShardCount
+ Amazonka.Kinesis.UpdateShardCount: instance Control.DeepSeq.NFData Amazonka.Kinesis.UpdateShardCount.UpdateShardCount
+ Amazonka.Kinesis.UpdateShardCount: instance Control.DeepSeq.NFData Amazonka.Kinesis.UpdateShardCount.UpdateShardCountResponse
+ Amazonka.Kinesis.UpdateShardCount: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.UpdateShardCount.UpdateShardCount
+ Amazonka.Kinesis.UpdateShardCount: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.UpdateShardCount.UpdateShardCount
+ Amazonka.Kinesis.UpdateShardCount: instance GHC.Classes.Eq Amazonka.Kinesis.UpdateShardCount.UpdateShardCount
+ Amazonka.Kinesis.UpdateShardCount: instance GHC.Classes.Eq Amazonka.Kinesis.UpdateShardCount.UpdateShardCountResponse
+ Amazonka.Kinesis.UpdateShardCount: instance GHC.Generics.Generic Amazonka.Kinesis.UpdateShardCount.UpdateShardCount
+ Amazonka.Kinesis.UpdateShardCount: instance GHC.Generics.Generic Amazonka.Kinesis.UpdateShardCount.UpdateShardCountResponse
+ Amazonka.Kinesis.UpdateShardCount: instance GHC.Read.Read Amazonka.Kinesis.UpdateShardCount.UpdateShardCount
+ Amazonka.Kinesis.UpdateShardCount: instance GHC.Read.Read Amazonka.Kinesis.UpdateShardCount.UpdateShardCountResponse
+ Amazonka.Kinesis.UpdateShardCount: instance GHC.Show.Show Amazonka.Kinesis.UpdateShardCount.UpdateShardCount
+ Amazonka.Kinesis.UpdateShardCount: instance GHC.Show.Show Amazonka.Kinesis.UpdateShardCount.UpdateShardCountResponse
+ Amazonka.Kinesis.UpdateShardCount: newUpdateShardCount :: Natural -> ScalingType -> UpdateShardCount
+ Amazonka.Kinesis.UpdateShardCount: newUpdateShardCountResponse :: Int -> UpdateShardCountResponse
+ Amazonka.Kinesis.UpdateShardCount: updateShardCountResponse_currentShardCount :: Lens' UpdateShardCountResponse (Maybe Natural)
+ Amazonka.Kinesis.UpdateShardCount: updateShardCountResponse_httpStatus :: Lens' UpdateShardCountResponse Int
+ Amazonka.Kinesis.UpdateShardCount: updateShardCountResponse_streamARN :: Lens' UpdateShardCountResponse (Maybe Text)
+ Amazonka.Kinesis.UpdateShardCount: updateShardCountResponse_streamName :: Lens' UpdateShardCountResponse (Maybe Text)
+ Amazonka.Kinesis.UpdateShardCount: updateShardCountResponse_targetShardCount :: Lens' UpdateShardCountResponse (Maybe Natural)
+ Amazonka.Kinesis.UpdateShardCount: updateShardCount_scalingType :: Lens' UpdateShardCount ScalingType
+ Amazonka.Kinesis.UpdateShardCount: updateShardCount_streamARN :: Lens' UpdateShardCount (Maybe Text)
+ Amazonka.Kinesis.UpdateShardCount: updateShardCount_streamName :: Lens' UpdateShardCount (Maybe Text)
+ Amazonka.Kinesis.UpdateShardCount: updateShardCount_targetShardCount :: Lens' UpdateShardCount Natural
+ Amazonka.Kinesis.UpdateStreamMode: UpdateStreamMode' :: Text -> StreamModeDetails -> UpdateStreamMode
+ Amazonka.Kinesis.UpdateStreamMode: UpdateStreamModeResponse' :: UpdateStreamModeResponse
+ Amazonka.Kinesis.UpdateStreamMode: [$sel:streamARN:UpdateStreamMode'] :: UpdateStreamMode -> Text
+ Amazonka.Kinesis.UpdateStreamMode: [$sel:streamModeDetails:UpdateStreamMode'] :: UpdateStreamMode -> StreamModeDetails
+ Amazonka.Kinesis.UpdateStreamMode: data UpdateStreamMode
+ Amazonka.Kinesis.UpdateStreamMode: data UpdateStreamModeResponse
+ Amazonka.Kinesis.UpdateStreamMode: instance Amazonka.Data.Headers.ToHeaders Amazonka.Kinesis.UpdateStreamMode.UpdateStreamMode
+ Amazonka.Kinesis.UpdateStreamMode: instance Amazonka.Data.Path.ToPath Amazonka.Kinesis.UpdateStreamMode.UpdateStreamMode
+ Amazonka.Kinesis.UpdateStreamMode: instance Amazonka.Data.Query.ToQuery Amazonka.Kinesis.UpdateStreamMode.UpdateStreamMode
+ Amazonka.Kinesis.UpdateStreamMode: instance Amazonka.Types.AWSRequest Amazonka.Kinesis.UpdateStreamMode.UpdateStreamMode
+ Amazonka.Kinesis.UpdateStreamMode: instance Control.DeepSeq.NFData Amazonka.Kinesis.UpdateStreamMode.UpdateStreamMode
+ Amazonka.Kinesis.UpdateStreamMode: instance Control.DeepSeq.NFData Amazonka.Kinesis.UpdateStreamMode.UpdateStreamModeResponse
+ Amazonka.Kinesis.UpdateStreamMode: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Kinesis.UpdateStreamMode.UpdateStreamMode
+ Amazonka.Kinesis.UpdateStreamMode: instance Data.Hashable.Class.Hashable Amazonka.Kinesis.UpdateStreamMode.UpdateStreamMode
+ Amazonka.Kinesis.UpdateStreamMode: instance GHC.Classes.Eq Amazonka.Kinesis.UpdateStreamMode.UpdateStreamMode
+ Amazonka.Kinesis.UpdateStreamMode: instance GHC.Classes.Eq Amazonka.Kinesis.UpdateStreamMode.UpdateStreamModeResponse
+ Amazonka.Kinesis.UpdateStreamMode: instance GHC.Generics.Generic Amazonka.Kinesis.UpdateStreamMode.UpdateStreamMode
+ Amazonka.Kinesis.UpdateStreamMode: instance GHC.Generics.Generic Amazonka.Kinesis.UpdateStreamMode.UpdateStreamModeResponse
+ Amazonka.Kinesis.UpdateStreamMode: instance GHC.Read.Read Amazonka.Kinesis.UpdateStreamMode.UpdateStreamMode
+ Amazonka.Kinesis.UpdateStreamMode: instance GHC.Read.Read Amazonka.Kinesis.UpdateStreamMode.UpdateStreamModeResponse
+ Amazonka.Kinesis.UpdateStreamMode: instance GHC.Show.Show Amazonka.Kinesis.UpdateStreamMode.UpdateStreamMode
+ Amazonka.Kinesis.UpdateStreamMode: instance GHC.Show.Show Amazonka.Kinesis.UpdateStreamMode.UpdateStreamModeResponse
+ Amazonka.Kinesis.UpdateStreamMode: newUpdateStreamMode :: Text -> StreamModeDetails -> UpdateStreamMode
+ Amazonka.Kinesis.UpdateStreamMode: newUpdateStreamModeResponse :: UpdateStreamModeResponse
+ Amazonka.Kinesis.UpdateStreamMode: updateStreamMode_streamARN :: Lens' UpdateStreamMode Text
+ Amazonka.Kinesis.UpdateStreamMode: updateStreamMode_streamModeDetails :: Lens' UpdateStreamMode StreamModeDetails
+ Amazonka.Kinesis.Waiters: newStreamExists :: Wait DescribeStream
+ Amazonka.Kinesis.Waiters: newStreamNotExists :: Wait DescribeStream
Files
- README.md +3/−4
- Setup.hs +0/−2
- amazonka-kinesis.cabal +128/−97
- fixture/AddTagsToStream.yaml +10/−0
- fixture/CreateStream.yaml +10/−0
- fixture/DecreaseStreamRetentionPeriod.yaml +10/−0
- fixture/DeleteStream.yaml +10/−0
- fixture/DeregisterStreamConsumer.yaml +10/−0
- fixture/DeregisterStreamConsumerResponse.proto +0/−0
- fixture/DescribeLimits.yaml +10/−0
- fixture/DescribeStream.yaml +10/−0
- fixture/DescribeStreamConsumer.yaml +10/−0
- fixture/DescribeStreamConsumerResponse.proto +0/−0
- fixture/DisableEnhancedMonitoring.yaml +10/−0
- fixture/EnableEnhancedMonitoring.yaml +10/−0
- fixture/GetRecords.yaml +10/−0
- fixture/GetShardIterator.yaml +10/−0
- fixture/IncreaseStreamRetentionPeriod.yaml +10/−0
- fixture/ListStreamConsumers.yaml +10/−0
- fixture/ListStreamConsumersResponse.proto +0/−0
- fixture/ListStreams.yaml +10/−0
- fixture/ListTagsForStream.yaml +10/−0
- fixture/MergeShards.yaml +10/−0
- fixture/PutRecord.yaml +10/−0
- fixture/PutRecords.yaml +10/−0
- fixture/RegisterStreamConsumer.yaml +10/−0
- fixture/RegisterStreamConsumerResponse.proto +0/−0
- fixture/RemoveTagsFromStream.yaml +10/−0
- fixture/SplitShard.yaml +10/−0
- fixture/SubscribeToShard.yaml +10/−0
- fixture/SubscribeToShardResponse.proto +0/−0
- fixture/UpdateShardCount.yaml +10/−0
- fixture/UpdateStreamMode.yaml +10/−0
- fixture/UpdateStreamModeResponse.proto +0/−0
- gen/Amazonka/Kinesis.hs +421/−0
- gen/Amazonka/Kinesis/AddTagsToStream.hs +172/−0
- gen/Amazonka/Kinesis/CreateStream.hs +238/−0
- gen/Amazonka/Kinesis/DecreaseStreamRetentionPeriod.hs +194/−0
- gen/Amazonka/Kinesis/DeleteStream.hs +190/−0
- gen/Amazonka/Kinesis/DeregisterStreamConsumer.hs +197/−0
- gen/Amazonka/Kinesis/DescribeLimits.hs +202/−0
- gen/Amazonka/Kinesis/DescribeStream.hs +310/−0
- gen/Amazonka/Kinesis/DescribeStreamConsumer.hs +223/−0
- gen/Amazonka/Kinesis/DescribeStreamSummary.hs +200/−0
- gen/Amazonka/Kinesis/DisableEnhancedMonitoring.hs +230/−0
- gen/Amazonka/Kinesis/EnableEnhancedMonitoring.hs +227/−0
- gen/Amazonka/Kinesis/GetRecords.hs +337/−0
- gen/Amazonka/Kinesis/GetShardIterator.hs +384/−0
- gen/Amazonka/Kinesis/IncreaseStreamRetentionPeriod.hs +199/−0
- gen/Amazonka/Kinesis/Lens.hs +398/−0
- gen/Amazonka/Kinesis/ListShards.hs +546/−0
- gen/Amazonka/Kinesis/ListStreamConsumers.hs +390/−0
- gen/Amazonka/Kinesis/ListStreams.hs +279/−0
- gen/Amazonka/Kinesis/ListTagsForStream.hs +257/−0
- gen/Amazonka/Kinesis/MergeShards.hs +228/−0
- gen/Amazonka/Kinesis/PutRecord.hs +408/−0
- gen/Amazonka/Kinesis/PutRecords.hs +329/−0
- gen/Amazonka/Kinesis/RegisterStreamConsumer.hs +227/−0
- gen/Amazonka/Kinesis/RemoveTagsFromStream.hs +176/−0
- gen/Amazonka/Kinesis/SplitShard.hs +253/−0
- gen/Amazonka/Kinesis/StartStreamEncryption.hs +252/−0
- gen/Amazonka/Kinesis/StopStreamEncryption.hs +253/−0
- gen/Amazonka/Kinesis/SubscribeToShard.hs +249/−0
- gen/Amazonka/Kinesis/Types.hs +460/−0
- gen/Amazonka/Kinesis/Types/ChildShard.hs +101/−0
- gen/Amazonka/Kinesis/Types/Consumer.hs +145/−0
- gen/Amazonka/Kinesis/Types/ConsumerDescription.hs +160/−0
- gen/Amazonka/Kinesis/Types/ConsumerStatus.hs +76/−0
- gen/Amazonka/Kinesis/Types/EncryptionType.hs +71/−0
- gen/Amazonka/Kinesis/Types/EnhancedMetrics.hs +145/−0
- gen/Amazonka/Kinesis/Types/EnhancedMonitoringOutput.hs +123/−0
- gen/Amazonka/Kinesis/Types/HashKeyRange.hs +89/−0
- gen/Amazonka/Kinesis/Types/MetricsName.hs +101/−0
- gen/Amazonka/Kinesis/Types/PutRecordsRequestEntry.hs +145/−0
- gen/Amazonka/Kinesis/Types/PutRecordsResultEntry.hs +127/−0
- gen/Amazonka/Kinesis/Types/Record.hs +167/−0
- gen/Amazonka/Kinesis/Types/ScalingType.hs +66/−0
- gen/Amazonka/Kinesis/Types/SequenceNumberRange.hs +90/−0
- gen/Amazonka/Kinesis/Types/Shard.hs +134/−0
- gen/Amazonka/Kinesis/Types/ShardFilter.hs +192/−0
- gen/Amazonka/Kinesis/Types/ShardFilterType.hs +91/−0
- gen/Amazonka/Kinesis/Types/ShardIteratorType.hs +86/−0
- gen/Amazonka/Kinesis/Types/StartingPosition.hs +171/−0
- gen/Amazonka/Kinesis/Types/StreamDescription.hs +349/−0
- gen/Amazonka/Kinesis/Types/StreamDescriptionSummary.hs +339/−0
- gen/Amazonka/Kinesis/Types/StreamMode.hs +71/−0
- gen/Amazonka/Kinesis/Types/StreamModeDetails.hs +90/−0
- gen/Amazonka/Kinesis/Types/StreamStatus.hs +81/−0
- gen/Amazonka/Kinesis/Types/StreamSummary.hs +131/−0
- gen/Amazonka/Kinesis/Types/SubscribeToShardEvent.hs +141/−0
- gen/Amazonka/Kinesis/Types/Tag.hs +91/−0
- gen/Amazonka/Kinesis/UpdateShardCount.hs +337/−0
- gen/Amazonka/Kinesis/UpdateStreamMode.hs +168/−0
- gen/Amazonka/Kinesis/Waiters.hs +57/−0
- gen/Network/AWS/Kinesis.hs +0/−308
- gen/Network/AWS/Kinesis/AddTagsToStream.hs +0/−126
- gen/Network/AWS/Kinesis/CreateStream.hs +0/−144
- gen/Network/AWS/Kinesis/DecreaseStreamRetentionPeriod.hs +0/−136
- gen/Network/AWS/Kinesis/DeleteStream.hs +0/−121
- gen/Network/AWS/Kinesis/DescribeLimits.hs +0/−137
- gen/Network/AWS/Kinesis/DescribeStream.hs +0/−193
- gen/Network/AWS/Kinesis/DescribeStreamSummary.hs +0/−140
- gen/Network/AWS/Kinesis/DisableEnhancedMonitoring.hs +0/−114
- gen/Network/AWS/Kinesis/EnableEnhancedMonitoring.hs +0/−114
- gen/Network/AWS/Kinesis/GetRecords.hs +0/−185
- gen/Network/AWS/Kinesis/GetShardIterator.hs +0/−198
- gen/Network/AWS/Kinesis/IncreaseStreamRetentionPeriod.hs +0/−136
- gen/Network/AWS/Kinesis/ListShards.hs +0/−190
- gen/Network/AWS/Kinesis/ListStreams.hs +0/−182
- gen/Network/AWS/Kinesis/ListTagsForStream.hs +0/−177
- gen/Network/AWS/Kinesis/MergeShards.hs +0/−152
- gen/Network/AWS/Kinesis/PutRecord.hs +0/−226
- gen/Network/AWS/Kinesis/PutRecords.hs +0/−196
- gen/Network/AWS/Kinesis/RemoveTagsFromStream.hs +0/−130
- gen/Network/AWS/Kinesis/SplitShard.hs +0/−156
- gen/Network/AWS/Kinesis/StartStreamEncryption.hs +0/−141
- gen/Network/AWS/Kinesis/StopStreamEncryption.hs +0/−141
- gen/Network/AWS/Kinesis/Types.hs +0/−280
- gen/Network/AWS/Kinesis/Types/Product.hs +0/−764
- gen/Network/AWS/Kinesis/Types/Sum.hs +0/−191
- gen/Network/AWS/Kinesis/UpdateShardCount.hs +0/−201
- gen/Network/AWS/Kinesis/Waiters.hs +0/−50
- test/Main.hs +11/−9
- test/Test/AWS/Gen/Kinesis.hs +0/−453
- test/Test/AWS/Kinesis.hs +0/−26
- test/Test/AWS/Kinesis/Internal.hs +0/−16
- test/Test/Amazonka/Gen/Kinesis.hs +610/−0
- test/Test/Amazonka/Kinesis.hs +20/−0
- test/Test/Amazonka/Kinesis/Internal.hs +8/−0
README.md view
@@ -7,9 +7,8 @@ ## Version--`1.6.1`-+ +`2.0` - Derived from API version @2013-12-02@ of the AWS service descriptions, licensed under Apache 2.0. ## Description @@ -26,7 +25,7 @@ The provided lenses should be compatible with any of the major lens libraries [lens](http://hackage.haskell.org/package/lens) or [lens-family-core](http://hackage.haskell.org/package/lens-family-core). -See [Network.AWS.Kinesis](http://hackage.haskell.org/package/amazonka-kinesis/docs/Network-AWS-Kinesis.html)+See [Amazonka.Kinesis](http://hackage.haskell.org/package/amazonka-kinesis/docs/Amazonka-Kinesis.html) or [the AWS documentation](https://aws.amazon.com/documentation/) to get started.
− Setup.hs
@@ -1,2 +0,0 @@-import Distribution.Simple-main = defaultMain
amazonka-kinesis.cabal view
@@ -1,108 +1,139 @@-name: amazonka-kinesis-version: 1.6.1-synopsis: Amazon Kinesis SDK.-homepage: https://github.com/brendanhay/amazonka-bug-reports: https://github.com/brendanhay/amazonka/issues-license: MPL-2.0-license-file: LICENSE-author: Brendan Hay-maintainer: Brendan Hay <brendan.g.hay+amazonka@gmail.com>-copyright: Copyright (c) 2013-2018 Brendan Hay-category: Network, AWS, Cloud, Distributed Computing-build-type: Simple-cabal-version: >= 1.10-extra-source-files: README.md fixture/*.yaml fixture/*.proto src/.gitkeep+cabal-version: 2.2+name: amazonka-kinesis+version: 2.0+synopsis: Amazon Kinesis SDK.+homepage: https://github.com/brendanhay/amazonka+bug-reports: https://github.com/brendanhay/amazonka/issues+license: MPL-2.0+license-file: LICENSE+author: Brendan Hay+maintainer:+ Brendan Hay <brendan.g.hay+amazonka@gmail.com>, Jack Kelly <jack@jackkelly.name>++copyright: Copyright (c) 2013-2023 Brendan Hay+category: AWS+build-type: Simple+extra-source-files:+ fixture/*.proto+ fixture/*.yaml+ README.md+ src/.gitkeep+ description:- The types from this library are intended to be used with- <http://hackage.haskell.org/package/amazonka amazonka>, which provides- mechanisms for specifying AuthN/AuthZ information, sending requests,- and receiving responses.- .- Lenses are used for constructing and manipulating types,- due to the depth of nesting of AWS types and transparency regarding- de/serialisation into more palatable Haskell values.- The provided lenses should be compatible with any of the major lens libraries- such as <http://hackage.haskell.org/package/lens lens> or- <http://hackage.haskell.org/package/lens-family-core lens-family-core>.- .- See "Network.AWS.Kinesis" or <https://aws.amazon.com/documentation/ the AWS documentation>- to get started.+ Derived from API version @2013-12-02@ of the AWS service descriptions, licensed under Apache 2.0.+ .+ The types from this library are intended to be used with <http://hackage.haskell.org/package/amazonka amazonka>,+ which provides mechanisms for specifying AuthN/AuthZ information, sending requests, and receiving responses.+ .+ It is recommended to use generic lenses or optics from packages such as <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify optional fields and deconstruct responses.+ .+ Generated lenses can be found in "Amazonka.Kinesis.Lens" and are+ suitable for use with a lens package such as <http://hackage.haskell.org/package/lens lens> or <http://hackage.haskell.org/package/lens-family-core lens-family-core>.+ .+ See "Amazonka.Kinesis" and the <https://aws.amazon.com/documentation/ AWS documentation> to get started. source-repository head- type: git- location: git://github.com/brendanhay/amazonka.git- subdir: amazonka-kinesis+ type: git+ location: git://github.com/brendanhay/amazonka.git+ subdir: amazonka-kinesis library- default-language: Haskell2010- hs-source-dirs: src gen-- ghc-options:- -Wall- -fwarn-incomplete-uni-patterns- -fwarn-incomplete-record-updates- -funbox-strict-fields-- exposed-modules:- Network.AWS.Kinesis- , Network.AWS.Kinesis.AddTagsToStream- , Network.AWS.Kinesis.CreateStream- , Network.AWS.Kinesis.DecreaseStreamRetentionPeriod- , Network.AWS.Kinesis.DeleteStream- , Network.AWS.Kinesis.DescribeLimits- , Network.AWS.Kinesis.DescribeStream- , Network.AWS.Kinesis.DescribeStreamSummary- , Network.AWS.Kinesis.DisableEnhancedMonitoring- , Network.AWS.Kinesis.EnableEnhancedMonitoring- , Network.AWS.Kinesis.GetRecords- , Network.AWS.Kinesis.GetShardIterator- , Network.AWS.Kinesis.IncreaseStreamRetentionPeriod- , Network.AWS.Kinesis.ListShards- , Network.AWS.Kinesis.ListStreams- , Network.AWS.Kinesis.ListTagsForStream- , Network.AWS.Kinesis.MergeShards- , Network.AWS.Kinesis.PutRecord- , Network.AWS.Kinesis.PutRecords- , Network.AWS.Kinesis.RemoveTagsFromStream- , Network.AWS.Kinesis.SplitShard- , Network.AWS.Kinesis.StartStreamEncryption- , Network.AWS.Kinesis.StopStreamEncryption- , Network.AWS.Kinesis.Types- , Network.AWS.Kinesis.UpdateShardCount- , Network.AWS.Kinesis.Waiters+ default-language: Haskell2010+ hs-source-dirs: src gen+ ghc-options:+ -Wall -fwarn-incomplete-uni-patterns+ -fwarn-incomplete-record-updates -funbox-strict-fields - other-modules:- Network.AWS.Kinesis.Types.Product- , Network.AWS.Kinesis.Types.Sum+ exposed-modules:+ Amazonka.Kinesis+ Amazonka.Kinesis.AddTagsToStream+ Amazonka.Kinesis.CreateStream+ Amazonka.Kinesis.DecreaseStreamRetentionPeriod+ Amazonka.Kinesis.DeleteStream+ Amazonka.Kinesis.DeregisterStreamConsumer+ Amazonka.Kinesis.DescribeLimits+ Amazonka.Kinesis.DescribeStream+ Amazonka.Kinesis.DescribeStreamConsumer+ Amazonka.Kinesis.DescribeStreamSummary+ Amazonka.Kinesis.DisableEnhancedMonitoring+ Amazonka.Kinesis.EnableEnhancedMonitoring+ Amazonka.Kinesis.GetRecords+ Amazonka.Kinesis.GetShardIterator+ Amazonka.Kinesis.IncreaseStreamRetentionPeriod+ Amazonka.Kinesis.Lens+ Amazonka.Kinesis.ListShards+ Amazonka.Kinesis.ListStreamConsumers+ Amazonka.Kinesis.ListStreams+ Amazonka.Kinesis.ListTagsForStream+ Amazonka.Kinesis.MergeShards+ Amazonka.Kinesis.PutRecord+ Amazonka.Kinesis.PutRecords+ Amazonka.Kinesis.RegisterStreamConsumer+ Amazonka.Kinesis.RemoveTagsFromStream+ Amazonka.Kinesis.SplitShard+ Amazonka.Kinesis.StartStreamEncryption+ Amazonka.Kinesis.StopStreamEncryption+ Amazonka.Kinesis.SubscribeToShard+ Amazonka.Kinesis.Types+ Amazonka.Kinesis.Types.ChildShard+ Amazonka.Kinesis.Types.Consumer+ Amazonka.Kinesis.Types.ConsumerDescription+ Amazonka.Kinesis.Types.ConsumerStatus+ Amazonka.Kinesis.Types.EncryptionType+ Amazonka.Kinesis.Types.EnhancedMetrics+ Amazonka.Kinesis.Types.EnhancedMonitoringOutput+ Amazonka.Kinesis.Types.HashKeyRange+ Amazonka.Kinesis.Types.MetricsName+ Amazonka.Kinesis.Types.PutRecordsRequestEntry+ Amazonka.Kinesis.Types.PutRecordsResultEntry+ Amazonka.Kinesis.Types.Record+ Amazonka.Kinesis.Types.ScalingType+ Amazonka.Kinesis.Types.SequenceNumberRange+ Amazonka.Kinesis.Types.Shard+ Amazonka.Kinesis.Types.ShardFilter+ Amazonka.Kinesis.Types.ShardFilterType+ Amazonka.Kinesis.Types.ShardIteratorType+ Amazonka.Kinesis.Types.StartingPosition+ Amazonka.Kinesis.Types.StreamDescription+ Amazonka.Kinesis.Types.StreamDescriptionSummary+ Amazonka.Kinesis.Types.StreamMode+ Amazonka.Kinesis.Types.StreamModeDetails+ Amazonka.Kinesis.Types.StreamStatus+ Amazonka.Kinesis.Types.StreamSummary+ Amazonka.Kinesis.Types.SubscribeToShardEvent+ Amazonka.Kinesis.Types.Tag+ Amazonka.Kinesis.UpdateShardCount+ Amazonka.Kinesis.UpdateStreamMode+ Amazonka.Kinesis.Waiters - build-depends:- amazonka-core == 1.6.1.*- , base >= 4.7 && < 5+ build-depends:+ , amazonka-core >=2.0 && <2.1+ , base >=4.12 && <5 test-suite amazonka-kinesis-test- type: exitcode-stdio-1.0- default-language: Haskell2010- hs-source-dirs: test- main-is: Main.hs-- ghc-options: -Wall -threaded+ type: exitcode-stdio-1.0+ default-language: Haskell2010+ hs-source-dirs: test+ main-is: Main.hs+ ghc-options: -Wall -threaded - -- This section is encoded by the template and any modules added by- -- hand outside these namespaces will not correctly be added to the- -- distribution package.- other-modules:- Test.AWS.Kinesis- , Test.AWS.Gen.Kinesis- , Test.AWS.Kinesis.Internal+ -- This section is encoded by the template and any modules added by+ -- hand outside these namespaces will not correctly be added to the+ -- distribution package.+ other-modules:+ Test.Amazonka.Gen.Kinesis+ Test.Amazonka.Kinesis+ Test.Amazonka.Kinesis.Internal - build-depends:- amazonka-core == 1.6.1.*- , amazonka-test == 1.6.1.*- , amazonka-kinesis- , base- , bytestring- , tasty- , tasty-hunit- , text- , time- , unordered-containers+ build-depends:+ , amazonka-core >=2.0 && <2.1+ , amazonka-kinesis+ , amazonka-test >=2.0 && <2.1+ , base+ , bytestring+ , case-insensitive+ , tasty+ , tasty-hunit+ , text+ , time+ , unordered-containers
fixture/AddTagsToStream.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/kinesis/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: kinesis.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/CreateStream.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/kinesis/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: kinesis.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/DecreaseStreamRetentionPeriod.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/kinesis/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: kinesis.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/DeleteStream.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/kinesis/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: kinesis.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeregisterStreamConsumer.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/kinesis/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: kinesis.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeregisterStreamConsumerResponse.proto view
fixture/DescribeLimits.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/kinesis/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: kinesis.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/DescribeStream.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/kinesis/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: kinesis.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DescribeStreamConsumer.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/kinesis/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: kinesis.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DescribeStreamConsumerResponse.proto view
fixture/DisableEnhancedMonitoring.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/kinesis/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: kinesis.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/EnableEnhancedMonitoring.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/kinesis/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: kinesis.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/GetRecords.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/kinesis/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: kinesis.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/GetShardIterator.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/kinesis/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: kinesis.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/IncreaseStreamRetentionPeriod.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/kinesis/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: kinesis.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListStreamConsumers.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/kinesis/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: kinesis.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListStreamConsumersResponse.proto view
fixture/ListStreams.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/kinesis/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: kinesis.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/ListTagsForStream.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/kinesis/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: kinesis.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/MergeShards.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/kinesis/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: kinesis.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/PutRecord.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/kinesis/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: kinesis.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/PutRecords.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/kinesis/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: kinesis.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/RegisterStreamConsumer.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/kinesis/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: kinesis.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/RegisterStreamConsumerResponse.proto view
fixture/RemoveTagsFromStream.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/kinesis/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: kinesis.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/SplitShard.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/kinesis/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: kinesis.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/SubscribeToShard.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/kinesis/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: kinesis.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/SubscribeToShardResponse.proto view
fixture/UpdateShardCount.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/kinesis/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: kinesis.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UpdateStreamMode.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/kinesis/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: kinesis.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UpdateStreamModeResponse.proto view
+ gen/Amazonka/Kinesis.hs view
@@ -0,0 +1,421 @@+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- |+-- Module : Amazonka.Kinesis+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Derived from API version @2013-12-02@ of the AWS service descriptions, licensed under Apache 2.0.+--+-- 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.+module Amazonka.Kinesis+ ( -- * Service Configuration+ defaultService,++ -- * Errors+ -- $errors++ -- ** AccessDeniedException+ _AccessDeniedException,++ -- ** ExpiredIteratorException+ _ExpiredIteratorException,++ -- ** ExpiredNextTokenException+ _ExpiredNextTokenException,++ -- ** InternalFailureException+ _InternalFailureException,++ -- ** InvalidArgumentException+ _InvalidArgumentException,++ -- ** KMSAccessDeniedException+ _KMSAccessDeniedException,++ -- ** KMSDisabledException+ _KMSDisabledException,++ -- ** KMSInvalidStateException+ _KMSInvalidStateException,++ -- ** KMSNotFoundException+ _KMSNotFoundException,++ -- ** KMSOptInRequired+ _KMSOptInRequired,++ -- ** KMSThrottlingException+ _KMSThrottlingException,++ -- ** LimitExceededException+ _LimitExceededException,++ -- ** ProvisionedThroughputExceededException+ _ProvisionedThroughputExceededException,++ -- ** ResourceInUseException+ _ResourceInUseException,++ -- ** ResourceNotFoundException+ _ResourceNotFoundException,++ -- ** ValidationException+ _ValidationException,++ -- * Waiters+ -- $waiters++ -- ** StreamExists+ newStreamExists,++ -- ** StreamNotExists+ newStreamNotExists,++ -- * Operations+ -- $operations++ -- ** AddTagsToStream+ AddTagsToStream (AddTagsToStream'),+ newAddTagsToStream,+ AddTagsToStreamResponse (AddTagsToStreamResponse'),+ newAddTagsToStreamResponse,++ -- ** CreateStream+ CreateStream (CreateStream'),+ newCreateStream,+ CreateStreamResponse (CreateStreamResponse'),+ newCreateStreamResponse,++ -- ** DecreaseStreamRetentionPeriod+ DecreaseStreamRetentionPeriod (DecreaseStreamRetentionPeriod'),+ newDecreaseStreamRetentionPeriod,+ DecreaseStreamRetentionPeriodResponse (DecreaseStreamRetentionPeriodResponse'),+ newDecreaseStreamRetentionPeriodResponse,++ -- ** DeleteStream+ DeleteStream (DeleteStream'),+ newDeleteStream,+ DeleteStreamResponse (DeleteStreamResponse'),+ newDeleteStreamResponse,++ -- ** DeregisterStreamConsumer+ DeregisterStreamConsumer (DeregisterStreamConsumer'),+ newDeregisterStreamConsumer,+ DeregisterStreamConsumerResponse (DeregisterStreamConsumerResponse'),+ newDeregisterStreamConsumerResponse,++ -- ** DescribeLimits+ DescribeLimits (DescribeLimits'),+ newDescribeLimits,+ DescribeLimitsResponse (DescribeLimitsResponse'),+ newDescribeLimitsResponse,++ -- ** DescribeStream (Paginated)+ DescribeStream (DescribeStream'),+ newDescribeStream,+ DescribeStreamResponse (DescribeStreamResponse'),+ newDescribeStreamResponse,++ -- ** DescribeStreamConsumer+ DescribeStreamConsumer (DescribeStreamConsumer'),+ newDescribeStreamConsumer,+ DescribeStreamConsumerResponse (DescribeStreamConsumerResponse'),+ newDescribeStreamConsumerResponse,++ -- ** DescribeStreamSummary+ DescribeStreamSummary (DescribeStreamSummary'),+ newDescribeStreamSummary,+ DescribeStreamSummaryResponse (DescribeStreamSummaryResponse'),+ newDescribeStreamSummaryResponse,++ -- ** DisableEnhancedMonitoring+ DisableEnhancedMonitoring (DisableEnhancedMonitoring'),+ newDisableEnhancedMonitoring,+ EnhancedMonitoringOutput (EnhancedMonitoringOutput'),+ newEnhancedMonitoringOutput,++ -- ** EnableEnhancedMonitoring+ EnableEnhancedMonitoring (EnableEnhancedMonitoring'),+ newEnableEnhancedMonitoring,+ EnhancedMonitoringOutput (EnhancedMonitoringOutput'),+ newEnhancedMonitoringOutput,++ -- ** GetRecords+ GetRecords (GetRecords'),+ newGetRecords,+ GetRecordsResponse (GetRecordsResponse'),+ newGetRecordsResponse,++ -- ** GetShardIterator+ GetShardIterator (GetShardIterator'),+ newGetShardIterator,+ GetShardIteratorResponse (GetShardIteratorResponse'),+ newGetShardIteratorResponse,++ -- ** IncreaseStreamRetentionPeriod+ IncreaseStreamRetentionPeriod (IncreaseStreamRetentionPeriod'),+ newIncreaseStreamRetentionPeriod,+ IncreaseStreamRetentionPeriodResponse (IncreaseStreamRetentionPeriodResponse'),+ newIncreaseStreamRetentionPeriodResponse,++ -- ** ListShards (Paginated)+ ListShards (ListShards'),+ newListShards,+ ListShardsResponse (ListShardsResponse'),+ newListShardsResponse,++ -- ** ListStreamConsumers (Paginated)+ ListStreamConsumers (ListStreamConsumers'),+ newListStreamConsumers,+ ListStreamConsumersResponse (ListStreamConsumersResponse'),+ newListStreamConsumersResponse,++ -- ** ListStreams (Paginated)+ ListStreams (ListStreams'),+ newListStreams,+ ListStreamsResponse (ListStreamsResponse'),+ newListStreamsResponse,++ -- ** ListTagsForStream+ ListTagsForStream (ListTagsForStream'),+ newListTagsForStream,+ ListTagsForStreamResponse (ListTagsForStreamResponse'),+ newListTagsForStreamResponse,++ -- ** MergeShards+ MergeShards (MergeShards'),+ newMergeShards,+ MergeShardsResponse (MergeShardsResponse'),+ newMergeShardsResponse,++ -- ** PutRecord+ PutRecord (PutRecord'),+ newPutRecord,+ PutRecordResponse (PutRecordResponse'),+ newPutRecordResponse,++ -- ** PutRecords+ PutRecords (PutRecords'),+ newPutRecords,+ PutRecordsResponse (PutRecordsResponse'),+ newPutRecordsResponse,++ -- ** RegisterStreamConsumer+ RegisterStreamConsumer (RegisterStreamConsumer'),+ newRegisterStreamConsumer,+ RegisterStreamConsumerResponse (RegisterStreamConsumerResponse'),+ newRegisterStreamConsumerResponse,++ -- ** RemoveTagsFromStream+ RemoveTagsFromStream (RemoveTagsFromStream'),+ newRemoveTagsFromStream,+ RemoveTagsFromStreamResponse (RemoveTagsFromStreamResponse'),+ newRemoveTagsFromStreamResponse,++ -- ** SplitShard+ SplitShard (SplitShard'),+ newSplitShard,+ SplitShardResponse (SplitShardResponse'),+ newSplitShardResponse,++ -- ** StartStreamEncryption+ StartStreamEncryption (StartStreamEncryption'),+ newStartStreamEncryption,+ StartStreamEncryptionResponse (StartStreamEncryptionResponse'),+ newStartStreamEncryptionResponse,++ -- ** StopStreamEncryption+ StopStreamEncryption (StopStreamEncryption'),+ newStopStreamEncryption,+ StopStreamEncryptionResponse (StopStreamEncryptionResponse'),+ newStopStreamEncryptionResponse,++ -- ** SubscribeToShard+ SubscribeToShard (SubscribeToShard'),+ newSubscribeToShard,+ SubscribeToShardResponse (SubscribeToShardResponse'),+ newSubscribeToShardResponse,++ -- ** UpdateShardCount+ UpdateShardCount (UpdateShardCount'),+ newUpdateShardCount,+ UpdateShardCountResponse (UpdateShardCountResponse'),+ newUpdateShardCountResponse,++ -- ** UpdateStreamMode+ UpdateStreamMode (UpdateStreamMode'),+ newUpdateStreamMode,+ UpdateStreamModeResponse (UpdateStreamModeResponse'),+ newUpdateStreamModeResponse,++ -- * Types++ -- ** ConsumerStatus+ ConsumerStatus (..),++ -- ** EncryptionType+ EncryptionType (..),++ -- ** MetricsName+ MetricsName (..),++ -- ** ScalingType+ ScalingType (..),++ -- ** ShardFilterType+ ShardFilterType (..),++ -- ** ShardIteratorType+ ShardIteratorType (..),++ -- ** StreamMode+ StreamMode (..),++ -- ** StreamStatus+ StreamStatus (..),++ -- ** ChildShard+ ChildShard (ChildShard'),+ newChildShard,++ -- ** Consumer+ Consumer (Consumer'),+ newConsumer,++ -- ** ConsumerDescription+ ConsumerDescription (ConsumerDescription'),+ newConsumerDescription,++ -- ** EnhancedMetrics+ EnhancedMetrics (EnhancedMetrics'),+ newEnhancedMetrics,++ -- ** EnhancedMonitoringOutput+ EnhancedMonitoringOutput (EnhancedMonitoringOutput'),+ newEnhancedMonitoringOutput,++ -- ** HashKeyRange+ HashKeyRange (HashKeyRange'),+ newHashKeyRange,++ -- ** PutRecordsRequestEntry+ PutRecordsRequestEntry (PutRecordsRequestEntry'),+ newPutRecordsRequestEntry,++ -- ** PutRecordsResultEntry+ PutRecordsResultEntry (PutRecordsResultEntry'),+ newPutRecordsResultEntry,++ -- ** Record+ Record (Record'),+ newRecord,++ -- ** SequenceNumberRange+ SequenceNumberRange (SequenceNumberRange'),+ newSequenceNumberRange,++ -- ** Shard+ Shard (Shard'),+ newShard,++ -- ** ShardFilter+ ShardFilter (ShardFilter'),+ newShardFilter,++ -- ** StartingPosition+ StartingPosition (StartingPosition'),+ newStartingPosition,++ -- ** StreamDescription+ StreamDescription (StreamDescription'),+ newStreamDescription,++ -- ** StreamDescriptionSummary+ StreamDescriptionSummary (StreamDescriptionSummary'),+ newStreamDescriptionSummary,++ -- ** StreamModeDetails+ StreamModeDetails (StreamModeDetails'),+ newStreamModeDetails,++ -- ** StreamSummary+ StreamSummary (StreamSummary'),+ newStreamSummary,++ -- ** SubscribeToShardEvent+ SubscribeToShardEvent (SubscribeToShardEvent'),+ newSubscribeToShardEvent,++ -- ** Tag+ Tag (Tag'),+ newTag,+ )+where++import Amazonka.Kinesis.AddTagsToStream+import Amazonka.Kinesis.CreateStream+import Amazonka.Kinesis.DecreaseStreamRetentionPeriod+import Amazonka.Kinesis.DeleteStream+import Amazonka.Kinesis.DeregisterStreamConsumer+import Amazonka.Kinesis.DescribeLimits+import Amazonka.Kinesis.DescribeStream+import Amazonka.Kinesis.DescribeStreamConsumer+import Amazonka.Kinesis.DescribeStreamSummary+import Amazonka.Kinesis.DisableEnhancedMonitoring+import Amazonka.Kinesis.EnableEnhancedMonitoring+import Amazonka.Kinesis.GetRecords+import Amazonka.Kinesis.GetShardIterator+import Amazonka.Kinesis.IncreaseStreamRetentionPeriod+import Amazonka.Kinesis.Lens+import Amazonka.Kinesis.ListShards+import Amazonka.Kinesis.ListStreamConsumers+import Amazonka.Kinesis.ListStreams+import Amazonka.Kinesis.ListTagsForStream+import Amazonka.Kinesis.MergeShards+import Amazonka.Kinesis.PutRecord+import Amazonka.Kinesis.PutRecords+import Amazonka.Kinesis.RegisterStreamConsumer+import Amazonka.Kinesis.RemoveTagsFromStream+import Amazonka.Kinesis.SplitShard+import Amazonka.Kinesis.StartStreamEncryption+import Amazonka.Kinesis.StopStreamEncryption+import Amazonka.Kinesis.SubscribeToShard+import Amazonka.Kinesis.Types+import Amazonka.Kinesis.UpdateShardCount+import Amazonka.Kinesis.UpdateStreamMode+import Amazonka.Kinesis.Waiters++-- $errors+-- Error matchers are designed for use with the functions provided by+-- <http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.+-- This allows catching (and rethrowing) service specific errors returned+-- by 'Kinesis'.++-- $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.++-- $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.
+ gen/Amazonka/Kinesis/AddTagsToStream.hs view
@@ -0,0 +1,172 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.AddTagsToStream+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Adds or updates tags for the specified Kinesis data stream. You can+-- assign up to 50 tags to a data stream.+--+-- When invoking this API, it is recommended you use the @StreamARN@ input+-- parameter rather than the @StreamName@ input parameter.+--+-- If tags have already been assigned to the stream, @AddTagsToStream@+-- overwrites any existing tags that correspond to the specified tag keys.+--+-- AddTagsToStream has a limit of five transactions per second per account.+module Amazonka.Kinesis.AddTagsToStream+ ( -- * Creating a Request+ AddTagsToStream (..),+ newAddTagsToStream,++ -- * Request Lenses+ addTagsToStream_streamARN,+ addTagsToStream_streamName,+ addTagsToStream_tags,++ -- * Destructuring the Response+ AddTagsToStreamResponse (..),+ newAddTagsToStreamResponse,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Represents the input for @AddTagsToStream@.+--+-- /See:/ 'newAddTagsToStream' smart constructor.+data AddTagsToStream = AddTagsToStream'+ { -- | The ARN of the stream.+ streamARN :: Prelude.Maybe Prelude.Text,+ -- | The name of the stream.+ streamName :: Prelude.Maybe Prelude.Text,+ -- | A set of up to 10 key-value pairs to use to create the tags.+ tags :: Prelude.HashMap Prelude.Text Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AddTagsToStream' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'streamARN', 'addTagsToStream_streamARN' - The ARN of the stream.+--+-- 'streamName', 'addTagsToStream_streamName' - The name of the stream.+--+-- 'tags', 'addTagsToStream_tags' - A set of up to 10 key-value pairs to use to create the tags.+newAddTagsToStream ::+ AddTagsToStream+newAddTagsToStream =+ AddTagsToStream'+ { streamARN = Prelude.Nothing,+ streamName = Prelude.Nothing,+ tags = Prelude.mempty+ }++-- | The ARN of the stream.+addTagsToStream_streamARN :: Lens.Lens' AddTagsToStream (Prelude.Maybe Prelude.Text)+addTagsToStream_streamARN = Lens.lens (\AddTagsToStream' {streamARN} -> streamARN) (\s@AddTagsToStream' {} a -> s {streamARN = a} :: AddTagsToStream)++-- | The name of the stream.+addTagsToStream_streamName :: Lens.Lens' AddTagsToStream (Prelude.Maybe Prelude.Text)+addTagsToStream_streamName = Lens.lens (\AddTagsToStream' {streamName} -> streamName) (\s@AddTagsToStream' {} a -> s {streamName = a} :: AddTagsToStream)++-- | A set of up to 10 key-value pairs to use to create the tags.+addTagsToStream_tags :: Lens.Lens' AddTagsToStream (Prelude.HashMap Prelude.Text Prelude.Text)+addTagsToStream_tags = Lens.lens (\AddTagsToStream' {tags} -> tags) (\s@AddTagsToStream' {} a -> s {tags = a} :: AddTagsToStream) Prelude.. Lens.coerced++instance Core.AWSRequest AddTagsToStream where+ type+ AWSResponse AddTagsToStream =+ AddTagsToStreamResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveNull AddTagsToStreamResponse'++instance Prelude.Hashable AddTagsToStream where+ hashWithSalt _salt AddTagsToStream' {..} =+ _salt+ `Prelude.hashWithSalt` streamARN+ `Prelude.hashWithSalt` streamName+ `Prelude.hashWithSalt` tags++instance Prelude.NFData AddTagsToStream where+ rnf AddTagsToStream' {..} =+ Prelude.rnf streamARN+ `Prelude.seq` Prelude.rnf streamName+ `Prelude.seq` Prelude.rnf tags++instance Data.ToHeaders AddTagsToStream where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "Kinesis_20131202.AddTagsToStream" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON AddTagsToStream where+ toJSON AddTagsToStream' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("StreamARN" Data..=) Prelude.<$> streamARN,+ ("StreamName" Data..=) Prelude.<$> streamName,+ Prelude.Just ("Tags" Data..= tags)+ ]+ )++instance Data.ToPath AddTagsToStream where+ toPath = Prelude.const "/"++instance Data.ToQuery AddTagsToStream where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newAddTagsToStreamResponse' smart constructor.+data AddTagsToStreamResponse = AddTagsToStreamResponse'+ {+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AddTagsToStreamResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newAddTagsToStreamResponse ::+ AddTagsToStreamResponse+newAddTagsToStreamResponse = AddTagsToStreamResponse'++instance Prelude.NFData AddTagsToStreamResponse where+ rnf _ = ()
+ gen/Amazonka/Kinesis/CreateStream.hs view
@@ -0,0 +1,238 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.CreateStream+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a Kinesis data stream. A stream captures and transports data+-- records that are continuously emitted from different data sources or+-- /producers/. Scale-out within a stream is explicitly supported by means+-- of shards, which are uniquely identified groups of data records in a+-- stream.+--+-- You can create your data stream using either on-demand or provisioned+-- capacity mode. Data streams with an on-demand mode require no capacity+-- planning and automatically scale to handle gigabytes of write and read+-- throughput per minute. With the on-demand mode, Kinesis Data Streams+-- automatically manages the shards in order to provide the necessary+-- throughput. For the data streams with a provisioned mode, you must+-- specify the number of shards for the data stream. Each shard can support+-- reads up to five transactions per second, up to a maximum data read+-- total of 2 MiB per second. Each shard can support writes up to 1,000+-- records per second, up to a maximum data write total of 1 MiB per+-- second. If the amount of data input increases or decreases, you can add+-- or remove shards.+--+-- The stream name identifies the stream. The name is scoped to the Amazon+-- Web Services account used by the application. It is also scoped by+-- Amazon Web Services Region. That is, two streams in two different+-- accounts can have the same name, and two streams in the same account,+-- but in two different Regions, can have the same name.+--+-- @CreateStream@ is an asynchronous operation. Upon receiving a+-- @CreateStream@ request, Kinesis Data Streams immediately returns and+-- sets the stream status to @CREATING@. After the stream is created,+-- Kinesis Data Streams sets the stream status to @ACTIVE@. You should+-- perform read and write operations only on an @ACTIVE@ stream.+--+-- You receive a @LimitExceededException@ when making a @CreateStream@+-- request when you try to do one of the following:+--+-- - Have more than five streams in the @CREATING@ state at any point in+-- time.+--+-- - Create more shards than are authorized for your account.+--+-- For the default shard limit for an Amazon Web Services account, see+-- <https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html Amazon Kinesis Data Streams Limits>+-- in the /Amazon Kinesis Data Streams Developer Guide/. To increase this+-- limit,+-- <https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html contact Amazon Web Services Support>.+--+-- You can use DescribeStreamSummary to check the stream status, which is+-- returned in @StreamStatus@.+--+-- CreateStream has a limit of five transactions per second per account.+module Amazonka.Kinesis.CreateStream+ ( -- * Creating a Request+ CreateStream (..),+ newCreateStream,++ -- * Request Lenses+ createStream_shardCount,+ createStream_streamModeDetails,+ createStream_streamName,++ -- * Destructuring the Response+ CreateStreamResponse (..),+ newCreateStreamResponse,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Represents the input for @CreateStream@.+--+-- /See:/ 'newCreateStream' smart constructor.+data CreateStream = CreateStream'+ { -- | The number of shards that the stream will use. The throughput of the+ -- stream is a function of the number of shards; more shards are required+ -- for greater provisioned throughput.+ shardCount :: Prelude.Maybe Prelude.Natural,+ -- | Indicates the capacity mode of the data stream. Currently, in Kinesis+ -- Data Streams, you can choose between an __on-demand__ capacity mode and+ -- a __provisioned__ capacity mode for your data streams.+ streamModeDetails :: Prelude.Maybe StreamModeDetails,+ -- | A name to identify the stream. The stream name is scoped to the Amazon+ -- Web Services account used by the application that creates the stream. It+ -- is also scoped by Amazon Web Services Region. That is, two streams in+ -- two different Amazon Web Services accounts can have the same name. Two+ -- streams in the same Amazon Web Services account but in two different+ -- Regions can also have the same name.+ streamName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateStream' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'shardCount', 'createStream_shardCount' - The number of shards that the stream will use. The throughput of the+-- stream is a function of the number of shards; more shards are required+-- for greater provisioned throughput.+--+-- 'streamModeDetails', 'createStream_streamModeDetails' - Indicates the capacity mode of the data stream. Currently, in Kinesis+-- Data Streams, you can choose between an __on-demand__ capacity mode and+-- a __provisioned__ capacity mode for your data streams.+--+-- 'streamName', 'createStream_streamName' - A name to identify the stream. The stream name is scoped to the Amazon+-- Web Services account used by the application that creates the stream. It+-- is also scoped by Amazon Web Services Region. That is, two streams in+-- two different Amazon Web Services accounts can have the same name. Two+-- streams in the same Amazon Web Services account but in two different+-- Regions can also have the same name.+newCreateStream ::+ -- | 'streamName'+ Prelude.Text ->+ CreateStream+newCreateStream pStreamName_ =+ CreateStream'+ { shardCount = Prelude.Nothing,+ streamModeDetails = Prelude.Nothing,+ streamName = pStreamName_+ }++-- | The number of shards that the stream will use. The throughput of the+-- stream is a function of the number of shards; more shards are required+-- for greater provisioned throughput.+createStream_shardCount :: Lens.Lens' CreateStream (Prelude.Maybe Prelude.Natural)+createStream_shardCount = Lens.lens (\CreateStream' {shardCount} -> shardCount) (\s@CreateStream' {} a -> s {shardCount = a} :: CreateStream)++-- | Indicates the capacity mode of the data stream. Currently, in Kinesis+-- Data Streams, you can choose between an __on-demand__ capacity mode and+-- a __provisioned__ capacity mode for your data streams.+createStream_streamModeDetails :: Lens.Lens' CreateStream (Prelude.Maybe StreamModeDetails)+createStream_streamModeDetails = Lens.lens (\CreateStream' {streamModeDetails} -> streamModeDetails) (\s@CreateStream' {} a -> s {streamModeDetails = a} :: CreateStream)++-- | A name to identify the stream. The stream name is scoped to the Amazon+-- Web Services account used by the application that creates the stream. It+-- is also scoped by Amazon Web Services Region. That is, two streams in+-- two different Amazon Web Services accounts can have the same name. Two+-- streams in the same Amazon Web Services account but in two different+-- Regions can also have the same name.+createStream_streamName :: Lens.Lens' CreateStream Prelude.Text+createStream_streamName = Lens.lens (\CreateStream' {streamName} -> streamName) (\s@CreateStream' {} a -> s {streamName = a} :: CreateStream)++instance Core.AWSRequest CreateStream where+ type AWSResponse CreateStream = CreateStreamResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response = Response.receiveNull CreateStreamResponse'++instance Prelude.Hashable CreateStream where+ hashWithSalt _salt CreateStream' {..} =+ _salt+ `Prelude.hashWithSalt` shardCount+ `Prelude.hashWithSalt` streamModeDetails+ `Prelude.hashWithSalt` streamName++instance Prelude.NFData CreateStream where+ rnf CreateStream' {..} =+ Prelude.rnf shardCount+ `Prelude.seq` Prelude.rnf streamModeDetails+ `Prelude.seq` Prelude.rnf streamName++instance Data.ToHeaders CreateStream where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "Kinesis_20131202.CreateStream" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateStream where+ toJSON CreateStream' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ShardCount" Data..=) Prelude.<$> shardCount,+ ("StreamModeDetails" Data..=)+ Prelude.<$> streamModeDetails,+ Prelude.Just ("StreamName" Data..= streamName)+ ]+ )++instance Data.ToPath CreateStream where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateStream where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateStreamResponse' smart constructor.+data CreateStreamResponse = CreateStreamResponse'+ {+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateStreamResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newCreateStreamResponse ::+ CreateStreamResponse+newCreateStreamResponse = CreateStreamResponse'++instance Prelude.NFData CreateStreamResponse where+ rnf _ = ()
+ gen/Amazonka/Kinesis/DecreaseStreamRetentionPeriod.hs view
@@ -0,0 +1,194 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.DecreaseStreamRetentionPeriod+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Decreases the Kinesis data stream\'s retention period, which is the+-- length of time data records are accessible after they are added to the+-- stream. The minimum value of a stream\'s retention period is 24 hours.+--+-- When invoking this API, it is recommended you use the @StreamARN@ input+-- parameter rather than the @StreamName@ input parameter.+--+-- This operation may result in lost data. For example, if the stream\'s+-- retention period is 48 hours and is decreased to 24 hours, any data+-- already in the stream that is older than 24 hours is inaccessible.+module Amazonka.Kinesis.DecreaseStreamRetentionPeriod+ ( -- * Creating a Request+ DecreaseStreamRetentionPeriod (..),+ newDecreaseStreamRetentionPeriod,++ -- * Request Lenses+ decreaseStreamRetentionPeriod_streamARN,+ decreaseStreamRetentionPeriod_streamName,+ decreaseStreamRetentionPeriod_retentionPeriodHours,++ -- * Destructuring the Response+ DecreaseStreamRetentionPeriodResponse (..),+ newDecreaseStreamRetentionPeriodResponse,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Represents the input for DecreaseStreamRetentionPeriod.+--+-- /See:/ 'newDecreaseStreamRetentionPeriod' smart constructor.+data DecreaseStreamRetentionPeriod = DecreaseStreamRetentionPeriod'+ { -- | The ARN of the stream.+ streamARN :: Prelude.Maybe Prelude.Text,+ -- | The name of the stream to modify.+ streamName :: Prelude.Maybe Prelude.Text,+ -- | The new retention period of the stream, in hours. Must be less than the+ -- current retention period.+ retentionPeriodHours :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DecreaseStreamRetentionPeriod' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'streamARN', 'decreaseStreamRetentionPeriod_streamARN' - The ARN of the stream.+--+-- 'streamName', 'decreaseStreamRetentionPeriod_streamName' - The name of the stream to modify.+--+-- 'retentionPeriodHours', 'decreaseStreamRetentionPeriod_retentionPeriodHours' - The new retention period of the stream, in hours. Must be less than the+-- current retention period.+newDecreaseStreamRetentionPeriod ::+ -- | 'retentionPeriodHours'+ Prelude.Int ->+ DecreaseStreamRetentionPeriod+newDecreaseStreamRetentionPeriod+ pRetentionPeriodHours_ =+ DecreaseStreamRetentionPeriod'+ { streamARN =+ Prelude.Nothing,+ streamName = Prelude.Nothing,+ retentionPeriodHours =+ pRetentionPeriodHours_+ }++-- | The ARN of the stream.+decreaseStreamRetentionPeriod_streamARN :: Lens.Lens' DecreaseStreamRetentionPeriod (Prelude.Maybe Prelude.Text)+decreaseStreamRetentionPeriod_streamARN = Lens.lens (\DecreaseStreamRetentionPeriod' {streamARN} -> streamARN) (\s@DecreaseStreamRetentionPeriod' {} a -> s {streamARN = a} :: DecreaseStreamRetentionPeriod)++-- | The name of the stream to modify.+decreaseStreamRetentionPeriod_streamName :: Lens.Lens' DecreaseStreamRetentionPeriod (Prelude.Maybe Prelude.Text)+decreaseStreamRetentionPeriod_streamName = Lens.lens (\DecreaseStreamRetentionPeriod' {streamName} -> streamName) (\s@DecreaseStreamRetentionPeriod' {} a -> s {streamName = a} :: DecreaseStreamRetentionPeriod)++-- | The new retention period of the stream, in hours. Must be less than the+-- current retention period.+decreaseStreamRetentionPeriod_retentionPeriodHours :: Lens.Lens' DecreaseStreamRetentionPeriod Prelude.Int+decreaseStreamRetentionPeriod_retentionPeriodHours = Lens.lens (\DecreaseStreamRetentionPeriod' {retentionPeriodHours} -> retentionPeriodHours) (\s@DecreaseStreamRetentionPeriod' {} a -> s {retentionPeriodHours = a} :: DecreaseStreamRetentionPeriod)++instance+ Core.AWSRequest+ DecreaseStreamRetentionPeriod+ where+ type+ AWSResponse DecreaseStreamRetentionPeriod =+ DecreaseStreamRetentionPeriodResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveNull+ DecreaseStreamRetentionPeriodResponse'++instance+ Prelude.Hashable+ DecreaseStreamRetentionPeriod+ where+ hashWithSalt _salt DecreaseStreamRetentionPeriod' {..} =+ _salt+ `Prelude.hashWithSalt` streamARN+ `Prelude.hashWithSalt` streamName+ `Prelude.hashWithSalt` retentionPeriodHours++instance Prelude.NFData DecreaseStreamRetentionPeriod where+ rnf DecreaseStreamRetentionPeriod' {..} =+ Prelude.rnf streamARN+ `Prelude.seq` Prelude.rnf streamName+ `Prelude.seq` Prelude.rnf retentionPeriodHours++instance Data.ToHeaders DecreaseStreamRetentionPeriod where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "Kinesis_20131202.DecreaseStreamRetentionPeriod" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DecreaseStreamRetentionPeriod where+ toJSON DecreaseStreamRetentionPeriod' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("StreamARN" Data..=) Prelude.<$> streamARN,+ ("StreamName" Data..=) Prelude.<$> streamName,+ Prelude.Just+ ( "RetentionPeriodHours"+ Data..= retentionPeriodHours+ )+ ]+ )++instance Data.ToPath DecreaseStreamRetentionPeriod where+ toPath = Prelude.const "/"++instance Data.ToQuery DecreaseStreamRetentionPeriod where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDecreaseStreamRetentionPeriodResponse' smart constructor.+data DecreaseStreamRetentionPeriodResponse = DecreaseStreamRetentionPeriodResponse'+ {+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DecreaseStreamRetentionPeriodResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newDecreaseStreamRetentionPeriodResponse ::+ DecreaseStreamRetentionPeriodResponse+newDecreaseStreamRetentionPeriodResponse =+ DecreaseStreamRetentionPeriodResponse'++instance+ Prelude.NFData+ DecreaseStreamRetentionPeriodResponse+ where+ rnf _ = ()
+ gen/Amazonka/Kinesis/DeleteStream.hs view
@@ -0,0 +1,190 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.DeleteStream+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a Kinesis data stream and all its shards and data. You must shut+-- down any applications that are operating on the stream before you delete+-- the stream. If an application attempts to operate on a deleted stream,+-- it receives the exception @ResourceNotFoundException@.+--+-- When invoking this API, it is recommended you use the @StreamARN@ input+-- parameter rather than the @StreamName@ input parameter.+--+-- If the stream is in the @ACTIVE@ state, you can delete it. After a+-- @DeleteStream@ request, the specified stream is in the @DELETING@ state+-- until Kinesis Data Streams completes the deletion.+--+-- __Note:__ Kinesis Data Streams might continue to accept data read and+-- write operations, such as PutRecord, PutRecords, and GetRecords, on a+-- stream in the @DELETING@ state until the stream deletion is complete.+--+-- When you delete a stream, any shards in that stream are also deleted,+-- and any tags are dissociated from the stream.+--+-- You can use the DescribeStreamSummary operation to check the state of+-- the stream, which is returned in @StreamStatus@.+--+-- DeleteStream has a limit of five transactions per second per account.+module Amazonka.Kinesis.DeleteStream+ ( -- * Creating a Request+ DeleteStream (..),+ newDeleteStream,++ -- * Request Lenses+ deleteStream_enforceConsumerDeletion,+ deleteStream_streamARN,+ deleteStream_streamName,++ -- * Destructuring the Response+ DeleteStreamResponse (..),+ newDeleteStreamResponse,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Represents the input for DeleteStream.+--+-- /See:/ 'newDeleteStream' smart constructor.+data DeleteStream = DeleteStream'+ { -- | If this parameter is unset (@null@) or if you set it to @false@, and the+ -- stream has registered consumers, the call to @DeleteStream@ fails with a+ -- @ResourceInUseException@.+ enforceConsumerDeletion :: Prelude.Maybe Prelude.Bool,+ -- | The ARN of the stream.+ streamARN :: Prelude.Maybe Prelude.Text,+ -- | The name of the stream to delete.+ streamName :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteStream' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'enforceConsumerDeletion', 'deleteStream_enforceConsumerDeletion' - If this parameter is unset (@null@) or if you set it to @false@, and the+-- stream has registered consumers, the call to @DeleteStream@ fails with a+-- @ResourceInUseException@.+--+-- 'streamARN', 'deleteStream_streamARN' - The ARN of the stream.+--+-- 'streamName', 'deleteStream_streamName' - The name of the stream to delete.+newDeleteStream ::+ DeleteStream+newDeleteStream =+ DeleteStream'+ { enforceConsumerDeletion =+ Prelude.Nothing,+ streamARN = Prelude.Nothing,+ streamName = Prelude.Nothing+ }++-- | If this parameter is unset (@null@) or if you set it to @false@, and the+-- stream has registered consumers, the call to @DeleteStream@ fails with a+-- @ResourceInUseException@.+deleteStream_enforceConsumerDeletion :: Lens.Lens' DeleteStream (Prelude.Maybe Prelude.Bool)+deleteStream_enforceConsumerDeletion = Lens.lens (\DeleteStream' {enforceConsumerDeletion} -> enforceConsumerDeletion) (\s@DeleteStream' {} a -> s {enforceConsumerDeletion = a} :: DeleteStream)++-- | The ARN of the stream.+deleteStream_streamARN :: Lens.Lens' DeleteStream (Prelude.Maybe Prelude.Text)+deleteStream_streamARN = Lens.lens (\DeleteStream' {streamARN} -> streamARN) (\s@DeleteStream' {} a -> s {streamARN = a} :: DeleteStream)++-- | The name of the stream to delete.+deleteStream_streamName :: Lens.Lens' DeleteStream (Prelude.Maybe Prelude.Text)+deleteStream_streamName = Lens.lens (\DeleteStream' {streamName} -> streamName) (\s@DeleteStream' {} a -> s {streamName = a} :: DeleteStream)++instance Core.AWSRequest DeleteStream where+ type AWSResponse DeleteStream = DeleteStreamResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response = Response.receiveNull DeleteStreamResponse'++instance Prelude.Hashable DeleteStream where+ hashWithSalt _salt DeleteStream' {..} =+ _salt+ `Prelude.hashWithSalt` enforceConsumerDeletion+ `Prelude.hashWithSalt` streamARN+ `Prelude.hashWithSalt` streamName++instance Prelude.NFData DeleteStream where+ rnf DeleteStream' {..} =+ Prelude.rnf enforceConsumerDeletion+ `Prelude.seq` Prelude.rnf streamARN+ `Prelude.seq` Prelude.rnf streamName++instance Data.ToHeaders DeleteStream where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "Kinesis_20131202.DeleteStream" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteStream where+ toJSON DeleteStream' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("EnforceConsumerDeletion" Data..=)+ Prelude.<$> enforceConsumerDeletion,+ ("StreamARN" Data..=) Prelude.<$> streamARN,+ ("StreamName" Data..=) Prelude.<$> streamName+ ]+ )++instance Data.ToPath DeleteStream where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteStream where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteStreamResponse' smart constructor.+data DeleteStreamResponse = DeleteStreamResponse'+ {+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteStreamResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newDeleteStreamResponse ::+ DeleteStreamResponse+newDeleteStreamResponse = DeleteStreamResponse'++instance Prelude.NFData DeleteStreamResponse where+ rnf _ = ()
+ gen/Amazonka/Kinesis/DeregisterStreamConsumer.hs view
@@ -0,0 +1,197 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.DeregisterStreamConsumer+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- To deregister a consumer, provide its ARN. Alternatively, you can+-- provide the ARN of the data stream and the name you gave the consumer+-- when you registered it. You may also provide all three parameters, as+-- long as they don\'t conflict with each other. If you don\'t know the+-- name or ARN of the consumer that you want to deregister, you can use the+-- ListStreamConsumers operation to get a list of the descriptions of all+-- the consumers that are currently registered with a given data stream.+-- The description of a consumer contains its name and ARN.+--+-- This operation has a limit of five transactions per second per stream.+module Amazonka.Kinesis.DeregisterStreamConsumer+ ( -- * Creating a Request+ DeregisterStreamConsumer (..),+ newDeregisterStreamConsumer,++ -- * Request Lenses+ deregisterStreamConsumer_consumerARN,+ deregisterStreamConsumer_consumerName,+ deregisterStreamConsumer_streamARN,++ -- * Destructuring the Response+ DeregisterStreamConsumerResponse (..),+ newDeregisterStreamConsumerResponse,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeregisterStreamConsumer' smart constructor.+data DeregisterStreamConsumer = DeregisterStreamConsumer'+ { -- | The ARN returned by Kinesis Data Streams when you registered the+ -- consumer. If you don\'t know the ARN of the consumer that you want to+ -- deregister, you can use the ListStreamConsumers operation to get a list+ -- of the descriptions of all the consumers that are currently registered+ -- with a given data stream. The description of a consumer contains its+ -- ARN.+ consumerARN :: Prelude.Maybe Prelude.Text,+ -- | The name that you gave to the consumer.+ consumerName :: Prelude.Maybe Prelude.Text,+ -- | The ARN of the Kinesis data stream that the consumer is registered with.+ -- For more information, see+ -- <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kinesis-streams Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces>.+ streamARN :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeregisterStreamConsumer' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'consumerARN', 'deregisterStreamConsumer_consumerARN' - The ARN returned by Kinesis Data Streams when you registered the+-- consumer. If you don\'t know the ARN of the consumer that you want to+-- deregister, you can use the ListStreamConsumers operation to get a list+-- of the descriptions of all the consumers that are currently registered+-- with a given data stream. The description of a consumer contains its+-- ARN.+--+-- 'consumerName', 'deregisterStreamConsumer_consumerName' - The name that you gave to the consumer.+--+-- 'streamARN', 'deregisterStreamConsumer_streamARN' - The ARN of the Kinesis data stream that the consumer is registered with.+-- For more information, see+-- <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kinesis-streams Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces>.+newDeregisterStreamConsumer ::+ DeregisterStreamConsumer+newDeregisterStreamConsumer =+ DeregisterStreamConsumer'+ { consumerARN =+ Prelude.Nothing,+ consumerName = Prelude.Nothing,+ streamARN = Prelude.Nothing+ }++-- | The ARN returned by Kinesis Data Streams when you registered the+-- consumer. If you don\'t know the ARN of the consumer that you want to+-- deregister, you can use the ListStreamConsumers operation to get a list+-- of the descriptions of all the consumers that are currently registered+-- with a given data stream. The description of a consumer contains its+-- ARN.+deregisterStreamConsumer_consumerARN :: Lens.Lens' DeregisterStreamConsumer (Prelude.Maybe Prelude.Text)+deregisterStreamConsumer_consumerARN = Lens.lens (\DeregisterStreamConsumer' {consumerARN} -> consumerARN) (\s@DeregisterStreamConsumer' {} a -> s {consumerARN = a} :: DeregisterStreamConsumer)++-- | The name that you gave to the consumer.+deregisterStreamConsumer_consumerName :: Lens.Lens' DeregisterStreamConsumer (Prelude.Maybe Prelude.Text)+deregisterStreamConsumer_consumerName = Lens.lens (\DeregisterStreamConsumer' {consumerName} -> consumerName) (\s@DeregisterStreamConsumer' {} a -> s {consumerName = a} :: DeregisterStreamConsumer)++-- | The ARN of the Kinesis data stream that the consumer is registered with.+-- For more information, see+-- <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kinesis-streams Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces>.+deregisterStreamConsumer_streamARN :: Lens.Lens' DeregisterStreamConsumer (Prelude.Maybe Prelude.Text)+deregisterStreamConsumer_streamARN = Lens.lens (\DeregisterStreamConsumer' {streamARN} -> streamARN) (\s@DeregisterStreamConsumer' {} a -> s {streamARN = a} :: DeregisterStreamConsumer)++instance Core.AWSRequest DeregisterStreamConsumer where+ type+ AWSResponse DeregisterStreamConsumer =+ DeregisterStreamConsumerResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveNull+ DeregisterStreamConsumerResponse'++instance Prelude.Hashable DeregisterStreamConsumer where+ hashWithSalt _salt DeregisterStreamConsumer' {..} =+ _salt+ `Prelude.hashWithSalt` consumerARN+ `Prelude.hashWithSalt` consumerName+ `Prelude.hashWithSalt` streamARN++instance Prelude.NFData DeregisterStreamConsumer where+ rnf DeregisterStreamConsumer' {..} =+ Prelude.rnf consumerARN+ `Prelude.seq` Prelude.rnf consumerName+ `Prelude.seq` Prelude.rnf streamARN++instance Data.ToHeaders DeregisterStreamConsumer where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "Kinesis_20131202.DeregisterStreamConsumer" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeregisterStreamConsumer where+ toJSON DeregisterStreamConsumer' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ConsumerARN" Data..=) Prelude.<$> consumerARN,+ ("ConsumerName" Data..=) Prelude.<$> consumerName,+ ("StreamARN" Data..=) Prelude.<$> streamARN+ ]+ )++instance Data.ToPath DeregisterStreamConsumer where+ toPath = Prelude.const "/"++instance Data.ToQuery DeregisterStreamConsumer where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeregisterStreamConsumerResponse' smart constructor.+data DeregisterStreamConsumerResponse = DeregisterStreamConsumerResponse'+ {+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeregisterStreamConsumerResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newDeregisterStreamConsumerResponse ::+ DeregisterStreamConsumerResponse+newDeregisterStreamConsumerResponse =+ DeregisterStreamConsumerResponse'++instance+ Prelude.NFData+ DeregisterStreamConsumerResponse+ where+ rnf _ = ()
+ gen/Amazonka/Kinesis/DescribeLimits.hs view
@@ -0,0 +1,202 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.DescribeLimits+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Describes the shard limits and usage for the account.+--+-- If you update your account limits, the old limits might be returned for+-- a few minutes.+--+-- This operation has a limit of one transaction per second per account.+module Amazonka.Kinesis.DescribeLimits+ ( -- * Creating a Request+ DescribeLimits (..),+ newDescribeLimits,++ -- * Destructuring the Response+ DescribeLimitsResponse (..),+ newDescribeLimitsResponse,++ -- * Response Lenses+ describeLimitsResponse_httpStatus,+ describeLimitsResponse_shardLimit,+ describeLimitsResponse_openShardCount,+ describeLimitsResponse_onDemandStreamCount,+ describeLimitsResponse_onDemandStreamCountLimit,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeLimits' smart constructor.+data DescribeLimits = DescribeLimits'+ {+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeLimits' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newDescribeLimits ::+ DescribeLimits+newDescribeLimits = DescribeLimits'++instance Core.AWSRequest DescribeLimits where+ type+ AWSResponse DescribeLimits =+ DescribeLimitsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeLimitsResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ Prelude.<*> (x Data..:> "ShardLimit")+ Prelude.<*> (x Data..:> "OpenShardCount")+ Prelude.<*> (x Data..:> "OnDemandStreamCount")+ Prelude.<*> (x Data..:> "OnDemandStreamCountLimit")+ )++instance Prelude.Hashable DescribeLimits where+ hashWithSalt _salt _ =+ _salt `Prelude.hashWithSalt` ()++instance Prelude.NFData DescribeLimits where+ rnf _ = ()++instance Data.ToHeaders DescribeLimits where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "Kinesis_20131202.DescribeLimits" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeLimits where+ toJSON = Prelude.const (Data.Object Prelude.mempty)++instance Data.ToPath DescribeLimits where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeLimits where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeLimitsResponse' smart constructor.+data DescribeLimitsResponse = DescribeLimitsResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int,+ -- | The maximum number of shards.+ shardLimit :: Prelude.Natural,+ -- | The number of open shards.+ openShardCount :: Prelude.Natural,+ -- | Indicates the number of data streams with the on-demand capacity mode.+ onDemandStreamCount :: Prelude.Natural,+ -- | The maximum number of data streams with the on-demand capacity mode.+ onDemandStreamCountLimit :: Prelude.Natural+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeLimitsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'describeLimitsResponse_httpStatus' - The response's http status code.+--+-- 'shardLimit', 'describeLimitsResponse_shardLimit' - The maximum number of shards.+--+-- 'openShardCount', 'describeLimitsResponse_openShardCount' - The number of open shards.+--+-- 'onDemandStreamCount', 'describeLimitsResponse_onDemandStreamCount' - Indicates the number of data streams with the on-demand capacity mode.+--+-- 'onDemandStreamCountLimit', 'describeLimitsResponse_onDemandStreamCountLimit' - The maximum number of data streams with the on-demand capacity mode.+newDescribeLimitsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ -- | 'shardLimit'+ Prelude.Natural ->+ -- | 'openShardCount'+ Prelude.Natural ->+ -- | 'onDemandStreamCount'+ Prelude.Natural ->+ -- | 'onDemandStreamCountLimit'+ Prelude.Natural ->+ DescribeLimitsResponse+newDescribeLimitsResponse+ pHttpStatus_+ pShardLimit_+ pOpenShardCount_+ pOnDemandStreamCount_+ pOnDemandStreamCountLimit_ =+ DescribeLimitsResponse'+ { httpStatus = pHttpStatus_,+ shardLimit = pShardLimit_,+ openShardCount = pOpenShardCount_,+ onDemandStreamCount = pOnDemandStreamCount_,+ onDemandStreamCountLimit =+ pOnDemandStreamCountLimit_+ }++-- | The response's http status code.+describeLimitsResponse_httpStatus :: Lens.Lens' DescribeLimitsResponse Prelude.Int+describeLimitsResponse_httpStatus = Lens.lens (\DescribeLimitsResponse' {httpStatus} -> httpStatus) (\s@DescribeLimitsResponse' {} a -> s {httpStatus = a} :: DescribeLimitsResponse)++-- | The maximum number of shards.+describeLimitsResponse_shardLimit :: Lens.Lens' DescribeLimitsResponse Prelude.Natural+describeLimitsResponse_shardLimit = Lens.lens (\DescribeLimitsResponse' {shardLimit} -> shardLimit) (\s@DescribeLimitsResponse' {} a -> s {shardLimit = a} :: DescribeLimitsResponse)++-- | The number of open shards.+describeLimitsResponse_openShardCount :: Lens.Lens' DescribeLimitsResponse Prelude.Natural+describeLimitsResponse_openShardCount = Lens.lens (\DescribeLimitsResponse' {openShardCount} -> openShardCount) (\s@DescribeLimitsResponse' {} a -> s {openShardCount = a} :: DescribeLimitsResponse)++-- | Indicates the number of data streams with the on-demand capacity mode.+describeLimitsResponse_onDemandStreamCount :: Lens.Lens' DescribeLimitsResponse Prelude.Natural+describeLimitsResponse_onDemandStreamCount = Lens.lens (\DescribeLimitsResponse' {onDemandStreamCount} -> onDemandStreamCount) (\s@DescribeLimitsResponse' {} a -> s {onDemandStreamCount = a} :: DescribeLimitsResponse)++-- | The maximum number of data streams with the on-demand capacity mode.+describeLimitsResponse_onDemandStreamCountLimit :: Lens.Lens' DescribeLimitsResponse Prelude.Natural+describeLimitsResponse_onDemandStreamCountLimit = Lens.lens (\DescribeLimitsResponse' {onDemandStreamCountLimit} -> onDemandStreamCountLimit) (\s@DescribeLimitsResponse' {} a -> s {onDemandStreamCountLimit = a} :: DescribeLimitsResponse)++instance Prelude.NFData DescribeLimitsResponse where+ rnf DescribeLimitsResponse' {..} =+ Prelude.rnf httpStatus+ `Prelude.seq` Prelude.rnf shardLimit+ `Prelude.seq` Prelude.rnf openShardCount+ `Prelude.seq` Prelude.rnf onDemandStreamCount+ `Prelude.seq` Prelude.rnf onDemandStreamCountLimit
+ gen/Amazonka/Kinesis/DescribeStream.hs view
@@ -0,0 +1,310 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.DescribeStream+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Describes the specified Kinesis data stream.+--+-- This API has been revised. It\'s highly recommended that you use the+-- DescribeStreamSummary API to get a summarized description of the+-- specified Kinesis data stream and the ListShards API to list the shards+-- in a specified data stream and obtain information about each shard.+--+-- When invoking this API, it is recommended you use the @StreamARN@ input+-- parameter rather than the @StreamName@ input parameter.+--+-- The information returned includes the stream name, Amazon Resource Name+-- (ARN), creation time, enhanced metric configuration, and shard map. The+-- shard map is an array of shard objects. For each shard object, there is+-- the hash key and sequence number ranges that the shard spans, and the+-- IDs of any earlier shards that played in a role in creating the shard.+-- Every record ingested in the stream is identified by a sequence number,+-- which is assigned when the record is put into the stream.+--+-- You can limit the number of shards returned by each call. For more+-- information, see+-- <https://docs.aws.amazon.com/kinesis/latest/dev/kinesis-using-sdk-java-retrieve-shards.html Retrieving Shards from a Stream>+-- in the /Amazon Kinesis Data Streams Developer Guide/.+--+-- There are no guarantees about the chronological order shards returned.+-- To process shards in chronological order, use the ID of the parent shard+-- to track the lineage to the oldest shard.+--+-- This operation has a limit of 10 transactions per second per account.+--+-- This operation returns paginated results.+module Amazonka.Kinesis.DescribeStream+ ( -- * Creating a Request+ DescribeStream (..),+ newDescribeStream,++ -- * Request Lenses+ describeStream_exclusiveStartShardId,+ describeStream_limit,+ describeStream_streamARN,+ describeStream_streamName,++ -- * Destructuring the Response+ DescribeStreamResponse (..),+ newDescribeStreamResponse,++ -- * Response Lenses+ describeStreamResponse_httpStatus,+ describeStreamResponse_streamDescription,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Represents the input for @DescribeStream@.+--+-- /See:/ 'newDescribeStream' smart constructor.+data DescribeStream = DescribeStream'+ { -- | The shard ID of the shard to start with.+ --+ -- Specify this parameter to indicate that you want to describe the stream+ -- starting with the shard whose ID immediately follows+ -- @ExclusiveStartShardId@.+ --+ -- If you don\'t specify this parameter, the default behavior for+ -- @DescribeStream@ is to describe the stream starting with the first shard+ -- in the stream.+ exclusiveStartShardId :: Prelude.Maybe Prelude.Text,+ -- | The maximum number of shards to return in a single call. The default+ -- value is 100. If you specify a value greater than 100, at most 100+ -- results are returned.+ limit :: Prelude.Maybe Prelude.Natural,+ -- | The ARN of the stream.+ streamARN :: Prelude.Maybe Prelude.Text,+ -- | The name of the stream to describe.+ streamName :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeStream' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'exclusiveStartShardId', 'describeStream_exclusiveStartShardId' - The shard ID of the shard to start with.+--+-- Specify this parameter to indicate that you want to describe the stream+-- starting with the shard whose ID immediately follows+-- @ExclusiveStartShardId@.+--+-- If you don\'t specify this parameter, the default behavior for+-- @DescribeStream@ is to describe the stream starting with the first shard+-- in the stream.+--+-- 'limit', 'describeStream_limit' - The maximum number of shards to return in a single call. The default+-- value is 100. If you specify a value greater than 100, at most 100+-- results are returned.+--+-- 'streamARN', 'describeStream_streamARN' - The ARN of the stream.+--+-- 'streamName', 'describeStream_streamName' - The name of the stream to describe.+newDescribeStream ::+ DescribeStream+newDescribeStream =+ DescribeStream'+ { exclusiveStartShardId =+ Prelude.Nothing,+ limit = Prelude.Nothing,+ streamARN = Prelude.Nothing,+ streamName = Prelude.Nothing+ }++-- | The shard ID of the shard to start with.+--+-- Specify this parameter to indicate that you want to describe the stream+-- starting with the shard whose ID immediately follows+-- @ExclusiveStartShardId@.+--+-- If you don\'t specify this parameter, the default behavior for+-- @DescribeStream@ is to describe the stream starting with the first shard+-- in the stream.+describeStream_exclusiveStartShardId :: Lens.Lens' DescribeStream (Prelude.Maybe Prelude.Text)+describeStream_exclusiveStartShardId = Lens.lens (\DescribeStream' {exclusiveStartShardId} -> exclusiveStartShardId) (\s@DescribeStream' {} a -> s {exclusiveStartShardId = a} :: DescribeStream)++-- | The maximum number of shards to return in a single call. The default+-- value is 100. If you specify a value greater than 100, at most 100+-- results are returned.+describeStream_limit :: Lens.Lens' DescribeStream (Prelude.Maybe Prelude.Natural)+describeStream_limit = Lens.lens (\DescribeStream' {limit} -> limit) (\s@DescribeStream' {} a -> s {limit = a} :: DescribeStream)++-- | The ARN of the stream.+describeStream_streamARN :: Lens.Lens' DescribeStream (Prelude.Maybe Prelude.Text)+describeStream_streamARN = Lens.lens (\DescribeStream' {streamARN} -> streamARN) (\s@DescribeStream' {} a -> s {streamARN = a} :: DescribeStream)++-- | The name of the stream to describe.+describeStream_streamName :: Lens.Lens' DescribeStream (Prelude.Maybe Prelude.Text)+describeStream_streamName = Lens.lens (\DescribeStream' {streamName} -> streamName) (\s@DescribeStream' {} a -> s {streamName = a} :: DescribeStream)++instance Core.AWSPager DescribeStream where+ page rq rs+ | Core.stop+ ( rs+ Lens.^. describeStreamResponse_streamDescription+ Prelude.. streamDescription_hasMoreShards+ ) =+ Prelude.Nothing+ | Prelude.isNothing+ ( rs+ Lens.^? describeStreamResponse_streamDescription+ Prelude.. streamDescription_shards+ Prelude.. Lens._last+ Prelude.. shard_shardId+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& describeStream_exclusiveStartShardId+ Lens..~ rs+ Lens.^? describeStreamResponse_streamDescription+ Prelude.. streamDescription_shards+ Prelude.. Lens._last+ Prelude.. shard_shardId++instance Core.AWSRequest DescribeStream where+ type+ AWSResponse DescribeStream =+ DescribeStreamResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeStreamResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ Prelude.<*> (x Data..:> "StreamDescription")+ )++instance Prelude.Hashable DescribeStream where+ hashWithSalt _salt DescribeStream' {..} =+ _salt+ `Prelude.hashWithSalt` exclusiveStartShardId+ `Prelude.hashWithSalt` limit+ `Prelude.hashWithSalt` streamARN+ `Prelude.hashWithSalt` streamName++instance Prelude.NFData DescribeStream where+ rnf DescribeStream' {..} =+ Prelude.rnf exclusiveStartShardId+ `Prelude.seq` Prelude.rnf limit+ `Prelude.seq` Prelude.rnf streamARN+ `Prelude.seq` Prelude.rnf streamName++instance Data.ToHeaders DescribeStream where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "Kinesis_20131202.DescribeStream" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeStream where+ toJSON DescribeStream' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ExclusiveStartShardId" Data..=)+ Prelude.<$> exclusiveStartShardId,+ ("Limit" Data..=) Prelude.<$> limit,+ ("StreamARN" Data..=) Prelude.<$> streamARN,+ ("StreamName" Data..=) Prelude.<$> streamName+ ]+ )++instance Data.ToPath DescribeStream where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeStream where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the output for @DescribeStream@.+--+-- /See:/ 'newDescribeStreamResponse' smart constructor.+data DescribeStreamResponse = DescribeStreamResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int,+ -- | The current status of the stream, the stream Amazon Resource Name (ARN),+ -- an array of shard objects that comprise the stream, and whether there+ -- are more shards available.+ streamDescription :: StreamDescription+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeStreamResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'describeStreamResponse_httpStatus' - The response's http status code.+--+-- 'streamDescription', 'describeStreamResponse_streamDescription' - The current status of the stream, the stream Amazon Resource Name (ARN),+-- an array of shard objects that comprise the stream, and whether there+-- are more shards available.+newDescribeStreamResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ -- | 'streamDescription'+ StreamDescription ->+ DescribeStreamResponse+newDescribeStreamResponse+ pHttpStatus_+ pStreamDescription_ =+ DescribeStreamResponse'+ { httpStatus = pHttpStatus_,+ streamDescription = pStreamDescription_+ }++-- | The response's http status code.+describeStreamResponse_httpStatus :: Lens.Lens' DescribeStreamResponse Prelude.Int+describeStreamResponse_httpStatus = Lens.lens (\DescribeStreamResponse' {httpStatus} -> httpStatus) (\s@DescribeStreamResponse' {} a -> s {httpStatus = a} :: DescribeStreamResponse)++-- | The current status of the stream, the stream Amazon Resource Name (ARN),+-- an array of shard objects that comprise the stream, and whether there+-- are more shards available.+describeStreamResponse_streamDescription :: Lens.Lens' DescribeStreamResponse StreamDescription+describeStreamResponse_streamDescription = Lens.lens (\DescribeStreamResponse' {streamDescription} -> streamDescription) (\s@DescribeStreamResponse' {} a -> s {streamDescription = a} :: DescribeStreamResponse)++instance Prelude.NFData DescribeStreamResponse where+ rnf DescribeStreamResponse' {..} =+ Prelude.rnf httpStatus+ `Prelude.seq` Prelude.rnf streamDescription
+ gen/Amazonka/Kinesis/DescribeStreamConsumer.hs view
@@ -0,0 +1,223 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.DescribeStreamConsumer+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- To get the description of a registered consumer, provide the ARN of the+-- consumer. Alternatively, you can provide the ARN of the data stream and+-- the name you gave the consumer when you registered it. You may also+-- provide all three parameters, as long as they don\'t conflict with each+-- other. If you don\'t know the name or ARN of the consumer that you want+-- to describe, you can use the ListStreamConsumers operation to get a list+-- of the descriptions of all the consumers that are currently registered+-- with a given data stream.+--+-- This operation has a limit of 20 transactions per second per stream.+module Amazonka.Kinesis.DescribeStreamConsumer+ ( -- * Creating a Request+ DescribeStreamConsumer (..),+ newDescribeStreamConsumer,++ -- * Request Lenses+ describeStreamConsumer_consumerARN,+ describeStreamConsumer_consumerName,+ describeStreamConsumer_streamARN,++ -- * Destructuring the Response+ DescribeStreamConsumerResponse (..),+ newDescribeStreamConsumerResponse,++ -- * Response Lenses+ describeStreamConsumerResponse_httpStatus,+ describeStreamConsumerResponse_consumerDescription,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeStreamConsumer' smart constructor.+data DescribeStreamConsumer = DescribeStreamConsumer'+ { -- | The ARN returned by Kinesis Data Streams when you registered the+ -- consumer.+ consumerARN :: Prelude.Maybe Prelude.Text,+ -- | The name that you gave to the consumer.+ consumerName :: Prelude.Maybe Prelude.Text,+ -- | The ARN of the Kinesis data stream that the consumer is registered with.+ -- For more information, see+ -- <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kinesis-streams Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces>.+ streamARN :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeStreamConsumer' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'consumerARN', 'describeStreamConsumer_consumerARN' - The ARN returned by Kinesis Data Streams when you registered the+-- consumer.+--+-- 'consumerName', 'describeStreamConsumer_consumerName' - The name that you gave to the consumer.+--+-- 'streamARN', 'describeStreamConsumer_streamARN' - The ARN of the Kinesis data stream that the consumer is registered with.+-- For more information, see+-- <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kinesis-streams Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces>.+newDescribeStreamConsumer ::+ DescribeStreamConsumer+newDescribeStreamConsumer =+ DescribeStreamConsumer'+ { consumerARN =+ Prelude.Nothing,+ consumerName = Prelude.Nothing,+ streamARN = Prelude.Nothing+ }++-- | The ARN returned by Kinesis Data Streams when you registered the+-- consumer.+describeStreamConsumer_consumerARN :: Lens.Lens' DescribeStreamConsumer (Prelude.Maybe Prelude.Text)+describeStreamConsumer_consumerARN = Lens.lens (\DescribeStreamConsumer' {consumerARN} -> consumerARN) (\s@DescribeStreamConsumer' {} a -> s {consumerARN = a} :: DescribeStreamConsumer)++-- | The name that you gave to the consumer.+describeStreamConsumer_consumerName :: Lens.Lens' DescribeStreamConsumer (Prelude.Maybe Prelude.Text)+describeStreamConsumer_consumerName = Lens.lens (\DescribeStreamConsumer' {consumerName} -> consumerName) (\s@DescribeStreamConsumer' {} a -> s {consumerName = a} :: DescribeStreamConsumer)++-- | The ARN of the Kinesis data stream that the consumer is registered with.+-- For more information, see+-- <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kinesis-streams Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces>.+describeStreamConsumer_streamARN :: Lens.Lens' DescribeStreamConsumer (Prelude.Maybe Prelude.Text)+describeStreamConsumer_streamARN = Lens.lens (\DescribeStreamConsumer' {streamARN} -> streamARN) (\s@DescribeStreamConsumer' {} a -> s {streamARN = a} :: DescribeStreamConsumer)++instance Core.AWSRequest DescribeStreamConsumer where+ type+ AWSResponse DescribeStreamConsumer =+ DescribeStreamConsumerResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeStreamConsumerResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ Prelude.<*> (x Data..:> "ConsumerDescription")+ )++instance Prelude.Hashable DescribeStreamConsumer where+ hashWithSalt _salt DescribeStreamConsumer' {..} =+ _salt+ `Prelude.hashWithSalt` consumerARN+ `Prelude.hashWithSalt` consumerName+ `Prelude.hashWithSalt` streamARN++instance Prelude.NFData DescribeStreamConsumer where+ rnf DescribeStreamConsumer' {..} =+ Prelude.rnf consumerARN+ `Prelude.seq` Prelude.rnf consumerName+ `Prelude.seq` Prelude.rnf streamARN++instance Data.ToHeaders DescribeStreamConsumer where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "Kinesis_20131202.DescribeStreamConsumer" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeStreamConsumer where+ toJSON DescribeStreamConsumer' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ConsumerARN" Data..=) Prelude.<$> consumerARN,+ ("ConsumerName" Data..=) Prelude.<$> consumerName,+ ("StreamARN" Data..=) Prelude.<$> streamARN+ ]+ )++instance Data.ToPath DescribeStreamConsumer where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeStreamConsumer where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeStreamConsumerResponse' smart constructor.+data DescribeStreamConsumerResponse = DescribeStreamConsumerResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int,+ -- | An object that represents the details of the consumer.+ consumerDescription :: ConsumerDescription+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeStreamConsumerResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'describeStreamConsumerResponse_httpStatus' - The response's http status code.+--+-- 'consumerDescription', 'describeStreamConsumerResponse_consumerDescription' - An object that represents the details of the consumer.+newDescribeStreamConsumerResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ -- | 'consumerDescription'+ ConsumerDescription ->+ DescribeStreamConsumerResponse+newDescribeStreamConsumerResponse+ pHttpStatus_+ pConsumerDescription_ =+ DescribeStreamConsumerResponse'+ { httpStatus =+ pHttpStatus_,+ consumerDescription = pConsumerDescription_+ }++-- | The response's http status code.+describeStreamConsumerResponse_httpStatus :: Lens.Lens' DescribeStreamConsumerResponse Prelude.Int+describeStreamConsumerResponse_httpStatus = Lens.lens (\DescribeStreamConsumerResponse' {httpStatus} -> httpStatus) (\s@DescribeStreamConsumerResponse' {} a -> s {httpStatus = a} :: DescribeStreamConsumerResponse)++-- | An object that represents the details of the consumer.+describeStreamConsumerResponse_consumerDescription :: Lens.Lens' DescribeStreamConsumerResponse ConsumerDescription+describeStreamConsumerResponse_consumerDescription = Lens.lens (\DescribeStreamConsumerResponse' {consumerDescription} -> consumerDescription) (\s@DescribeStreamConsumerResponse' {} a -> s {consumerDescription = a} :: DescribeStreamConsumerResponse)++instance+ Prelude.NFData+ DescribeStreamConsumerResponse+ where+ rnf DescribeStreamConsumerResponse' {..} =+ Prelude.rnf httpStatus+ `Prelude.seq` Prelude.rnf consumerDescription
+ gen/Amazonka/Kinesis/DescribeStreamSummary.hs view
@@ -0,0 +1,200 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.DescribeStreamSummary+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Provides a summarized description of the specified Kinesis data stream+-- without the shard list.+--+-- When invoking this API, it is recommended you use the @StreamARN@ input+-- parameter rather than the @StreamName@ input parameter.+--+-- The information returned includes the stream name, Amazon Resource Name+-- (ARN), status, record retention period, approximate creation time,+-- monitoring, encryption details, and open shard count.+--+-- DescribeStreamSummary has a limit of 20 transactions per second per+-- account.+module Amazonka.Kinesis.DescribeStreamSummary+ ( -- * Creating a Request+ DescribeStreamSummary (..),+ newDescribeStreamSummary,++ -- * Request Lenses+ describeStreamSummary_streamARN,+ describeStreamSummary_streamName,++ -- * Destructuring the Response+ DescribeStreamSummaryResponse (..),+ newDescribeStreamSummaryResponse,++ -- * Response Lenses+ describeStreamSummaryResponse_httpStatus,+ describeStreamSummaryResponse_streamDescriptionSummary,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeStreamSummary' smart constructor.+data DescribeStreamSummary = DescribeStreamSummary'+ { -- | The ARN of the stream.+ streamARN :: Prelude.Maybe Prelude.Text,+ -- | The name of the stream to describe.+ streamName :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeStreamSummary' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'streamARN', 'describeStreamSummary_streamARN' - The ARN of the stream.+--+-- 'streamName', 'describeStreamSummary_streamName' - The name of the stream to describe.+newDescribeStreamSummary ::+ DescribeStreamSummary+newDescribeStreamSummary =+ DescribeStreamSummary'+ { streamARN = Prelude.Nothing,+ streamName = Prelude.Nothing+ }++-- | The ARN of the stream.+describeStreamSummary_streamARN :: Lens.Lens' DescribeStreamSummary (Prelude.Maybe Prelude.Text)+describeStreamSummary_streamARN = Lens.lens (\DescribeStreamSummary' {streamARN} -> streamARN) (\s@DescribeStreamSummary' {} a -> s {streamARN = a} :: DescribeStreamSummary)++-- | The name of the stream to describe.+describeStreamSummary_streamName :: Lens.Lens' DescribeStreamSummary (Prelude.Maybe Prelude.Text)+describeStreamSummary_streamName = Lens.lens (\DescribeStreamSummary' {streamName} -> streamName) (\s@DescribeStreamSummary' {} a -> s {streamName = a} :: DescribeStreamSummary)++instance Core.AWSRequest DescribeStreamSummary where+ type+ AWSResponse DescribeStreamSummary =+ DescribeStreamSummaryResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeStreamSummaryResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ Prelude.<*> (x Data..:> "StreamDescriptionSummary")+ )++instance Prelude.Hashable DescribeStreamSummary where+ hashWithSalt _salt DescribeStreamSummary' {..} =+ _salt+ `Prelude.hashWithSalt` streamARN+ `Prelude.hashWithSalt` streamName++instance Prelude.NFData DescribeStreamSummary where+ rnf DescribeStreamSummary' {..} =+ Prelude.rnf streamARN+ `Prelude.seq` Prelude.rnf streamName++instance Data.ToHeaders DescribeStreamSummary where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "Kinesis_20131202.DescribeStreamSummary" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeStreamSummary where+ toJSON DescribeStreamSummary' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("StreamARN" Data..=) Prelude.<$> streamARN,+ ("StreamName" Data..=) Prelude.<$> streamName+ ]+ )++instance Data.ToPath DescribeStreamSummary where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeStreamSummary where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeStreamSummaryResponse' smart constructor.+data DescribeStreamSummaryResponse = DescribeStreamSummaryResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int,+ -- | A StreamDescriptionSummary containing information about the stream.+ streamDescriptionSummary :: StreamDescriptionSummary+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeStreamSummaryResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'describeStreamSummaryResponse_httpStatus' - The response's http status code.+--+-- 'streamDescriptionSummary', 'describeStreamSummaryResponse_streamDescriptionSummary' - A StreamDescriptionSummary containing information about the stream.+newDescribeStreamSummaryResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ -- | 'streamDescriptionSummary'+ StreamDescriptionSummary ->+ DescribeStreamSummaryResponse+newDescribeStreamSummaryResponse+ pHttpStatus_+ pStreamDescriptionSummary_ =+ DescribeStreamSummaryResponse'+ { httpStatus =+ pHttpStatus_,+ streamDescriptionSummary =+ pStreamDescriptionSummary_+ }++-- | The response's http status code.+describeStreamSummaryResponse_httpStatus :: Lens.Lens' DescribeStreamSummaryResponse Prelude.Int+describeStreamSummaryResponse_httpStatus = Lens.lens (\DescribeStreamSummaryResponse' {httpStatus} -> httpStatus) (\s@DescribeStreamSummaryResponse' {} a -> s {httpStatus = a} :: DescribeStreamSummaryResponse)++-- | A StreamDescriptionSummary containing information about the stream.+describeStreamSummaryResponse_streamDescriptionSummary :: Lens.Lens' DescribeStreamSummaryResponse StreamDescriptionSummary+describeStreamSummaryResponse_streamDescriptionSummary = Lens.lens (\DescribeStreamSummaryResponse' {streamDescriptionSummary} -> streamDescriptionSummary) (\s@DescribeStreamSummaryResponse' {} a -> s {streamDescriptionSummary = a} :: DescribeStreamSummaryResponse)++instance Prelude.NFData DescribeStreamSummaryResponse where+ rnf DescribeStreamSummaryResponse' {..} =+ Prelude.rnf httpStatus+ `Prelude.seq` Prelude.rnf streamDescriptionSummary
+ gen/Amazonka/Kinesis/DisableEnhancedMonitoring.hs view
@@ -0,0 +1,230 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.DisableEnhancedMonitoring+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Disables enhanced monitoring.+--+-- When invoking this API, it is recommended you use the @StreamARN@ input+-- parameter rather than the @StreamName@ input parameter.+module Amazonka.Kinesis.DisableEnhancedMonitoring+ ( -- * Creating a Request+ DisableEnhancedMonitoring (..),+ newDisableEnhancedMonitoring,++ -- * Request Lenses+ disableEnhancedMonitoring_streamARN,+ disableEnhancedMonitoring_streamName,+ disableEnhancedMonitoring_shardLevelMetrics,++ -- * Destructuring the Response+ EnhancedMonitoringOutput (..),+ newEnhancedMonitoringOutput,++ -- * Response Lenses+ enhancedMonitoringOutput_currentShardLevelMetrics,+ enhancedMonitoringOutput_desiredShardLevelMetrics,+ enhancedMonitoringOutput_streamARN,+ enhancedMonitoringOutput_streamName,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Represents the input for DisableEnhancedMonitoring.+--+-- /See:/ 'newDisableEnhancedMonitoring' smart constructor.+data DisableEnhancedMonitoring = DisableEnhancedMonitoring'+ { -- | The ARN of the stream.+ streamARN :: Prelude.Maybe Prelude.Text,+ -- | The name of the Kinesis data stream for which to disable enhanced+ -- monitoring.+ streamName :: Prelude.Maybe Prelude.Text,+ -- | List of shard-level metrics to disable.+ --+ -- The following are the valid shard-level metrics. The value \"@ALL@\"+ -- disables every metric.+ --+ -- - @IncomingBytes@+ --+ -- - @IncomingRecords@+ --+ -- - @OutgoingBytes@+ --+ -- - @OutgoingRecords@+ --+ -- - @WriteProvisionedThroughputExceeded@+ --+ -- - @ReadProvisionedThroughputExceeded@+ --+ -- - @IteratorAgeMilliseconds@+ --+ -- - @ALL@+ --+ -- For more information, see+ -- <https://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch>+ -- in the /Amazon Kinesis Data Streams Developer Guide/.+ shardLevelMetrics :: [MetricsName]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DisableEnhancedMonitoring' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'streamARN', 'disableEnhancedMonitoring_streamARN' - The ARN of the stream.+--+-- 'streamName', 'disableEnhancedMonitoring_streamName' - The name of the Kinesis data stream for which to disable enhanced+-- monitoring.+--+-- 'shardLevelMetrics', 'disableEnhancedMonitoring_shardLevelMetrics' - List of shard-level metrics to disable.+--+-- The following are the valid shard-level metrics. The value \"@ALL@\"+-- disables every metric.+--+-- - @IncomingBytes@+--+-- - @IncomingRecords@+--+-- - @OutgoingBytes@+--+-- - @OutgoingRecords@+--+-- - @WriteProvisionedThroughputExceeded@+--+-- - @ReadProvisionedThroughputExceeded@+--+-- - @IteratorAgeMilliseconds@+--+-- - @ALL@+--+-- For more information, see+-- <https://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch>+-- in the /Amazon Kinesis Data Streams Developer Guide/.+newDisableEnhancedMonitoring ::+ DisableEnhancedMonitoring+newDisableEnhancedMonitoring =+ DisableEnhancedMonitoring'+ { streamARN =+ Prelude.Nothing,+ streamName = Prelude.Nothing,+ shardLevelMetrics = Prelude.mempty+ }++-- | The ARN of the stream.+disableEnhancedMonitoring_streamARN :: Lens.Lens' DisableEnhancedMonitoring (Prelude.Maybe Prelude.Text)+disableEnhancedMonitoring_streamARN = Lens.lens (\DisableEnhancedMonitoring' {streamARN} -> streamARN) (\s@DisableEnhancedMonitoring' {} a -> s {streamARN = a} :: DisableEnhancedMonitoring)++-- | The name of the Kinesis data stream for which to disable enhanced+-- monitoring.+disableEnhancedMonitoring_streamName :: Lens.Lens' DisableEnhancedMonitoring (Prelude.Maybe Prelude.Text)+disableEnhancedMonitoring_streamName = Lens.lens (\DisableEnhancedMonitoring' {streamName} -> streamName) (\s@DisableEnhancedMonitoring' {} a -> s {streamName = a} :: DisableEnhancedMonitoring)++-- | List of shard-level metrics to disable.+--+-- The following are the valid shard-level metrics. The value \"@ALL@\"+-- disables every metric.+--+-- - @IncomingBytes@+--+-- - @IncomingRecords@+--+-- - @OutgoingBytes@+--+-- - @OutgoingRecords@+--+-- - @WriteProvisionedThroughputExceeded@+--+-- - @ReadProvisionedThroughputExceeded@+--+-- - @IteratorAgeMilliseconds@+--+-- - @ALL@+--+-- For more information, see+-- <https://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch>+-- in the /Amazon Kinesis Data Streams Developer Guide/.+disableEnhancedMonitoring_shardLevelMetrics :: Lens.Lens' DisableEnhancedMonitoring [MetricsName]+disableEnhancedMonitoring_shardLevelMetrics = Lens.lens (\DisableEnhancedMonitoring' {shardLevelMetrics} -> shardLevelMetrics) (\s@DisableEnhancedMonitoring' {} a -> s {shardLevelMetrics = a} :: DisableEnhancedMonitoring) Prelude.. Lens.coerced++instance Core.AWSRequest DisableEnhancedMonitoring where+ type+ AWSResponse DisableEnhancedMonitoring =+ EnhancedMonitoringOutput+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ (\s h x -> Data.eitherParseJSON x)++instance Prelude.Hashable DisableEnhancedMonitoring where+ hashWithSalt _salt DisableEnhancedMonitoring' {..} =+ _salt+ `Prelude.hashWithSalt` streamARN+ `Prelude.hashWithSalt` streamName+ `Prelude.hashWithSalt` shardLevelMetrics++instance Prelude.NFData DisableEnhancedMonitoring where+ rnf DisableEnhancedMonitoring' {..} =+ Prelude.rnf streamARN+ `Prelude.seq` Prelude.rnf streamName+ `Prelude.seq` Prelude.rnf shardLevelMetrics++instance Data.ToHeaders DisableEnhancedMonitoring where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "Kinesis_20131202.DisableEnhancedMonitoring" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DisableEnhancedMonitoring where+ toJSON DisableEnhancedMonitoring' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("StreamARN" Data..=) Prelude.<$> streamARN,+ ("StreamName" Data..=) Prelude.<$> streamName,+ Prelude.Just+ ("ShardLevelMetrics" Data..= shardLevelMetrics)+ ]+ )++instance Data.ToPath DisableEnhancedMonitoring where+ toPath = Prelude.const "/"++instance Data.ToQuery DisableEnhancedMonitoring where+ toQuery = Prelude.const Prelude.mempty
+ gen/Amazonka/Kinesis/EnableEnhancedMonitoring.hs view
@@ -0,0 +1,227 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.EnableEnhancedMonitoring+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Enables enhanced Kinesis data stream monitoring for shard-level metrics.+--+-- When invoking this API, it is recommended you use the @StreamARN@ input+-- parameter rather than the @StreamName@ input parameter.+module Amazonka.Kinesis.EnableEnhancedMonitoring+ ( -- * Creating a Request+ EnableEnhancedMonitoring (..),+ newEnableEnhancedMonitoring,++ -- * Request Lenses+ enableEnhancedMonitoring_streamARN,+ enableEnhancedMonitoring_streamName,+ enableEnhancedMonitoring_shardLevelMetrics,++ -- * Destructuring the Response+ EnhancedMonitoringOutput (..),+ newEnhancedMonitoringOutput,++ -- * Response Lenses+ enhancedMonitoringOutput_currentShardLevelMetrics,+ enhancedMonitoringOutput_desiredShardLevelMetrics,+ enhancedMonitoringOutput_streamARN,+ enhancedMonitoringOutput_streamName,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Represents the input for EnableEnhancedMonitoring.+--+-- /See:/ 'newEnableEnhancedMonitoring' smart constructor.+data EnableEnhancedMonitoring = EnableEnhancedMonitoring'+ { -- | The ARN of the stream.+ streamARN :: Prelude.Maybe Prelude.Text,+ -- | The name of the stream for which to enable enhanced monitoring.+ streamName :: Prelude.Maybe Prelude.Text,+ -- | List of shard-level metrics to enable.+ --+ -- The following are the valid shard-level metrics. The value \"@ALL@\"+ -- enables every metric.+ --+ -- - @IncomingBytes@+ --+ -- - @IncomingRecords@+ --+ -- - @OutgoingBytes@+ --+ -- - @OutgoingRecords@+ --+ -- - @WriteProvisionedThroughputExceeded@+ --+ -- - @ReadProvisionedThroughputExceeded@+ --+ -- - @IteratorAgeMilliseconds@+ --+ -- - @ALL@+ --+ -- For more information, see+ -- <https://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch>+ -- in the /Amazon Kinesis Data Streams Developer Guide/.+ shardLevelMetrics :: [MetricsName]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EnableEnhancedMonitoring' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'streamARN', 'enableEnhancedMonitoring_streamARN' - The ARN of the stream.+--+-- 'streamName', 'enableEnhancedMonitoring_streamName' - The name of the stream for which to enable enhanced monitoring.+--+-- 'shardLevelMetrics', 'enableEnhancedMonitoring_shardLevelMetrics' - List of shard-level metrics to enable.+--+-- The following are the valid shard-level metrics. The value \"@ALL@\"+-- enables every metric.+--+-- - @IncomingBytes@+--+-- - @IncomingRecords@+--+-- - @OutgoingBytes@+--+-- - @OutgoingRecords@+--+-- - @WriteProvisionedThroughputExceeded@+--+-- - @ReadProvisionedThroughputExceeded@+--+-- - @IteratorAgeMilliseconds@+--+-- - @ALL@+--+-- For more information, see+-- <https://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch>+-- in the /Amazon Kinesis Data Streams Developer Guide/.+newEnableEnhancedMonitoring ::+ EnableEnhancedMonitoring+newEnableEnhancedMonitoring =+ EnableEnhancedMonitoring'+ { streamARN =+ Prelude.Nothing,+ streamName = Prelude.Nothing,+ shardLevelMetrics = Prelude.mempty+ }++-- | The ARN of the stream.+enableEnhancedMonitoring_streamARN :: Lens.Lens' EnableEnhancedMonitoring (Prelude.Maybe Prelude.Text)+enableEnhancedMonitoring_streamARN = Lens.lens (\EnableEnhancedMonitoring' {streamARN} -> streamARN) (\s@EnableEnhancedMonitoring' {} a -> s {streamARN = a} :: EnableEnhancedMonitoring)++-- | The name of the stream for which to enable enhanced monitoring.+enableEnhancedMonitoring_streamName :: Lens.Lens' EnableEnhancedMonitoring (Prelude.Maybe Prelude.Text)+enableEnhancedMonitoring_streamName = Lens.lens (\EnableEnhancedMonitoring' {streamName} -> streamName) (\s@EnableEnhancedMonitoring' {} a -> s {streamName = a} :: EnableEnhancedMonitoring)++-- | List of shard-level metrics to enable.+--+-- The following are the valid shard-level metrics. The value \"@ALL@\"+-- enables every metric.+--+-- - @IncomingBytes@+--+-- - @IncomingRecords@+--+-- - @OutgoingBytes@+--+-- - @OutgoingRecords@+--+-- - @WriteProvisionedThroughputExceeded@+--+-- - @ReadProvisionedThroughputExceeded@+--+-- - @IteratorAgeMilliseconds@+--+-- - @ALL@+--+-- For more information, see+-- <https://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch>+-- in the /Amazon Kinesis Data Streams Developer Guide/.+enableEnhancedMonitoring_shardLevelMetrics :: Lens.Lens' EnableEnhancedMonitoring [MetricsName]+enableEnhancedMonitoring_shardLevelMetrics = Lens.lens (\EnableEnhancedMonitoring' {shardLevelMetrics} -> shardLevelMetrics) (\s@EnableEnhancedMonitoring' {} a -> s {shardLevelMetrics = a} :: EnableEnhancedMonitoring) Prelude.. Lens.coerced++instance Core.AWSRequest EnableEnhancedMonitoring where+ type+ AWSResponse EnableEnhancedMonitoring =+ EnhancedMonitoringOutput+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ (\s h x -> Data.eitherParseJSON x)++instance Prelude.Hashable EnableEnhancedMonitoring where+ hashWithSalt _salt EnableEnhancedMonitoring' {..} =+ _salt+ `Prelude.hashWithSalt` streamARN+ `Prelude.hashWithSalt` streamName+ `Prelude.hashWithSalt` shardLevelMetrics++instance Prelude.NFData EnableEnhancedMonitoring where+ rnf EnableEnhancedMonitoring' {..} =+ Prelude.rnf streamARN+ `Prelude.seq` Prelude.rnf streamName+ `Prelude.seq` Prelude.rnf shardLevelMetrics++instance Data.ToHeaders EnableEnhancedMonitoring where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "Kinesis_20131202.EnableEnhancedMonitoring" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON EnableEnhancedMonitoring where+ toJSON EnableEnhancedMonitoring' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("StreamARN" Data..=) Prelude.<$> streamARN,+ ("StreamName" Data..=) Prelude.<$> streamName,+ Prelude.Just+ ("ShardLevelMetrics" Data..= shardLevelMetrics)+ ]+ )++instance Data.ToPath EnableEnhancedMonitoring where+ toPath = Prelude.const "/"++instance Data.ToQuery EnableEnhancedMonitoring where+ toQuery = Prelude.const Prelude.mempty
+ gen/Amazonka/Kinesis/GetRecords.hs view
@@ -0,0 +1,337 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.GetRecords+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets data records from a Kinesis data stream\'s shard.+--+-- When invoking this API, it is recommended you use the @StreamARN@ input+-- parameter in addition to the @ShardIterator@ parameter.+--+-- Specify a shard iterator using the @ShardIterator@ parameter. The shard+-- iterator specifies the position in the shard from which you want to+-- start reading data records sequentially. If there are no records+-- available in the portion of the shard that the iterator points to,+-- GetRecords returns an empty list. It might take multiple calls to get to+-- a portion of the shard that contains records.+--+-- You can scale by provisioning multiple shards per stream while+-- considering service limits (for more information, see+-- <https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html Amazon Kinesis Data Streams Limits>+-- in the /Amazon Kinesis Data Streams Developer Guide/). Your application+-- should have one thread per shard, each reading continuously from its+-- stream. To read from a stream continually, call GetRecords in a loop.+-- Use GetShardIterator to get the shard iterator to specify in the first+-- GetRecords call. GetRecords returns a new shard iterator in+-- @NextShardIterator@. Specify the shard iterator returned in+-- @NextShardIterator@ in subsequent calls to GetRecords. If the shard has+-- been closed, the shard iterator can\'t return more data and GetRecords+-- returns @null@ in @NextShardIterator@. You can terminate the loop when+-- the shard is closed, or when the shard iterator reaches the record with+-- the sequence number or other attribute that marks it as the last record+-- to process.+--+-- Each data record can be up to 1 MiB in size, and each shard can read up+-- to 2 MiB per second. You can ensure that your calls don\'t exceed the+-- maximum supported size or throughput by using the @Limit@ parameter to+-- specify the maximum number of records that GetRecords can return.+-- Consider your average record size when determining this limit. The+-- maximum number of records that can be returned per call is 10,000.+--+-- The size of the data returned by GetRecords varies depending on the+-- utilization of the shard. It is recommended that consumer applications+-- retrieve records via the @GetRecords@ command using the 5 TPS limit to+-- remain caught up. Retrieving records less frequently can lead to+-- consumer applications falling behind. The maximum size of data that+-- GetRecords can return is 10 MiB. If a call returns this amount of data,+-- subsequent calls made within the next 5 seconds throw+-- @ProvisionedThroughputExceededException@. If there is insufficient+-- provisioned throughput on the stream, subsequent calls made within the+-- next 1 second throw @ProvisionedThroughputExceededException@. GetRecords+-- doesn\'t return any data when it throws an exception. For this reason,+-- we recommend that you wait 1 second between calls to GetRecords.+-- However, it\'s possible that the application will get exceptions for+-- longer than 1 second.+--+-- To detect whether the application is falling behind in processing, you+-- can use the @MillisBehindLatest@ response attribute. You can also+-- monitor the stream using CloudWatch metrics and other mechanisms (see+-- <https://docs.aws.amazon.com/kinesis/latest/dev/monitoring.html Monitoring>+-- in the /Amazon Kinesis Data Streams Developer Guide/).+--+-- Each Amazon Kinesis record includes a value,+-- @ApproximateArrivalTimestamp@, that is set when a stream successfully+-- receives and stores a record. This is commonly referred to as a+-- server-side time stamp, whereas a client-side time stamp is set when a+-- data producer creates or sends the record to a stream (a data producer+-- is any data source putting data records into a stream, for example with+-- PutRecords). The time stamp has millisecond precision. There are no+-- guarantees about the time stamp accuracy, or that the time stamp is+-- always increasing. For example, records in a shard or across a stream+-- might have time stamps that are out of order.+--+-- This operation has a limit of five transactions per second per shard.+module Amazonka.Kinesis.GetRecords+ ( -- * Creating a Request+ GetRecords (..),+ newGetRecords,++ -- * Request Lenses+ getRecords_limit,+ getRecords_streamARN,+ getRecords_shardIterator,++ -- * Destructuring the Response+ GetRecordsResponse (..),+ newGetRecordsResponse,++ -- * Response Lenses+ getRecordsResponse_childShards,+ getRecordsResponse_millisBehindLatest,+ getRecordsResponse_nextShardIterator,+ getRecordsResponse_httpStatus,+ getRecordsResponse_records,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Represents the input for GetRecords.+--+-- /See:/ 'newGetRecords' smart constructor.+data GetRecords = GetRecords'+ { -- | The maximum number of records to return. Specify a value of up to+ -- 10,000. If you specify a value that is greater than 10,000, GetRecords+ -- throws @InvalidArgumentException@. The default value is 10,000.+ limit :: Prelude.Maybe Prelude.Natural,+ -- | The ARN of the stream.+ streamARN :: Prelude.Maybe Prelude.Text,+ -- | The position in the shard from which you want to start sequentially+ -- reading data records. A shard iterator specifies this position using the+ -- sequence number of a data record in the shard.+ shardIterator :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetRecords' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'limit', 'getRecords_limit' - The maximum number of records to return. Specify a value of up to+-- 10,000. If you specify a value that is greater than 10,000, GetRecords+-- throws @InvalidArgumentException@. The default value is 10,000.+--+-- 'streamARN', 'getRecords_streamARN' - The ARN of the stream.+--+-- 'shardIterator', 'getRecords_shardIterator' - The position in the shard from which you want to start sequentially+-- reading data records. A shard iterator specifies this position using the+-- sequence number of a data record in the shard.+newGetRecords ::+ -- | 'shardIterator'+ Prelude.Text ->+ GetRecords+newGetRecords pShardIterator_ =+ GetRecords'+ { limit = Prelude.Nothing,+ streamARN = Prelude.Nothing,+ shardIterator = pShardIterator_+ }++-- | The maximum number of records to return. Specify a value of up to+-- 10,000. If you specify a value that is greater than 10,000, GetRecords+-- throws @InvalidArgumentException@. The default value is 10,000.+getRecords_limit :: Lens.Lens' GetRecords (Prelude.Maybe Prelude.Natural)+getRecords_limit = Lens.lens (\GetRecords' {limit} -> limit) (\s@GetRecords' {} a -> s {limit = a} :: GetRecords)++-- | The ARN of the stream.+getRecords_streamARN :: Lens.Lens' GetRecords (Prelude.Maybe Prelude.Text)+getRecords_streamARN = Lens.lens (\GetRecords' {streamARN} -> streamARN) (\s@GetRecords' {} a -> s {streamARN = a} :: GetRecords)++-- | The position in the shard from which you want to start sequentially+-- reading data records. A shard iterator specifies this position using the+-- sequence number of a data record in the shard.+getRecords_shardIterator :: Lens.Lens' GetRecords Prelude.Text+getRecords_shardIterator = Lens.lens (\GetRecords' {shardIterator} -> shardIterator) (\s@GetRecords' {} a -> s {shardIterator = a} :: GetRecords)++instance Core.AWSRequest GetRecords where+ type AWSResponse GetRecords = GetRecordsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetRecordsResponse'+ Prelude.<$> (x Data..?> "ChildShards" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "MillisBehindLatest")+ Prelude.<*> (x Data..?> "NextShardIterator")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ Prelude.<*> (x Data..?> "Records" Core..!@ Prelude.mempty)+ )++instance Prelude.Hashable GetRecords where+ hashWithSalt _salt GetRecords' {..} =+ _salt+ `Prelude.hashWithSalt` limit+ `Prelude.hashWithSalt` streamARN+ `Prelude.hashWithSalt` shardIterator++instance Prelude.NFData GetRecords where+ rnf GetRecords' {..} =+ Prelude.rnf limit+ `Prelude.seq` Prelude.rnf streamARN+ `Prelude.seq` Prelude.rnf shardIterator++instance Data.ToHeaders GetRecords where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "Kinesis_20131202.GetRecords" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetRecords where+ toJSON GetRecords' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Limit" Data..=) Prelude.<$> limit,+ ("StreamARN" Data..=) Prelude.<$> streamARN,+ Prelude.Just+ ("ShardIterator" Data..= shardIterator)+ ]+ )++instance Data.ToPath GetRecords where+ toPath = Prelude.const "/"++instance Data.ToQuery GetRecords where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the output for GetRecords.+--+-- /See:/ 'newGetRecordsResponse' smart constructor.+data GetRecordsResponse = GetRecordsResponse'+ { -- | The list of the current shard\'s child shards, returned in the+ -- @GetRecords@ API\'s response only when the end of the current shard is+ -- reached.+ childShards :: Prelude.Maybe [ChildShard],+ -- | The number of milliseconds the GetRecords response is from the tip of+ -- the stream, indicating how far behind current time the consumer is. A+ -- value of zero indicates that record processing is caught up, and there+ -- are no new records to process at this moment.+ millisBehindLatest :: Prelude.Maybe Prelude.Natural,+ -- | The next position in the shard from which to start sequentially reading+ -- data records. If set to @null@, the shard has been closed and the+ -- requested iterator does not return any more data.+ nextShardIterator :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int,+ -- | The data records retrieved from the shard.+ records :: [Record]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetRecordsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'childShards', 'getRecordsResponse_childShards' - The list of the current shard\'s child shards, returned in the+-- @GetRecords@ API\'s response only when the end of the current shard is+-- reached.+--+-- 'millisBehindLatest', 'getRecordsResponse_millisBehindLatest' - The number of milliseconds the GetRecords response is from the tip of+-- the stream, indicating how far behind current time the consumer is. A+-- value of zero indicates that record processing is caught up, and there+-- are no new records to process at this moment.+--+-- 'nextShardIterator', 'getRecordsResponse_nextShardIterator' - The next position in the shard from which to start sequentially reading+-- data records. If set to @null@, the shard has been closed and the+-- requested iterator does not return any more data.+--+-- 'httpStatus', 'getRecordsResponse_httpStatus' - The response's http status code.+--+-- 'records', 'getRecordsResponse_records' - The data records retrieved from the shard.+newGetRecordsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetRecordsResponse+newGetRecordsResponse pHttpStatus_ =+ GetRecordsResponse'+ { childShards = Prelude.Nothing,+ millisBehindLatest = Prelude.Nothing,+ nextShardIterator = Prelude.Nothing,+ httpStatus = pHttpStatus_,+ records = Prelude.mempty+ }++-- | The list of the current shard\'s child shards, returned in the+-- @GetRecords@ API\'s response only when the end of the current shard is+-- reached.+getRecordsResponse_childShards :: Lens.Lens' GetRecordsResponse (Prelude.Maybe [ChildShard])+getRecordsResponse_childShards = Lens.lens (\GetRecordsResponse' {childShards} -> childShards) (\s@GetRecordsResponse' {} a -> s {childShards = a} :: GetRecordsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The number of milliseconds the GetRecords response is from the tip of+-- the stream, indicating how far behind current time the consumer is. A+-- value of zero indicates that record processing is caught up, and there+-- are no new records to process at this moment.+getRecordsResponse_millisBehindLatest :: Lens.Lens' GetRecordsResponse (Prelude.Maybe Prelude.Natural)+getRecordsResponse_millisBehindLatest = Lens.lens (\GetRecordsResponse' {millisBehindLatest} -> millisBehindLatest) (\s@GetRecordsResponse' {} a -> s {millisBehindLatest = a} :: GetRecordsResponse)++-- | The next position in the shard from which to start sequentially reading+-- data records. If set to @null@, the shard has been closed and the+-- requested iterator does not return any more data.+getRecordsResponse_nextShardIterator :: Lens.Lens' GetRecordsResponse (Prelude.Maybe Prelude.Text)+getRecordsResponse_nextShardIterator = Lens.lens (\GetRecordsResponse' {nextShardIterator} -> nextShardIterator) (\s@GetRecordsResponse' {} a -> s {nextShardIterator = a} :: GetRecordsResponse)++-- | The response's http status code.+getRecordsResponse_httpStatus :: Lens.Lens' GetRecordsResponse Prelude.Int+getRecordsResponse_httpStatus = Lens.lens (\GetRecordsResponse' {httpStatus} -> httpStatus) (\s@GetRecordsResponse' {} a -> s {httpStatus = a} :: GetRecordsResponse)++-- | The data records retrieved from the shard.+getRecordsResponse_records :: Lens.Lens' GetRecordsResponse [Record]+getRecordsResponse_records = Lens.lens (\GetRecordsResponse' {records} -> records) (\s@GetRecordsResponse' {} a -> s {records = a} :: GetRecordsResponse) Prelude.. Lens.coerced++instance Prelude.NFData GetRecordsResponse where+ rnf GetRecordsResponse' {..} =+ Prelude.rnf childShards+ `Prelude.seq` Prelude.rnf millisBehindLatest+ `Prelude.seq` Prelude.rnf nextShardIterator+ `Prelude.seq` Prelude.rnf httpStatus+ `Prelude.seq` Prelude.rnf records
+ gen/Amazonka/Kinesis/GetShardIterator.hs view
@@ -0,0 +1,384 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.GetShardIterator+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets an Amazon Kinesis shard iterator. A shard iterator expires 5+-- minutes after it is returned to the requester.+--+-- When invoking this API, it is recommended you use the @StreamARN@ input+-- parameter rather than the @StreamName@ input parameter.+--+-- A shard iterator specifies the shard position from which to start+-- reading data records sequentially. The position is specified using the+-- sequence number of a data record in a shard. A sequence number is the+-- identifier associated with every record ingested in the stream, and is+-- assigned when a record is put into the stream. Each stream has one or+-- more shards.+--+-- You must specify the shard iterator type. For example, you can set the+-- @ShardIteratorType@ parameter to read exactly from the position denoted+-- by a specific sequence number by using the @AT_SEQUENCE_NUMBER@ shard+-- iterator type. Alternatively, the parameter can read right after the+-- sequence number by using the @AFTER_SEQUENCE_NUMBER@ shard iterator+-- type, using sequence numbers returned by earlier calls to PutRecord,+-- PutRecords, GetRecords, or DescribeStream. In the request, you can+-- specify the shard iterator type @AT_TIMESTAMP@ to read records from an+-- arbitrary point in time, @TRIM_HORIZON@ to cause @ShardIterator@ to+-- point to the last untrimmed record in the shard in the system (the+-- oldest data record in the shard), or @LATEST@ so that you always read+-- the most recent data in the shard.+--+-- When you read repeatedly from a stream, use a GetShardIterator request+-- to get the first shard iterator for use in your first GetRecords request+-- and for subsequent reads use the shard iterator returned by the+-- GetRecords request in @NextShardIterator@. A new shard iterator is+-- returned by every GetRecords request in @NextShardIterator@, which you+-- use in the @ShardIterator@ parameter of the next GetRecords request.+--+-- If a GetShardIterator request is made too often, you receive a+-- @ProvisionedThroughputExceededException@. For more information about+-- throughput limits, see GetRecords, and+-- <https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html Streams Limits>+-- in the /Amazon Kinesis Data Streams Developer Guide/.+--+-- If the shard is closed, GetShardIterator returns a valid iterator for+-- the last sequence number of the shard. A shard can be closed as a result+-- of using SplitShard or MergeShards.+--+-- GetShardIterator has a limit of five transactions per second per account+-- per open shard.+module Amazonka.Kinesis.GetShardIterator+ ( -- * Creating a Request+ GetShardIterator (..),+ newGetShardIterator,++ -- * Request Lenses+ getShardIterator_startingSequenceNumber,+ getShardIterator_streamARN,+ getShardIterator_streamName,+ getShardIterator_timestamp,+ getShardIterator_shardId,+ getShardIterator_shardIteratorType,++ -- * Destructuring the Response+ GetShardIteratorResponse (..),+ newGetShardIteratorResponse,++ -- * Response Lenses+ getShardIteratorResponse_shardIterator,+ getShardIteratorResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Represents the input for @GetShardIterator@.+--+-- /See:/ 'newGetShardIterator' smart constructor.+data GetShardIterator = GetShardIterator'+ { -- | The sequence number of the data record in the shard from which to start+ -- reading. Used with shard iterator type AT_SEQUENCE_NUMBER and+ -- AFTER_SEQUENCE_NUMBER.+ startingSequenceNumber :: Prelude.Maybe Prelude.Text,+ -- | The ARN of the stream.+ streamARN :: Prelude.Maybe Prelude.Text,+ -- | The name of the Amazon Kinesis data stream.+ streamName :: Prelude.Maybe Prelude.Text,+ -- | The time stamp of the data record from which to start reading. Used with+ -- shard iterator type AT_TIMESTAMP. A time stamp is the Unix epoch date+ -- with precision in milliseconds. For example,+ -- @2016-04-04T19:58:46.480-00:00@ or @1459799926.480@. If a record with+ -- this exact time stamp does not exist, the iterator returned is for the+ -- next (later) record. If the time stamp is older than the current trim+ -- horizon, the iterator returned is for the oldest untrimmed data record+ -- (TRIM_HORIZON).+ timestamp :: Prelude.Maybe Data.POSIX,+ -- | The shard ID of the Kinesis Data Streams shard to get the iterator for.+ shardId :: Prelude.Text,+ -- | Determines how the shard iterator is used to start reading data records+ -- from the shard.+ --+ -- The following are the valid Amazon Kinesis shard iterator types:+ --+ -- - AT_SEQUENCE_NUMBER - Start reading from the position denoted by a+ -- specific sequence number, provided in the value+ -- @StartingSequenceNumber@.+ --+ -- - AFTER_SEQUENCE_NUMBER - Start reading right after the position+ -- denoted by a specific sequence number, provided in the value+ -- @StartingSequenceNumber@.+ --+ -- - AT_TIMESTAMP - Start reading from the position denoted by a specific+ -- time stamp, provided in the value @Timestamp@.+ --+ -- - TRIM_HORIZON - Start reading at the last untrimmed record in the+ -- shard in the system, which is the oldest data record in the shard.+ --+ -- - LATEST - Start reading just after the most recent record in the+ -- shard, so that you always read the most recent data in the shard.+ shardIteratorType :: ShardIteratorType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetShardIterator' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'startingSequenceNumber', 'getShardIterator_startingSequenceNumber' - The sequence number of the data record in the shard from which to start+-- reading. Used with shard iterator type AT_SEQUENCE_NUMBER and+-- AFTER_SEQUENCE_NUMBER.+--+-- 'streamARN', 'getShardIterator_streamARN' - The ARN of the stream.+--+-- 'streamName', 'getShardIterator_streamName' - The name of the Amazon Kinesis data stream.+--+-- 'timestamp', 'getShardIterator_timestamp' - The time stamp of the data record from which to start reading. Used with+-- shard iterator type AT_TIMESTAMP. A time stamp is the Unix epoch date+-- with precision in milliseconds. For example,+-- @2016-04-04T19:58:46.480-00:00@ or @1459799926.480@. If a record with+-- this exact time stamp does not exist, the iterator returned is for the+-- next (later) record. If the time stamp is older than the current trim+-- horizon, the iterator returned is for the oldest untrimmed data record+-- (TRIM_HORIZON).+--+-- 'shardId', 'getShardIterator_shardId' - The shard ID of the Kinesis Data Streams shard to get the iterator for.+--+-- 'shardIteratorType', 'getShardIterator_shardIteratorType' - Determines how the shard iterator is used to start reading data records+-- from the shard.+--+-- The following are the valid Amazon Kinesis shard iterator types:+--+-- - AT_SEQUENCE_NUMBER - Start reading from the position denoted by a+-- specific sequence number, provided in the value+-- @StartingSequenceNumber@.+--+-- - AFTER_SEQUENCE_NUMBER - Start reading right after the position+-- denoted by a specific sequence number, provided in the value+-- @StartingSequenceNumber@.+--+-- - AT_TIMESTAMP - Start reading from the position denoted by a specific+-- time stamp, provided in the value @Timestamp@.+--+-- - TRIM_HORIZON - Start reading at the last untrimmed record in the+-- shard in the system, which is the oldest data record in the shard.+--+-- - LATEST - Start reading just after the most recent record in the+-- shard, so that you always read the most recent data in the shard.+newGetShardIterator ::+ -- | 'shardId'+ Prelude.Text ->+ -- | 'shardIteratorType'+ ShardIteratorType ->+ GetShardIterator+newGetShardIterator pShardId_ pShardIteratorType_ =+ GetShardIterator'+ { startingSequenceNumber =+ Prelude.Nothing,+ streamARN = Prelude.Nothing,+ streamName = Prelude.Nothing,+ timestamp = Prelude.Nothing,+ shardId = pShardId_,+ shardIteratorType = pShardIteratorType_+ }++-- | The sequence number of the data record in the shard from which to start+-- reading. Used with shard iterator type AT_SEQUENCE_NUMBER and+-- AFTER_SEQUENCE_NUMBER.+getShardIterator_startingSequenceNumber :: Lens.Lens' GetShardIterator (Prelude.Maybe Prelude.Text)+getShardIterator_startingSequenceNumber = Lens.lens (\GetShardIterator' {startingSequenceNumber} -> startingSequenceNumber) (\s@GetShardIterator' {} a -> s {startingSequenceNumber = a} :: GetShardIterator)++-- | The ARN of the stream.+getShardIterator_streamARN :: Lens.Lens' GetShardIterator (Prelude.Maybe Prelude.Text)+getShardIterator_streamARN = Lens.lens (\GetShardIterator' {streamARN} -> streamARN) (\s@GetShardIterator' {} a -> s {streamARN = a} :: GetShardIterator)++-- | The name of the Amazon Kinesis data stream.+getShardIterator_streamName :: Lens.Lens' GetShardIterator (Prelude.Maybe Prelude.Text)+getShardIterator_streamName = Lens.lens (\GetShardIterator' {streamName} -> streamName) (\s@GetShardIterator' {} a -> s {streamName = a} :: GetShardIterator)++-- | The time stamp of the data record from which to start reading. Used with+-- shard iterator type AT_TIMESTAMP. A time stamp is the Unix epoch date+-- with precision in milliseconds. For example,+-- @2016-04-04T19:58:46.480-00:00@ or @1459799926.480@. If a record with+-- this exact time stamp does not exist, the iterator returned is for the+-- next (later) record. If the time stamp is older than the current trim+-- horizon, the iterator returned is for the oldest untrimmed data record+-- (TRIM_HORIZON).+getShardIterator_timestamp :: Lens.Lens' GetShardIterator (Prelude.Maybe Prelude.UTCTime)+getShardIterator_timestamp = Lens.lens (\GetShardIterator' {timestamp} -> timestamp) (\s@GetShardIterator' {} a -> s {timestamp = a} :: GetShardIterator) Prelude.. Lens.mapping Data._Time++-- | The shard ID of the Kinesis Data Streams shard to get the iterator for.+getShardIterator_shardId :: Lens.Lens' GetShardIterator Prelude.Text+getShardIterator_shardId = Lens.lens (\GetShardIterator' {shardId} -> shardId) (\s@GetShardIterator' {} a -> s {shardId = a} :: GetShardIterator)++-- | Determines how the shard iterator is used to start reading data records+-- from the shard.+--+-- The following are the valid Amazon Kinesis shard iterator types:+--+-- - AT_SEQUENCE_NUMBER - Start reading from the position denoted by a+-- specific sequence number, provided in the value+-- @StartingSequenceNumber@.+--+-- - AFTER_SEQUENCE_NUMBER - Start reading right after the position+-- denoted by a specific sequence number, provided in the value+-- @StartingSequenceNumber@.+--+-- - AT_TIMESTAMP - Start reading from the position denoted by a specific+-- time stamp, provided in the value @Timestamp@.+--+-- - TRIM_HORIZON - Start reading at the last untrimmed record in the+-- shard in the system, which is the oldest data record in the shard.+--+-- - LATEST - Start reading just after the most recent record in the+-- shard, so that you always read the most recent data in the shard.+getShardIterator_shardIteratorType :: Lens.Lens' GetShardIterator ShardIteratorType+getShardIterator_shardIteratorType = Lens.lens (\GetShardIterator' {shardIteratorType} -> shardIteratorType) (\s@GetShardIterator' {} a -> s {shardIteratorType = a} :: GetShardIterator)++instance Core.AWSRequest GetShardIterator where+ type+ AWSResponse GetShardIterator =+ GetShardIteratorResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetShardIteratorResponse'+ Prelude.<$> (x Data..?> "ShardIterator")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetShardIterator where+ hashWithSalt _salt GetShardIterator' {..} =+ _salt+ `Prelude.hashWithSalt` startingSequenceNumber+ `Prelude.hashWithSalt` streamARN+ `Prelude.hashWithSalt` streamName+ `Prelude.hashWithSalt` timestamp+ `Prelude.hashWithSalt` shardId+ `Prelude.hashWithSalt` shardIteratorType++instance Prelude.NFData GetShardIterator where+ rnf GetShardIterator' {..} =+ Prelude.rnf startingSequenceNumber+ `Prelude.seq` Prelude.rnf streamARN+ `Prelude.seq` Prelude.rnf streamName+ `Prelude.seq` Prelude.rnf timestamp+ `Prelude.seq` Prelude.rnf shardId+ `Prelude.seq` Prelude.rnf shardIteratorType++instance Data.ToHeaders GetShardIterator where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "Kinesis_20131202.GetShardIterator" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetShardIterator where+ toJSON GetShardIterator' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("StartingSequenceNumber" Data..=)+ Prelude.<$> startingSequenceNumber,+ ("StreamARN" Data..=) Prelude.<$> streamARN,+ ("StreamName" Data..=) Prelude.<$> streamName,+ ("Timestamp" Data..=) Prelude.<$> timestamp,+ Prelude.Just ("ShardId" Data..= shardId),+ Prelude.Just+ ("ShardIteratorType" Data..= shardIteratorType)+ ]+ )++instance Data.ToPath GetShardIterator where+ toPath = Prelude.const "/"++instance Data.ToQuery GetShardIterator where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the output for @GetShardIterator@.+--+-- /See:/ 'newGetShardIteratorResponse' smart constructor.+data GetShardIteratorResponse = GetShardIteratorResponse'+ { -- | The position in the shard from which to start reading data records+ -- sequentially. A shard iterator specifies this position using the+ -- sequence number of a data record in a shard.+ shardIterator :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetShardIteratorResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'shardIterator', 'getShardIteratorResponse_shardIterator' - The position in the shard from which to start reading data records+-- sequentially. A shard iterator specifies this position using the+-- sequence number of a data record in a shard.+--+-- 'httpStatus', 'getShardIteratorResponse_httpStatus' - The response's http status code.+newGetShardIteratorResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetShardIteratorResponse+newGetShardIteratorResponse pHttpStatus_ =+ GetShardIteratorResponse'+ { shardIterator =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The position in the shard from which to start reading data records+-- sequentially. A shard iterator specifies this position using the+-- sequence number of a data record in a shard.+getShardIteratorResponse_shardIterator :: Lens.Lens' GetShardIteratorResponse (Prelude.Maybe Prelude.Text)+getShardIteratorResponse_shardIterator = Lens.lens (\GetShardIteratorResponse' {shardIterator} -> shardIterator) (\s@GetShardIteratorResponse' {} a -> s {shardIterator = a} :: GetShardIteratorResponse)++-- | The response's http status code.+getShardIteratorResponse_httpStatus :: Lens.Lens' GetShardIteratorResponse Prelude.Int+getShardIteratorResponse_httpStatus = Lens.lens (\GetShardIteratorResponse' {httpStatus} -> httpStatus) (\s@GetShardIteratorResponse' {} a -> s {httpStatus = a} :: GetShardIteratorResponse)++instance Prelude.NFData GetShardIteratorResponse where+ rnf GetShardIteratorResponse' {..} =+ Prelude.rnf shardIterator+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Kinesis/IncreaseStreamRetentionPeriod.hs view
@@ -0,0 +1,199 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.IncreaseStreamRetentionPeriod+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Increases the Kinesis data stream\'s retention period, which is the+-- length of time data records are accessible after they are added to the+-- stream. The maximum value of a stream\'s retention period is 8760 hours+-- (365 days).+--+-- When invoking this API, it is recommended you use the @StreamARN@ input+-- parameter rather than the @StreamName@ input parameter.+--+-- If you choose a longer stream retention period, this operation increases+-- the time period during which records that have not yet expired are+-- accessible. However, it does not make previous, expired data (older than+-- the stream\'s previous retention period) accessible after the operation+-- has been called. For example, if a stream\'s retention period is set to+-- 24 hours and is increased to 168 hours, any data that is older than 24+-- hours remains inaccessible to consumer applications.+module Amazonka.Kinesis.IncreaseStreamRetentionPeriod+ ( -- * Creating a Request+ IncreaseStreamRetentionPeriod (..),+ newIncreaseStreamRetentionPeriod,++ -- * Request Lenses+ increaseStreamRetentionPeriod_streamARN,+ increaseStreamRetentionPeriod_streamName,+ increaseStreamRetentionPeriod_retentionPeriodHours,++ -- * Destructuring the Response+ IncreaseStreamRetentionPeriodResponse (..),+ newIncreaseStreamRetentionPeriodResponse,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Represents the input for IncreaseStreamRetentionPeriod.+--+-- /See:/ 'newIncreaseStreamRetentionPeriod' smart constructor.+data IncreaseStreamRetentionPeriod = IncreaseStreamRetentionPeriod'+ { -- | The ARN of the stream.+ streamARN :: Prelude.Maybe Prelude.Text,+ -- | The name of the stream to modify.+ streamName :: Prelude.Maybe Prelude.Text,+ -- | The new retention period of the stream, in hours. Must be more than the+ -- current retention period.+ retentionPeriodHours :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'IncreaseStreamRetentionPeriod' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'streamARN', 'increaseStreamRetentionPeriod_streamARN' - The ARN of the stream.+--+-- 'streamName', 'increaseStreamRetentionPeriod_streamName' - The name of the stream to modify.+--+-- 'retentionPeriodHours', 'increaseStreamRetentionPeriod_retentionPeriodHours' - The new retention period of the stream, in hours. Must be more than the+-- current retention period.+newIncreaseStreamRetentionPeriod ::+ -- | 'retentionPeriodHours'+ Prelude.Int ->+ IncreaseStreamRetentionPeriod+newIncreaseStreamRetentionPeriod+ pRetentionPeriodHours_ =+ IncreaseStreamRetentionPeriod'+ { streamARN =+ Prelude.Nothing,+ streamName = Prelude.Nothing,+ retentionPeriodHours =+ pRetentionPeriodHours_+ }++-- | The ARN of the stream.+increaseStreamRetentionPeriod_streamARN :: Lens.Lens' IncreaseStreamRetentionPeriod (Prelude.Maybe Prelude.Text)+increaseStreamRetentionPeriod_streamARN = Lens.lens (\IncreaseStreamRetentionPeriod' {streamARN} -> streamARN) (\s@IncreaseStreamRetentionPeriod' {} a -> s {streamARN = a} :: IncreaseStreamRetentionPeriod)++-- | The name of the stream to modify.+increaseStreamRetentionPeriod_streamName :: Lens.Lens' IncreaseStreamRetentionPeriod (Prelude.Maybe Prelude.Text)+increaseStreamRetentionPeriod_streamName = Lens.lens (\IncreaseStreamRetentionPeriod' {streamName} -> streamName) (\s@IncreaseStreamRetentionPeriod' {} a -> s {streamName = a} :: IncreaseStreamRetentionPeriod)++-- | The new retention period of the stream, in hours. Must be more than the+-- current retention period.+increaseStreamRetentionPeriod_retentionPeriodHours :: Lens.Lens' IncreaseStreamRetentionPeriod Prelude.Int+increaseStreamRetentionPeriod_retentionPeriodHours = Lens.lens (\IncreaseStreamRetentionPeriod' {retentionPeriodHours} -> retentionPeriodHours) (\s@IncreaseStreamRetentionPeriod' {} a -> s {retentionPeriodHours = a} :: IncreaseStreamRetentionPeriod)++instance+ Core.AWSRequest+ IncreaseStreamRetentionPeriod+ where+ type+ AWSResponse IncreaseStreamRetentionPeriod =+ IncreaseStreamRetentionPeriodResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveNull+ IncreaseStreamRetentionPeriodResponse'++instance+ Prelude.Hashable+ IncreaseStreamRetentionPeriod+ where+ hashWithSalt _salt IncreaseStreamRetentionPeriod' {..} =+ _salt+ `Prelude.hashWithSalt` streamARN+ `Prelude.hashWithSalt` streamName+ `Prelude.hashWithSalt` retentionPeriodHours++instance Prelude.NFData IncreaseStreamRetentionPeriod where+ rnf IncreaseStreamRetentionPeriod' {..} =+ Prelude.rnf streamARN+ `Prelude.seq` Prelude.rnf streamName+ `Prelude.seq` Prelude.rnf retentionPeriodHours++instance Data.ToHeaders IncreaseStreamRetentionPeriod where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "Kinesis_20131202.IncreaseStreamRetentionPeriod" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON IncreaseStreamRetentionPeriod where+ toJSON IncreaseStreamRetentionPeriod' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("StreamARN" Data..=) Prelude.<$> streamARN,+ ("StreamName" Data..=) Prelude.<$> streamName,+ Prelude.Just+ ( "RetentionPeriodHours"+ Data..= retentionPeriodHours+ )+ ]+ )++instance Data.ToPath IncreaseStreamRetentionPeriod where+ toPath = Prelude.const "/"++instance Data.ToQuery IncreaseStreamRetentionPeriod where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newIncreaseStreamRetentionPeriodResponse' smart constructor.+data IncreaseStreamRetentionPeriodResponse = IncreaseStreamRetentionPeriodResponse'+ {+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'IncreaseStreamRetentionPeriodResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newIncreaseStreamRetentionPeriodResponse ::+ IncreaseStreamRetentionPeriodResponse+newIncreaseStreamRetentionPeriodResponse =+ IncreaseStreamRetentionPeriodResponse'++instance+ Prelude.NFData+ IncreaseStreamRetentionPeriodResponse+ where+ rnf _ = ()
+ gen/Amazonka/Kinesis/Lens.hs view
@@ -0,0 +1,398 @@+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Lens+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Lens+ ( -- * Operations++ -- ** AddTagsToStream+ addTagsToStream_streamARN,+ addTagsToStream_streamName,+ addTagsToStream_tags,++ -- ** CreateStream+ createStream_shardCount,+ createStream_streamModeDetails,+ createStream_streamName,++ -- ** DecreaseStreamRetentionPeriod+ decreaseStreamRetentionPeriod_streamARN,+ decreaseStreamRetentionPeriod_streamName,+ decreaseStreamRetentionPeriod_retentionPeriodHours,++ -- ** DeleteStream+ deleteStream_enforceConsumerDeletion,+ deleteStream_streamARN,+ deleteStream_streamName,++ -- ** DeregisterStreamConsumer+ deregisterStreamConsumer_consumerARN,+ deregisterStreamConsumer_consumerName,+ deregisterStreamConsumer_streamARN,++ -- ** DescribeLimits+ describeLimitsResponse_httpStatus,+ describeLimitsResponse_shardLimit,+ describeLimitsResponse_openShardCount,+ describeLimitsResponse_onDemandStreamCount,+ describeLimitsResponse_onDemandStreamCountLimit,++ -- ** DescribeStream+ describeStream_exclusiveStartShardId,+ describeStream_limit,+ describeStream_streamARN,+ describeStream_streamName,+ describeStreamResponse_httpStatus,+ describeStreamResponse_streamDescription,++ -- ** DescribeStreamConsumer+ describeStreamConsumer_consumerARN,+ describeStreamConsumer_consumerName,+ describeStreamConsumer_streamARN,+ describeStreamConsumerResponse_httpStatus,+ describeStreamConsumerResponse_consumerDescription,++ -- ** DescribeStreamSummary+ describeStreamSummary_streamARN,+ describeStreamSummary_streamName,+ describeStreamSummaryResponse_httpStatus,+ describeStreamSummaryResponse_streamDescriptionSummary,++ -- ** DisableEnhancedMonitoring+ disableEnhancedMonitoring_streamARN,+ disableEnhancedMonitoring_streamName,+ disableEnhancedMonitoring_shardLevelMetrics,+ enhancedMonitoringOutput_currentShardLevelMetrics,+ enhancedMonitoringOutput_desiredShardLevelMetrics,+ enhancedMonitoringOutput_streamARN,+ enhancedMonitoringOutput_streamName,++ -- ** EnableEnhancedMonitoring+ enableEnhancedMonitoring_streamARN,+ enableEnhancedMonitoring_streamName,+ enableEnhancedMonitoring_shardLevelMetrics,+ enhancedMonitoringOutput_currentShardLevelMetrics,+ enhancedMonitoringOutput_desiredShardLevelMetrics,+ enhancedMonitoringOutput_streamARN,+ enhancedMonitoringOutput_streamName,++ -- ** GetRecords+ getRecords_limit,+ getRecords_streamARN,+ getRecords_shardIterator,+ getRecordsResponse_childShards,+ getRecordsResponse_millisBehindLatest,+ getRecordsResponse_nextShardIterator,+ getRecordsResponse_httpStatus,+ getRecordsResponse_records,++ -- ** GetShardIterator+ getShardIterator_startingSequenceNumber,+ getShardIterator_streamARN,+ getShardIterator_streamName,+ getShardIterator_timestamp,+ getShardIterator_shardId,+ getShardIterator_shardIteratorType,+ getShardIteratorResponse_shardIterator,+ getShardIteratorResponse_httpStatus,++ -- ** IncreaseStreamRetentionPeriod+ increaseStreamRetentionPeriod_streamARN,+ increaseStreamRetentionPeriod_streamName,+ increaseStreamRetentionPeriod_retentionPeriodHours,++ -- ** ListShards+ listShards_exclusiveStartShardId,+ listShards_maxResults,+ listShards_nextToken,+ listShards_shardFilter,+ listShards_streamARN,+ listShards_streamCreationTimestamp,+ listShards_streamName,+ listShardsResponse_nextToken,+ listShardsResponse_shards,+ listShardsResponse_httpStatus,++ -- ** ListStreamConsumers+ listStreamConsumers_maxResults,+ listStreamConsumers_nextToken,+ listStreamConsumers_streamCreationTimestamp,+ listStreamConsumers_streamARN,+ listStreamConsumersResponse_consumers,+ listStreamConsumersResponse_nextToken,+ listStreamConsumersResponse_httpStatus,++ -- ** ListStreams+ listStreams_exclusiveStartStreamName,+ listStreams_limit,+ listStreams_nextToken,+ listStreamsResponse_nextToken,+ listStreamsResponse_streamSummaries,+ listStreamsResponse_httpStatus,+ listStreamsResponse_streamNames,+ listStreamsResponse_hasMoreStreams,++ -- ** ListTagsForStream+ listTagsForStream_exclusiveStartTagKey,+ listTagsForStream_limit,+ listTagsForStream_streamARN,+ listTagsForStream_streamName,+ listTagsForStreamResponse_httpStatus,+ listTagsForStreamResponse_tags,+ listTagsForStreamResponse_hasMoreTags,++ -- ** MergeShards+ mergeShards_streamARN,+ mergeShards_streamName,+ mergeShards_shardToMerge,+ mergeShards_adjacentShardToMerge,++ -- ** PutRecord+ putRecord_explicitHashKey,+ putRecord_sequenceNumberForOrdering,+ putRecord_streamARN,+ putRecord_streamName,+ putRecord_data,+ putRecord_partitionKey,+ putRecordResponse_encryptionType,+ putRecordResponse_httpStatus,+ putRecordResponse_shardId,+ putRecordResponse_sequenceNumber,++ -- ** PutRecords+ putRecords_streamARN,+ putRecords_streamName,+ putRecords_records,+ putRecordsResponse_encryptionType,+ putRecordsResponse_failedRecordCount,+ putRecordsResponse_httpStatus,+ putRecordsResponse_records,++ -- ** RegisterStreamConsumer+ registerStreamConsumer_streamARN,+ registerStreamConsumer_consumerName,+ registerStreamConsumerResponse_httpStatus,+ registerStreamConsumerResponse_consumer,++ -- ** RemoveTagsFromStream+ removeTagsFromStream_streamARN,+ removeTagsFromStream_streamName,+ removeTagsFromStream_tagKeys,++ -- ** SplitShard+ splitShard_streamARN,+ splitShard_streamName,+ splitShard_shardToSplit,+ splitShard_newStartingHashKey,++ -- ** StartStreamEncryption+ startStreamEncryption_streamARN,+ startStreamEncryption_streamName,+ startStreamEncryption_encryptionType,+ startStreamEncryption_keyId,++ -- ** StopStreamEncryption+ stopStreamEncryption_streamARN,+ stopStreamEncryption_streamName,+ stopStreamEncryption_encryptionType,+ stopStreamEncryption_keyId,++ -- ** SubscribeToShard+ subscribeToShard_consumerARN,+ subscribeToShard_shardId,+ subscribeToShard_startingPosition,+ subscribeToShardResponse_httpStatus,+ subscribeToShardResponse_eventStream,++ -- ** UpdateShardCount+ updateShardCount_streamARN,+ updateShardCount_streamName,+ updateShardCount_targetShardCount,+ updateShardCount_scalingType,+ updateShardCountResponse_currentShardCount,+ updateShardCountResponse_streamARN,+ updateShardCountResponse_streamName,+ updateShardCountResponse_targetShardCount,+ updateShardCountResponse_httpStatus,++ -- ** UpdateStreamMode+ updateStreamMode_streamARN,+ updateStreamMode_streamModeDetails,++ -- * Types++ -- ** ChildShard+ childShard_shardId,+ childShard_parentShards,+ childShard_hashKeyRange,++ -- ** Consumer+ consumer_consumerName,+ consumer_consumerARN,+ consumer_consumerStatus,+ consumer_consumerCreationTimestamp,++ -- ** ConsumerDescription+ consumerDescription_consumerName,+ consumerDescription_consumerARN,+ consumerDescription_consumerStatus,+ consumerDescription_consumerCreationTimestamp,+ consumerDescription_streamARN,++ -- ** EnhancedMetrics+ enhancedMetrics_shardLevelMetrics,++ -- ** EnhancedMonitoringOutput+ enhancedMonitoringOutput_currentShardLevelMetrics,+ enhancedMonitoringOutput_desiredShardLevelMetrics,+ enhancedMonitoringOutput_streamARN,+ enhancedMonitoringOutput_streamName,++ -- ** HashKeyRange+ hashKeyRange_startingHashKey,+ hashKeyRange_endingHashKey,++ -- ** PutRecordsRequestEntry+ putRecordsRequestEntry_explicitHashKey,+ putRecordsRequestEntry_data,+ putRecordsRequestEntry_partitionKey,++ -- ** PutRecordsResultEntry+ putRecordsResultEntry_errorCode,+ putRecordsResultEntry_errorMessage,+ putRecordsResultEntry_sequenceNumber,+ putRecordsResultEntry_shardId,++ -- ** Record+ record_approximateArrivalTimestamp,+ record_encryptionType,+ record_sequenceNumber,+ record_data,+ record_partitionKey,++ -- ** SequenceNumberRange+ sequenceNumberRange_endingSequenceNumber,+ sequenceNumberRange_startingSequenceNumber,++ -- ** Shard+ shard_adjacentParentShardId,+ shard_parentShardId,+ shard_shardId,+ shard_hashKeyRange,+ shard_sequenceNumberRange,++ -- ** ShardFilter+ shardFilter_shardId,+ shardFilter_timestamp,+ shardFilter_type,++ -- ** StartingPosition+ startingPosition_sequenceNumber,+ startingPosition_timestamp,+ startingPosition_type,++ -- ** StreamDescription+ streamDescription_encryptionType,+ streamDescription_keyId,+ streamDescription_streamModeDetails,+ streamDescription_streamName,+ streamDescription_streamARN,+ streamDescription_streamStatus,+ streamDescription_shards,+ streamDescription_hasMoreShards,+ streamDescription_retentionPeriodHours,+ streamDescription_streamCreationTimestamp,+ streamDescription_enhancedMonitoring,++ -- ** StreamDescriptionSummary+ streamDescriptionSummary_consumerCount,+ streamDescriptionSummary_encryptionType,+ streamDescriptionSummary_keyId,+ streamDescriptionSummary_streamModeDetails,+ streamDescriptionSummary_streamName,+ streamDescriptionSummary_streamARN,+ streamDescriptionSummary_streamStatus,+ streamDescriptionSummary_retentionPeriodHours,+ streamDescriptionSummary_streamCreationTimestamp,+ streamDescriptionSummary_enhancedMonitoring,+ streamDescriptionSummary_openShardCount,++ -- ** StreamModeDetails+ streamModeDetails_streamMode,++ -- ** StreamSummary+ streamSummary_streamCreationTimestamp,+ streamSummary_streamModeDetails,+ streamSummary_streamName,+ streamSummary_streamARN,+ streamSummary_streamStatus,++ -- ** SubscribeToShardEvent+ subscribeToShardEvent_childShards,+ subscribeToShardEvent_records,+ subscribeToShardEvent_continuationSequenceNumber,+ subscribeToShardEvent_millisBehindLatest,++ -- ** Tag+ tag_value,+ tag_key,+ )+where++import Amazonka.Kinesis.AddTagsToStream+import Amazonka.Kinesis.CreateStream+import Amazonka.Kinesis.DecreaseStreamRetentionPeriod+import Amazonka.Kinesis.DeleteStream+import Amazonka.Kinesis.DeregisterStreamConsumer+import Amazonka.Kinesis.DescribeLimits+import Amazonka.Kinesis.DescribeStream+import Amazonka.Kinesis.DescribeStreamConsumer+import Amazonka.Kinesis.DescribeStreamSummary+import Amazonka.Kinesis.DisableEnhancedMonitoring+import Amazonka.Kinesis.EnableEnhancedMonitoring+import Amazonka.Kinesis.GetRecords+import Amazonka.Kinesis.GetShardIterator+import Amazonka.Kinesis.IncreaseStreamRetentionPeriod+import Amazonka.Kinesis.ListShards+import Amazonka.Kinesis.ListStreamConsumers+import Amazonka.Kinesis.ListStreams+import Amazonka.Kinesis.ListTagsForStream+import Amazonka.Kinesis.MergeShards+import Amazonka.Kinesis.PutRecord+import Amazonka.Kinesis.PutRecords+import Amazonka.Kinesis.RegisterStreamConsumer+import Amazonka.Kinesis.RemoveTagsFromStream+import Amazonka.Kinesis.SplitShard+import Amazonka.Kinesis.StartStreamEncryption+import Amazonka.Kinesis.StopStreamEncryption+import Amazonka.Kinesis.SubscribeToShard+import Amazonka.Kinesis.Types.ChildShard+import Amazonka.Kinesis.Types.Consumer+import Amazonka.Kinesis.Types.ConsumerDescription+import Amazonka.Kinesis.Types.EnhancedMetrics+import Amazonka.Kinesis.Types.EnhancedMonitoringOutput+import Amazonka.Kinesis.Types.HashKeyRange+import Amazonka.Kinesis.Types.PutRecordsRequestEntry+import Amazonka.Kinesis.Types.PutRecordsResultEntry+import Amazonka.Kinesis.Types.Record+import Amazonka.Kinesis.Types.SequenceNumberRange+import Amazonka.Kinesis.Types.Shard+import Amazonka.Kinesis.Types.ShardFilter+import Amazonka.Kinesis.Types.StartingPosition+import Amazonka.Kinesis.Types.StreamDescription+import Amazonka.Kinesis.Types.StreamDescriptionSummary+import Amazonka.Kinesis.Types.StreamModeDetails+import Amazonka.Kinesis.Types.StreamSummary+import Amazonka.Kinesis.Types.SubscribeToShardEvent+import Amazonka.Kinesis.Types.Tag+import Amazonka.Kinesis.UpdateShardCount+import Amazonka.Kinesis.UpdateStreamMode
+ gen/Amazonka/Kinesis/ListShards.hs view
@@ -0,0 +1,546 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.ListShards+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the shards in a stream and provides information about each shard.+-- This operation has a limit of 1000 transactions per second per data+-- stream.+--+-- When invoking this API, it is recommended you use the @StreamARN@ input+-- parameter rather than the @StreamName@ input parameter.+--+-- This action does not list expired shards. For information about expired+-- shards, see+-- <https://docs.aws.amazon.com/streams/latest/dev/kinesis-using-sdk-java-after-resharding.html#kinesis-using-sdk-java-resharding-data-routing Data Routing, Data Persistence, and Shard State after a Reshard>.+--+-- This API is a new operation that is used by the Amazon Kinesis Client+-- Library (KCL). If you have a fine-grained IAM policy that only allows+-- specific operations, you must update your policy to allow calls to this+-- API. For more information, see+-- <https://docs.aws.amazon.com/streams/latest/dev/controlling-access.html Controlling Access to Amazon Kinesis Data Streams Resources Using IAM>.+--+-- This operation returns paginated results.+module Amazonka.Kinesis.ListShards+ ( -- * Creating a Request+ ListShards (..),+ newListShards,++ -- * Request Lenses+ listShards_exclusiveStartShardId,+ listShards_maxResults,+ listShards_nextToken,+ listShards_shardFilter,+ listShards_streamARN,+ listShards_streamCreationTimestamp,+ listShards_streamName,++ -- * Destructuring the Response+ ListShardsResponse (..),+ newListShardsResponse,++ -- * Response Lenses+ listShardsResponse_nextToken,+ listShardsResponse_shards,+ listShardsResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListShards' smart constructor.+data ListShards = ListShards'+ { -- | Specify this parameter to indicate that you want to list the shards+ -- starting with the shard whose ID immediately follows+ -- @ExclusiveStartShardId@.+ --+ -- If you don\'t specify this parameter, the default behavior is for+ -- @ListShards@ to list the shards starting with the first one in the+ -- stream.+ --+ -- You cannot specify this parameter if you specify @NextToken@.+ exclusiveStartShardId :: Prelude.Maybe Prelude.Text,+ -- | The maximum number of shards to return in a single call to @ListShards@.+ -- The maximum number of shards to return in a single call. The default+ -- value is 1000. If you specify a value greater than 1000, at most 1000+ -- results are returned.+ --+ -- When the number of shards to be listed is greater than the value of+ -- @MaxResults@, the response contains a @NextToken@ value that you can use+ -- in a subsequent call to @ListShards@ to list the next set of shards.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | When the number of shards in the data stream is greater than the default+ -- value for the @MaxResults@ parameter, or if you explicitly specify a+ -- value for @MaxResults@ that is less than the number of shards in the+ -- data stream, the response includes a pagination token named @NextToken@.+ -- You can specify this @NextToken@ value in a subsequent call to+ -- @ListShards@ to list the next set of shards.+ --+ -- Don\'t specify @StreamName@ or @StreamCreationTimestamp@ if you specify+ -- @NextToken@ because the latter unambiguously identifies the stream.+ --+ -- You can optionally specify a value for the @MaxResults@ parameter when+ -- you specify @NextToken@. If you specify a @MaxResults@ value that is+ -- less than the number of shards that the operation returns if you don\'t+ -- specify @MaxResults@, the response will contain a new @NextToken@ value.+ -- You can use the new @NextToken@ value in a subsequent call to the+ -- @ListShards@ operation.+ --+ -- Tokens expire after 300 seconds. When you obtain a value for @NextToken@+ -- in the response to a call to @ListShards@, you have 300 seconds to use+ -- that value. If you specify an expired token in a call to @ListShards@,+ -- you get @ExpiredNextTokenException@.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | Enables you to filter out the response of the @ListShards@ API. You can+ -- only specify one filter at a time.+ --+ -- If you use the @ShardFilter@ parameter when invoking the ListShards API,+ -- the @Type@ is the required property and must be specified. If you+ -- specify the @AT_TRIM_HORIZON@, @FROM_TRIM_HORIZON@, or @AT_LATEST@+ -- types, you do not need to specify either the @ShardId@ or the+ -- @Timestamp@ optional properties.+ --+ -- If you specify the @AFTER_SHARD_ID@ type, you must also provide the+ -- value for the optional @ShardId@ property. The @ShardId@ property is+ -- identical in fuctionality to the @ExclusiveStartShardId@ parameter of+ -- the @ListShards@ API. When @ShardId@ property is specified, the response+ -- includes the shards starting with the shard whose ID immediately follows+ -- the @ShardId@ that you provided.+ --+ -- If you specify the @AT_TIMESTAMP@ or @FROM_TIMESTAMP_ID@ type, you must+ -- also provide the value for the optional @Timestamp@ property. If you+ -- specify the AT_TIMESTAMP type, then all shards that were open at the+ -- provided timestamp are returned. If you specify the FROM_TIMESTAMP type,+ -- then all shards starting from the provided timestamp to TIP are+ -- returned.+ shardFilter :: Prelude.Maybe ShardFilter,+ -- | The ARN of the stream.+ streamARN :: Prelude.Maybe Prelude.Text,+ -- | Specify this input parameter to distinguish data streams that have the+ -- same name. For example, if you create a data stream and then delete it,+ -- and you later create another data stream with the same name, you can use+ -- this input parameter to specify which of the two streams you want to+ -- list the shards for.+ --+ -- You cannot specify this parameter if you specify the @NextToken@+ -- parameter.+ streamCreationTimestamp :: Prelude.Maybe Data.POSIX,+ -- | The name of the data stream whose shards you want to list.+ --+ -- You cannot specify this parameter if you specify the @NextToken@+ -- parameter.+ streamName :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListShards' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'exclusiveStartShardId', 'listShards_exclusiveStartShardId' - Specify this parameter to indicate that you want to list the shards+-- starting with the shard whose ID immediately follows+-- @ExclusiveStartShardId@.+--+-- If you don\'t specify this parameter, the default behavior is for+-- @ListShards@ to list the shards starting with the first one in the+-- stream.+--+-- You cannot specify this parameter if you specify @NextToken@.+--+-- 'maxResults', 'listShards_maxResults' - The maximum number of shards to return in a single call to @ListShards@.+-- The maximum number of shards to return in a single call. The default+-- value is 1000. If you specify a value greater than 1000, at most 1000+-- results are returned.+--+-- When the number of shards to be listed is greater than the value of+-- @MaxResults@, the response contains a @NextToken@ value that you can use+-- in a subsequent call to @ListShards@ to list the next set of shards.+--+-- 'nextToken', 'listShards_nextToken' - When the number of shards in the data stream is greater than the default+-- value for the @MaxResults@ parameter, or if you explicitly specify a+-- value for @MaxResults@ that is less than the number of shards in the+-- data stream, the response includes a pagination token named @NextToken@.+-- You can specify this @NextToken@ value in a subsequent call to+-- @ListShards@ to list the next set of shards.+--+-- Don\'t specify @StreamName@ or @StreamCreationTimestamp@ if you specify+-- @NextToken@ because the latter unambiguously identifies the stream.+--+-- You can optionally specify a value for the @MaxResults@ parameter when+-- you specify @NextToken@. If you specify a @MaxResults@ value that is+-- less than the number of shards that the operation returns if you don\'t+-- specify @MaxResults@, the response will contain a new @NextToken@ value.+-- You can use the new @NextToken@ value in a subsequent call to the+-- @ListShards@ operation.+--+-- Tokens expire after 300 seconds. When you obtain a value for @NextToken@+-- in the response to a call to @ListShards@, you have 300 seconds to use+-- that value. If you specify an expired token in a call to @ListShards@,+-- you get @ExpiredNextTokenException@.+--+-- 'shardFilter', 'listShards_shardFilter' - Enables you to filter out the response of the @ListShards@ API. You can+-- only specify one filter at a time.+--+-- If you use the @ShardFilter@ parameter when invoking the ListShards API,+-- the @Type@ is the required property and must be specified. If you+-- specify the @AT_TRIM_HORIZON@, @FROM_TRIM_HORIZON@, or @AT_LATEST@+-- types, you do not need to specify either the @ShardId@ or the+-- @Timestamp@ optional properties.+--+-- If you specify the @AFTER_SHARD_ID@ type, you must also provide the+-- value for the optional @ShardId@ property. The @ShardId@ property is+-- identical in fuctionality to the @ExclusiveStartShardId@ parameter of+-- the @ListShards@ API. When @ShardId@ property is specified, the response+-- includes the shards starting with the shard whose ID immediately follows+-- the @ShardId@ that you provided.+--+-- If you specify the @AT_TIMESTAMP@ or @FROM_TIMESTAMP_ID@ type, you must+-- also provide the value for the optional @Timestamp@ property. If you+-- specify the AT_TIMESTAMP type, then all shards that were open at the+-- provided timestamp are returned. If you specify the FROM_TIMESTAMP type,+-- then all shards starting from the provided timestamp to TIP are+-- returned.+--+-- 'streamARN', 'listShards_streamARN' - The ARN of the stream.+--+-- 'streamCreationTimestamp', 'listShards_streamCreationTimestamp' - Specify this input parameter to distinguish data streams that have the+-- same name. For example, if you create a data stream and then delete it,+-- and you later create another data stream with the same name, you can use+-- this input parameter to specify which of the two streams you want to+-- list the shards for.+--+-- You cannot specify this parameter if you specify the @NextToken@+-- parameter.+--+-- 'streamName', 'listShards_streamName' - The name of the data stream whose shards you want to list.+--+-- You cannot specify this parameter if you specify the @NextToken@+-- parameter.+newListShards ::+ ListShards+newListShards =+ ListShards'+ { exclusiveStartShardId =+ Prelude.Nothing,+ maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ shardFilter = Prelude.Nothing,+ streamARN = Prelude.Nothing,+ streamCreationTimestamp = Prelude.Nothing,+ streamName = Prelude.Nothing+ }++-- | Specify this parameter to indicate that you want to list the shards+-- starting with the shard whose ID immediately follows+-- @ExclusiveStartShardId@.+--+-- If you don\'t specify this parameter, the default behavior is for+-- @ListShards@ to list the shards starting with the first one in the+-- stream.+--+-- You cannot specify this parameter if you specify @NextToken@.+listShards_exclusiveStartShardId :: Lens.Lens' ListShards (Prelude.Maybe Prelude.Text)+listShards_exclusiveStartShardId = Lens.lens (\ListShards' {exclusiveStartShardId} -> exclusiveStartShardId) (\s@ListShards' {} a -> s {exclusiveStartShardId = a} :: ListShards)++-- | The maximum number of shards to return in a single call to @ListShards@.+-- The maximum number of shards to return in a single call. The default+-- value is 1000. If you specify a value greater than 1000, at most 1000+-- results are returned.+--+-- When the number of shards to be listed is greater than the value of+-- @MaxResults@, the response contains a @NextToken@ value that you can use+-- in a subsequent call to @ListShards@ to list the next set of shards.+listShards_maxResults :: Lens.Lens' ListShards (Prelude.Maybe Prelude.Natural)+listShards_maxResults = Lens.lens (\ListShards' {maxResults} -> maxResults) (\s@ListShards' {} a -> s {maxResults = a} :: ListShards)++-- | When the number of shards in the data stream is greater than the default+-- value for the @MaxResults@ parameter, or if you explicitly specify a+-- value for @MaxResults@ that is less than the number of shards in the+-- data stream, the response includes a pagination token named @NextToken@.+-- You can specify this @NextToken@ value in a subsequent call to+-- @ListShards@ to list the next set of shards.+--+-- Don\'t specify @StreamName@ or @StreamCreationTimestamp@ if you specify+-- @NextToken@ because the latter unambiguously identifies the stream.+--+-- You can optionally specify a value for the @MaxResults@ parameter when+-- you specify @NextToken@. If you specify a @MaxResults@ value that is+-- less than the number of shards that the operation returns if you don\'t+-- specify @MaxResults@, the response will contain a new @NextToken@ value.+-- You can use the new @NextToken@ value in a subsequent call to the+-- @ListShards@ operation.+--+-- Tokens expire after 300 seconds. When you obtain a value for @NextToken@+-- in the response to a call to @ListShards@, you have 300 seconds to use+-- that value. If you specify an expired token in a call to @ListShards@,+-- you get @ExpiredNextTokenException@.+listShards_nextToken :: Lens.Lens' ListShards (Prelude.Maybe Prelude.Text)+listShards_nextToken = Lens.lens (\ListShards' {nextToken} -> nextToken) (\s@ListShards' {} a -> s {nextToken = a} :: ListShards)++-- | Enables you to filter out the response of the @ListShards@ API. You can+-- only specify one filter at a time.+--+-- If you use the @ShardFilter@ parameter when invoking the ListShards API,+-- the @Type@ is the required property and must be specified. If you+-- specify the @AT_TRIM_HORIZON@, @FROM_TRIM_HORIZON@, or @AT_LATEST@+-- types, you do not need to specify either the @ShardId@ or the+-- @Timestamp@ optional properties.+--+-- If you specify the @AFTER_SHARD_ID@ type, you must also provide the+-- value for the optional @ShardId@ property. The @ShardId@ property is+-- identical in fuctionality to the @ExclusiveStartShardId@ parameter of+-- the @ListShards@ API. When @ShardId@ property is specified, the response+-- includes the shards starting with the shard whose ID immediately follows+-- the @ShardId@ that you provided.+--+-- If you specify the @AT_TIMESTAMP@ or @FROM_TIMESTAMP_ID@ type, you must+-- also provide the value for the optional @Timestamp@ property. If you+-- specify the AT_TIMESTAMP type, then all shards that were open at the+-- provided timestamp are returned. If you specify the FROM_TIMESTAMP type,+-- then all shards starting from the provided timestamp to TIP are+-- returned.+listShards_shardFilter :: Lens.Lens' ListShards (Prelude.Maybe ShardFilter)+listShards_shardFilter = Lens.lens (\ListShards' {shardFilter} -> shardFilter) (\s@ListShards' {} a -> s {shardFilter = a} :: ListShards)++-- | The ARN of the stream.+listShards_streamARN :: Lens.Lens' ListShards (Prelude.Maybe Prelude.Text)+listShards_streamARN = Lens.lens (\ListShards' {streamARN} -> streamARN) (\s@ListShards' {} a -> s {streamARN = a} :: ListShards)++-- | Specify this input parameter to distinguish data streams that have the+-- same name. For example, if you create a data stream and then delete it,+-- and you later create another data stream with the same name, you can use+-- this input parameter to specify which of the two streams you want to+-- list the shards for.+--+-- You cannot specify this parameter if you specify the @NextToken@+-- parameter.+listShards_streamCreationTimestamp :: Lens.Lens' ListShards (Prelude.Maybe Prelude.UTCTime)+listShards_streamCreationTimestamp = Lens.lens (\ListShards' {streamCreationTimestamp} -> streamCreationTimestamp) (\s@ListShards' {} a -> s {streamCreationTimestamp = a} :: ListShards) Prelude.. Lens.mapping Data._Time++-- | The name of the data stream whose shards you want to list.+--+-- You cannot specify this parameter if you specify the @NextToken@+-- parameter.+listShards_streamName :: Lens.Lens' ListShards (Prelude.Maybe Prelude.Text)+listShards_streamName = Lens.lens (\ListShards' {streamName} -> streamName) (\s@ListShards' {} a -> s {streamName = a} :: ListShards)++instance Core.AWSPager ListShards where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listShardsResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listShardsResponse_shards+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listShards_nextToken+ Lens..~ rs+ Lens.^? listShardsResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListShards where+ type AWSResponse ListShards = ListShardsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListShardsResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> (x Data..?> "Shards" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListShards where+ hashWithSalt _salt ListShards' {..} =+ _salt+ `Prelude.hashWithSalt` exclusiveStartShardId+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` shardFilter+ `Prelude.hashWithSalt` streamARN+ `Prelude.hashWithSalt` streamCreationTimestamp+ `Prelude.hashWithSalt` streamName++instance Prelude.NFData ListShards where+ rnf ListShards' {..} =+ Prelude.rnf exclusiveStartShardId+ `Prelude.seq` Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf shardFilter+ `Prelude.seq` Prelude.rnf streamARN+ `Prelude.seq` Prelude.rnf streamCreationTimestamp+ `Prelude.seq` Prelude.rnf streamName++instance Data.ToHeaders ListShards where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "Kinesis_20131202.ListShards" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListShards where+ toJSON ListShards' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ExclusiveStartShardId" Data..=)+ Prelude.<$> exclusiveStartShardId,+ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ ("ShardFilter" Data..=) Prelude.<$> shardFilter,+ ("StreamARN" Data..=) Prelude.<$> streamARN,+ ("StreamCreationTimestamp" Data..=)+ Prelude.<$> streamCreationTimestamp,+ ("StreamName" Data..=) Prelude.<$> streamName+ ]+ )++instance Data.ToPath ListShards where+ toPath = Prelude.const "/"++instance Data.ToQuery ListShards where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListShardsResponse' smart constructor.+data ListShardsResponse = ListShardsResponse'+ { -- | When the number of shards in the data stream is greater than the default+ -- value for the @MaxResults@ parameter, or if you explicitly specify a+ -- value for @MaxResults@ that is less than the number of shards in the+ -- data stream, the response includes a pagination token named @NextToken@.+ -- You can specify this @NextToken@ value in a subsequent call to+ -- @ListShards@ to list the next set of shards. For more information about+ -- the use of this pagination token when calling the @ListShards@+ -- operation, see ListShardsInput$NextToken.+ --+ -- Tokens expire after 300 seconds. When you obtain a value for @NextToken@+ -- in the response to a call to @ListShards@, you have 300 seconds to use+ -- that value. If you specify an expired token in a call to @ListShards@,+ -- you get @ExpiredNextTokenException@.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | An array of JSON objects. Each object represents one shard and specifies+ -- the IDs of the shard, the shard\'s parent, and the shard that\'s+ -- adjacent to the shard\'s parent. Each object also contains the starting+ -- and ending hash keys and the starting and ending sequence numbers for+ -- the shard.+ shards :: Prelude.Maybe [Shard],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListShardsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listShardsResponse_nextToken' - When the number of shards in the data stream is greater than the default+-- value for the @MaxResults@ parameter, or if you explicitly specify a+-- value for @MaxResults@ that is less than the number of shards in the+-- data stream, the response includes a pagination token named @NextToken@.+-- You can specify this @NextToken@ value in a subsequent call to+-- @ListShards@ to list the next set of shards. For more information about+-- the use of this pagination token when calling the @ListShards@+-- operation, see ListShardsInput$NextToken.+--+-- Tokens expire after 300 seconds. When you obtain a value for @NextToken@+-- in the response to a call to @ListShards@, you have 300 seconds to use+-- that value. If you specify an expired token in a call to @ListShards@,+-- you get @ExpiredNextTokenException@.+--+-- 'shards', 'listShardsResponse_shards' - An array of JSON objects. Each object represents one shard and specifies+-- the IDs of the shard, the shard\'s parent, and the shard that\'s+-- adjacent to the shard\'s parent. Each object also contains the starting+-- and ending hash keys and the starting and ending sequence numbers for+-- the shard.+--+-- 'httpStatus', 'listShardsResponse_httpStatus' - The response's http status code.+newListShardsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListShardsResponse+newListShardsResponse pHttpStatus_ =+ ListShardsResponse'+ { nextToken = Prelude.Nothing,+ shards = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | When the number of shards in the data stream is greater than the default+-- value for the @MaxResults@ parameter, or if you explicitly specify a+-- value for @MaxResults@ that is less than the number of shards in the+-- data stream, the response includes a pagination token named @NextToken@.+-- You can specify this @NextToken@ value in a subsequent call to+-- @ListShards@ to list the next set of shards. For more information about+-- the use of this pagination token when calling the @ListShards@+-- operation, see ListShardsInput$NextToken.+--+-- Tokens expire after 300 seconds. When you obtain a value for @NextToken@+-- in the response to a call to @ListShards@, you have 300 seconds to use+-- that value. If you specify an expired token in a call to @ListShards@,+-- you get @ExpiredNextTokenException@.+listShardsResponse_nextToken :: Lens.Lens' ListShardsResponse (Prelude.Maybe Prelude.Text)+listShardsResponse_nextToken = Lens.lens (\ListShardsResponse' {nextToken} -> nextToken) (\s@ListShardsResponse' {} a -> s {nextToken = a} :: ListShardsResponse)++-- | An array of JSON objects. Each object represents one shard and specifies+-- the IDs of the shard, the shard\'s parent, and the shard that\'s+-- adjacent to the shard\'s parent. Each object also contains the starting+-- and ending hash keys and the starting and ending sequence numbers for+-- the shard.+listShardsResponse_shards :: Lens.Lens' ListShardsResponse (Prelude.Maybe [Shard])+listShardsResponse_shards = Lens.lens (\ListShardsResponse' {shards} -> shards) (\s@ListShardsResponse' {} a -> s {shards = a} :: ListShardsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listShardsResponse_httpStatus :: Lens.Lens' ListShardsResponse Prelude.Int+listShardsResponse_httpStatus = Lens.lens (\ListShardsResponse' {httpStatus} -> httpStatus) (\s@ListShardsResponse' {} a -> s {httpStatus = a} :: ListShardsResponse)++instance Prelude.NFData ListShardsResponse where+ rnf ListShardsResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf shards+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Kinesis/ListStreamConsumers.hs view
@@ -0,0 +1,390 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.ListStreamConsumers+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the consumers registered to receive data from a stream using+-- enhanced fan-out, and provides information about each consumer.+--+-- This operation has a limit of 5 transactions per second per stream.+--+-- This operation returns paginated results.+module Amazonka.Kinesis.ListStreamConsumers+ ( -- * Creating a Request+ ListStreamConsumers (..),+ newListStreamConsumers,++ -- * Request Lenses+ listStreamConsumers_maxResults,+ listStreamConsumers_nextToken,+ listStreamConsumers_streamCreationTimestamp,+ listStreamConsumers_streamARN,++ -- * Destructuring the Response+ ListStreamConsumersResponse (..),+ newListStreamConsumersResponse,++ -- * Response Lenses+ listStreamConsumersResponse_consumers,+ listStreamConsumersResponse_nextToken,+ listStreamConsumersResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListStreamConsumers' smart constructor.+data ListStreamConsumers = ListStreamConsumers'+ { -- | The maximum number of consumers that you want a single call of+ -- @ListStreamConsumers@ to return. The default value is 100. If you+ -- specify a value greater than 100, at most 100 results are returned.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | When the number of consumers that are registered with the data stream is+ -- greater than the default value for the @MaxResults@ parameter, or if you+ -- explicitly specify a value for @MaxResults@ that is less than the number+ -- of consumers that are registered with the data stream, the response+ -- includes a pagination token named @NextToken@. You can specify this+ -- @NextToken@ value in a subsequent call to @ListStreamConsumers@ to list+ -- the next set of registered consumers.+ --+ -- Don\'t specify @StreamName@ or @StreamCreationTimestamp@ if you specify+ -- @NextToken@ because the latter unambiguously identifies the stream.+ --+ -- You can optionally specify a value for the @MaxResults@ parameter when+ -- you specify @NextToken@. If you specify a @MaxResults@ value that is+ -- less than the number of consumers that the operation returns if you+ -- don\'t specify @MaxResults@, the response will contain a new @NextToken@+ -- value. You can use the new @NextToken@ value in a subsequent call to the+ -- @ListStreamConsumers@ operation to list the next set of consumers.+ --+ -- Tokens expire after 300 seconds. When you obtain a value for @NextToken@+ -- in the response to a call to @ListStreamConsumers@, you have 300 seconds+ -- to use that value. If you specify an expired token in a call to+ -- @ListStreamConsumers@, you get @ExpiredNextTokenException@.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | Specify this input parameter to distinguish data streams that have the+ -- same name. For example, if you create a data stream and then delete it,+ -- and you later create another data stream with the same name, you can use+ -- this input parameter to specify which of the two streams you want to+ -- list the consumers for.+ --+ -- You can\'t specify this parameter if you specify the NextToken+ -- parameter.+ streamCreationTimestamp :: Prelude.Maybe Data.POSIX,+ -- | The ARN of the Kinesis data stream for which you want to list the+ -- registered consumers. For more information, see+ -- <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kinesis-streams Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces>.+ streamARN :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListStreamConsumers' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listStreamConsumers_maxResults' - The maximum number of consumers that you want a single call of+-- @ListStreamConsumers@ to return. The default value is 100. If you+-- specify a value greater than 100, at most 100 results are returned.+--+-- 'nextToken', 'listStreamConsumers_nextToken' - When the number of consumers that are registered with the data stream is+-- greater than the default value for the @MaxResults@ parameter, or if you+-- explicitly specify a value for @MaxResults@ that is less than the number+-- of consumers that are registered with the data stream, the response+-- includes a pagination token named @NextToken@. You can specify this+-- @NextToken@ value in a subsequent call to @ListStreamConsumers@ to list+-- the next set of registered consumers.+--+-- Don\'t specify @StreamName@ or @StreamCreationTimestamp@ if you specify+-- @NextToken@ because the latter unambiguously identifies the stream.+--+-- You can optionally specify a value for the @MaxResults@ parameter when+-- you specify @NextToken@. If you specify a @MaxResults@ value that is+-- less than the number of consumers that the operation returns if you+-- don\'t specify @MaxResults@, the response will contain a new @NextToken@+-- value. You can use the new @NextToken@ value in a subsequent call to the+-- @ListStreamConsumers@ operation to list the next set of consumers.+--+-- Tokens expire after 300 seconds. When you obtain a value for @NextToken@+-- in the response to a call to @ListStreamConsumers@, you have 300 seconds+-- to use that value. If you specify an expired token in a call to+-- @ListStreamConsumers@, you get @ExpiredNextTokenException@.+--+-- 'streamCreationTimestamp', 'listStreamConsumers_streamCreationTimestamp' - Specify this input parameter to distinguish data streams that have the+-- same name. For example, if you create a data stream and then delete it,+-- and you later create another data stream with the same name, you can use+-- this input parameter to specify which of the two streams you want to+-- list the consumers for.+--+-- You can\'t specify this parameter if you specify the NextToken+-- parameter.+--+-- 'streamARN', 'listStreamConsumers_streamARN' - The ARN of the Kinesis data stream for which you want to list the+-- registered consumers. For more information, see+-- <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kinesis-streams Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces>.+newListStreamConsumers ::+ -- | 'streamARN'+ Prelude.Text ->+ ListStreamConsumers+newListStreamConsumers pStreamARN_ =+ ListStreamConsumers'+ { maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ streamCreationTimestamp = Prelude.Nothing,+ streamARN = pStreamARN_+ }++-- | The maximum number of consumers that you want a single call of+-- @ListStreamConsumers@ to return. The default value is 100. If you+-- specify a value greater than 100, at most 100 results are returned.+listStreamConsumers_maxResults :: Lens.Lens' ListStreamConsumers (Prelude.Maybe Prelude.Natural)+listStreamConsumers_maxResults = Lens.lens (\ListStreamConsumers' {maxResults} -> maxResults) (\s@ListStreamConsumers' {} a -> s {maxResults = a} :: ListStreamConsumers)++-- | When the number of consumers that are registered with the data stream is+-- greater than the default value for the @MaxResults@ parameter, or if you+-- explicitly specify a value for @MaxResults@ that is less than the number+-- of consumers that are registered with the data stream, the response+-- includes a pagination token named @NextToken@. You can specify this+-- @NextToken@ value in a subsequent call to @ListStreamConsumers@ to list+-- the next set of registered consumers.+--+-- Don\'t specify @StreamName@ or @StreamCreationTimestamp@ if you specify+-- @NextToken@ because the latter unambiguously identifies the stream.+--+-- You can optionally specify a value for the @MaxResults@ parameter when+-- you specify @NextToken@. If you specify a @MaxResults@ value that is+-- less than the number of consumers that the operation returns if you+-- don\'t specify @MaxResults@, the response will contain a new @NextToken@+-- value. You can use the new @NextToken@ value in a subsequent call to the+-- @ListStreamConsumers@ operation to list the next set of consumers.+--+-- Tokens expire after 300 seconds. When you obtain a value for @NextToken@+-- in the response to a call to @ListStreamConsumers@, you have 300 seconds+-- to use that value. If you specify an expired token in a call to+-- @ListStreamConsumers@, you get @ExpiredNextTokenException@.+listStreamConsumers_nextToken :: Lens.Lens' ListStreamConsumers (Prelude.Maybe Prelude.Text)+listStreamConsumers_nextToken = Lens.lens (\ListStreamConsumers' {nextToken} -> nextToken) (\s@ListStreamConsumers' {} a -> s {nextToken = a} :: ListStreamConsumers)++-- | Specify this input parameter to distinguish data streams that have the+-- same name. For example, if you create a data stream and then delete it,+-- and you later create another data stream with the same name, you can use+-- this input parameter to specify which of the two streams you want to+-- list the consumers for.+--+-- You can\'t specify this parameter if you specify the NextToken+-- parameter.+listStreamConsumers_streamCreationTimestamp :: Lens.Lens' ListStreamConsumers (Prelude.Maybe Prelude.UTCTime)+listStreamConsumers_streamCreationTimestamp = Lens.lens (\ListStreamConsumers' {streamCreationTimestamp} -> streamCreationTimestamp) (\s@ListStreamConsumers' {} a -> s {streamCreationTimestamp = a} :: ListStreamConsumers) Prelude.. Lens.mapping Data._Time++-- | The ARN of the Kinesis data stream for which you want to list the+-- registered consumers. For more information, see+-- <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kinesis-streams Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces>.+listStreamConsumers_streamARN :: Lens.Lens' ListStreamConsumers Prelude.Text+listStreamConsumers_streamARN = Lens.lens (\ListStreamConsumers' {streamARN} -> streamARN) (\s@ListStreamConsumers' {} a -> s {streamARN = a} :: ListStreamConsumers)++instance Core.AWSPager ListStreamConsumers where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listStreamConsumersResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listStreamConsumersResponse_consumers+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listStreamConsumers_nextToken+ Lens..~ rs+ Lens.^? listStreamConsumersResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListStreamConsumers where+ type+ AWSResponse ListStreamConsumers =+ ListStreamConsumersResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListStreamConsumersResponse'+ Prelude.<$> (x Data..?> "Consumers" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "NextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListStreamConsumers where+ hashWithSalt _salt ListStreamConsumers' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` streamCreationTimestamp+ `Prelude.hashWithSalt` streamARN++instance Prelude.NFData ListStreamConsumers where+ rnf ListStreamConsumers' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf streamCreationTimestamp+ `Prelude.seq` Prelude.rnf streamARN++instance Data.ToHeaders ListStreamConsumers where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "Kinesis_20131202.ListStreamConsumers" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListStreamConsumers where+ toJSON ListStreamConsumers' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ ("StreamCreationTimestamp" Data..=)+ Prelude.<$> streamCreationTimestamp,+ Prelude.Just ("StreamARN" Data..= streamARN)+ ]+ )++instance Data.ToPath ListStreamConsumers where+ toPath = Prelude.const "/"++instance Data.ToQuery ListStreamConsumers where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListStreamConsumersResponse' smart constructor.+data ListStreamConsumersResponse = ListStreamConsumersResponse'+ { -- | An array of JSON objects. Each object represents one registered+ -- consumer.+ consumers :: Prelude.Maybe [Consumer],+ -- | When the number of consumers that are registered with the data stream is+ -- greater than the default value for the @MaxResults@ parameter, or if you+ -- explicitly specify a value for @MaxResults@ that is less than the number+ -- of registered consumers, the response includes a pagination token named+ -- @NextToken@. You can specify this @NextToken@ value in a subsequent call+ -- to @ListStreamConsumers@ to list the next set of registered consumers.+ -- For more information about the use of this pagination token when calling+ -- the @ListStreamConsumers@ operation, see+ -- ListStreamConsumersInput$NextToken.+ --+ -- Tokens expire after 300 seconds. When you obtain a value for @NextToken@+ -- in the response to a call to @ListStreamConsumers@, you have 300 seconds+ -- to use that value. If you specify an expired token in a call to+ -- @ListStreamConsumers@, you get @ExpiredNextTokenException@.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListStreamConsumersResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'consumers', 'listStreamConsumersResponse_consumers' - An array of JSON objects. Each object represents one registered+-- consumer.+--+-- 'nextToken', 'listStreamConsumersResponse_nextToken' - When the number of consumers that are registered with the data stream is+-- greater than the default value for the @MaxResults@ parameter, or if you+-- explicitly specify a value for @MaxResults@ that is less than the number+-- of registered consumers, the response includes a pagination token named+-- @NextToken@. You can specify this @NextToken@ value in a subsequent call+-- to @ListStreamConsumers@ to list the next set of registered consumers.+-- For more information about the use of this pagination token when calling+-- the @ListStreamConsumers@ operation, see+-- ListStreamConsumersInput$NextToken.+--+-- Tokens expire after 300 seconds. When you obtain a value for @NextToken@+-- in the response to a call to @ListStreamConsumers@, you have 300 seconds+-- to use that value. If you specify an expired token in a call to+-- @ListStreamConsumers@, you get @ExpiredNextTokenException@.+--+-- 'httpStatus', 'listStreamConsumersResponse_httpStatus' - The response's http status code.+newListStreamConsumersResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListStreamConsumersResponse+newListStreamConsumersResponse pHttpStatus_ =+ ListStreamConsumersResponse'+ { consumers =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | An array of JSON objects. Each object represents one registered+-- consumer.+listStreamConsumersResponse_consumers :: Lens.Lens' ListStreamConsumersResponse (Prelude.Maybe [Consumer])+listStreamConsumersResponse_consumers = Lens.lens (\ListStreamConsumersResponse' {consumers} -> consumers) (\s@ListStreamConsumersResponse' {} a -> s {consumers = a} :: ListStreamConsumersResponse) Prelude.. Lens.mapping Lens.coerced++-- | When the number of consumers that are registered with the data stream is+-- greater than the default value for the @MaxResults@ parameter, or if you+-- explicitly specify a value for @MaxResults@ that is less than the number+-- of registered consumers, the response includes a pagination token named+-- @NextToken@. You can specify this @NextToken@ value in a subsequent call+-- to @ListStreamConsumers@ to list the next set of registered consumers.+-- For more information about the use of this pagination token when calling+-- the @ListStreamConsumers@ operation, see+-- ListStreamConsumersInput$NextToken.+--+-- Tokens expire after 300 seconds. When you obtain a value for @NextToken@+-- in the response to a call to @ListStreamConsumers@, you have 300 seconds+-- to use that value. If you specify an expired token in a call to+-- @ListStreamConsumers@, you get @ExpiredNextTokenException@.+listStreamConsumersResponse_nextToken :: Lens.Lens' ListStreamConsumersResponse (Prelude.Maybe Prelude.Text)+listStreamConsumersResponse_nextToken = Lens.lens (\ListStreamConsumersResponse' {nextToken} -> nextToken) (\s@ListStreamConsumersResponse' {} a -> s {nextToken = a} :: ListStreamConsumersResponse)++-- | The response's http status code.+listStreamConsumersResponse_httpStatus :: Lens.Lens' ListStreamConsumersResponse Prelude.Int+listStreamConsumersResponse_httpStatus = Lens.lens (\ListStreamConsumersResponse' {httpStatus} -> httpStatus) (\s@ListStreamConsumersResponse' {} a -> s {httpStatus = a} :: ListStreamConsumersResponse)++instance Prelude.NFData ListStreamConsumersResponse where+ rnf ListStreamConsumersResponse' {..} =+ Prelude.rnf consumers+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Kinesis/ListStreams.hs view
@@ -0,0 +1,279 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.ListStreams+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists your Kinesis data streams.+--+-- The number of streams may be too large to return from a single call to+-- @ListStreams@. You can limit the number of returned streams using the+-- @Limit@ parameter. If you do not specify a value for the @Limit@+-- parameter, Kinesis Data Streams uses the default limit, which is+-- currently 100.+--+-- You can detect if there are more streams available to list by using the+-- @HasMoreStreams@ flag from the returned output. If there are more+-- streams available, you can request more streams by using the name of the+-- last stream returned by the @ListStreams@ request in the+-- @ExclusiveStartStreamName@ parameter in a subsequent request to+-- @ListStreams@. The group of stream names returned by the subsequent+-- request is then added to the list. You can continue this process until+-- all the stream names have been collected in the list.+--+-- ListStreams has a limit of five transactions per second per account.+--+-- This operation returns paginated results.+module Amazonka.Kinesis.ListStreams+ ( -- * Creating a Request+ ListStreams (..),+ newListStreams,++ -- * Request Lenses+ listStreams_exclusiveStartStreamName,+ listStreams_limit,+ listStreams_nextToken,++ -- * Destructuring the Response+ ListStreamsResponse (..),+ newListStreamsResponse,++ -- * Response Lenses+ listStreamsResponse_nextToken,+ listStreamsResponse_streamSummaries,+ listStreamsResponse_httpStatus,+ listStreamsResponse_streamNames,+ listStreamsResponse_hasMoreStreams,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Represents the input for @ListStreams@.+--+-- /See:/ 'newListStreams' smart constructor.+data ListStreams = ListStreams'+ { -- | The name of the stream to start the list with.+ exclusiveStartStreamName :: Prelude.Maybe Prelude.Text,+ -- | The maximum number of streams to list. The default value is 100. If you+ -- specify a value greater than 100, at most 100 results are returned.+ limit :: Prelude.Maybe Prelude.Natural,+ nextToken :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListStreams' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'exclusiveStartStreamName', 'listStreams_exclusiveStartStreamName' - The name of the stream to start the list with.+--+-- 'limit', 'listStreams_limit' - The maximum number of streams to list. The default value is 100. If you+-- specify a value greater than 100, at most 100 results are returned.+--+-- 'nextToken', 'listStreams_nextToken' -+newListStreams ::+ ListStreams+newListStreams =+ ListStreams'+ { exclusiveStartStreamName =+ Prelude.Nothing,+ limit = Prelude.Nothing,+ nextToken = Prelude.Nothing+ }++-- | The name of the stream to start the list with.+listStreams_exclusiveStartStreamName :: Lens.Lens' ListStreams (Prelude.Maybe Prelude.Text)+listStreams_exclusiveStartStreamName = Lens.lens (\ListStreams' {exclusiveStartStreamName} -> exclusiveStartStreamName) (\s@ListStreams' {} a -> s {exclusiveStartStreamName = a} :: ListStreams)++-- | The maximum number of streams to list. The default value is 100. If you+-- specify a value greater than 100, at most 100 results are returned.+listStreams_limit :: Lens.Lens' ListStreams (Prelude.Maybe Prelude.Natural)+listStreams_limit = Lens.lens (\ListStreams' {limit} -> limit) (\s@ListStreams' {} a -> s {limit = a} :: ListStreams)++listStreams_nextToken :: Lens.Lens' ListStreams (Prelude.Maybe Prelude.Text)+listStreams_nextToken = Lens.lens (\ListStreams' {nextToken} -> nextToken) (\s@ListStreams' {} a -> s {nextToken = a} :: ListStreams)++instance Core.AWSPager ListStreams where+ page rq rs+ | Core.stop+ (rs Lens.^. listStreamsResponse_hasMoreStreams) =+ Prelude.Nothing+ | Prelude.isNothing+ ( rs+ Lens.^? listStreamsResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listStreams_nextToken+ Lens..~ rs+ Lens.^? listStreamsResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListStreams where+ type AWSResponse ListStreams = ListStreamsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListStreamsResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> ( x+ Data..?> "StreamSummaries"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ Prelude.<*> (x Data..?> "StreamNames" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..:> "HasMoreStreams")+ )++instance Prelude.Hashable ListStreams where+ hashWithSalt _salt ListStreams' {..} =+ _salt+ `Prelude.hashWithSalt` exclusiveStartStreamName+ `Prelude.hashWithSalt` limit+ `Prelude.hashWithSalt` nextToken++instance Prelude.NFData ListStreams where+ rnf ListStreams' {..} =+ Prelude.rnf exclusiveStartStreamName+ `Prelude.seq` Prelude.rnf limit+ `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders ListStreams where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "Kinesis_20131202.ListStreams" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListStreams where+ toJSON ListStreams' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ExclusiveStartStreamName" Data..=)+ Prelude.<$> exclusiveStartStreamName,+ ("Limit" Data..=) Prelude.<$> limit,+ ("NextToken" Data..=) Prelude.<$> nextToken+ ]+ )++instance Data.ToPath ListStreams where+ toPath = Prelude.const "/"++instance Data.ToQuery ListStreams where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the output for @ListStreams@.+--+-- /See:/ 'newListStreamsResponse' smart constructor.+data ListStreamsResponse = ListStreamsResponse'+ { nextToken :: Prelude.Maybe Prelude.Text,+ streamSummaries :: Prelude.Maybe [StreamSummary],+ -- | The response's http status code.+ httpStatus :: Prelude.Int,+ -- | The names of the streams that are associated with the Amazon Web+ -- Services account making the @ListStreams@ request.+ streamNames :: [Prelude.Text],+ -- | If set to @true@, there are more streams available to list.+ hasMoreStreams :: Prelude.Bool+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListStreamsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listStreamsResponse_nextToken' -+--+-- 'streamSummaries', 'listStreamsResponse_streamSummaries' -+--+-- 'httpStatus', 'listStreamsResponse_httpStatus' - The response's http status code.+--+-- 'streamNames', 'listStreamsResponse_streamNames' - The names of the streams that are associated with the Amazon Web+-- Services account making the @ListStreams@ request.+--+-- 'hasMoreStreams', 'listStreamsResponse_hasMoreStreams' - If set to @true@, there are more streams available to list.+newListStreamsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ -- | 'hasMoreStreams'+ Prelude.Bool ->+ ListStreamsResponse+newListStreamsResponse pHttpStatus_ pHasMoreStreams_ =+ ListStreamsResponse'+ { nextToken = Prelude.Nothing,+ streamSummaries = Prelude.Nothing,+ httpStatus = pHttpStatus_,+ streamNames = Prelude.mempty,+ hasMoreStreams = pHasMoreStreams_+ }++listStreamsResponse_nextToken :: Lens.Lens' ListStreamsResponse (Prelude.Maybe Prelude.Text)+listStreamsResponse_nextToken = Lens.lens (\ListStreamsResponse' {nextToken} -> nextToken) (\s@ListStreamsResponse' {} a -> s {nextToken = a} :: ListStreamsResponse)++listStreamsResponse_streamSummaries :: Lens.Lens' ListStreamsResponse (Prelude.Maybe [StreamSummary])+listStreamsResponse_streamSummaries = Lens.lens (\ListStreamsResponse' {streamSummaries} -> streamSummaries) (\s@ListStreamsResponse' {} a -> s {streamSummaries = a} :: ListStreamsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listStreamsResponse_httpStatus :: Lens.Lens' ListStreamsResponse Prelude.Int+listStreamsResponse_httpStatus = Lens.lens (\ListStreamsResponse' {httpStatus} -> httpStatus) (\s@ListStreamsResponse' {} a -> s {httpStatus = a} :: ListStreamsResponse)++-- | The names of the streams that are associated with the Amazon Web+-- Services account making the @ListStreams@ request.+listStreamsResponse_streamNames :: Lens.Lens' ListStreamsResponse [Prelude.Text]+listStreamsResponse_streamNames = Lens.lens (\ListStreamsResponse' {streamNames} -> streamNames) (\s@ListStreamsResponse' {} a -> s {streamNames = a} :: ListStreamsResponse) Prelude.. Lens.coerced++-- | If set to @true@, there are more streams available to list.+listStreamsResponse_hasMoreStreams :: Lens.Lens' ListStreamsResponse Prelude.Bool+listStreamsResponse_hasMoreStreams = Lens.lens (\ListStreamsResponse' {hasMoreStreams} -> hasMoreStreams) (\s@ListStreamsResponse' {} a -> s {hasMoreStreams = a} :: ListStreamsResponse)++instance Prelude.NFData ListStreamsResponse where+ rnf ListStreamsResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf streamSummaries+ `Prelude.seq` Prelude.rnf httpStatus+ `Prelude.seq` Prelude.rnf streamNames+ `Prelude.seq` Prelude.rnf hasMoreStreams
+ gen/Amazonka/Kinesis/ListTagsForStream.hs view
@@ -0,0 +1,257 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.ListTagsForStream+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the tags for the specified Kinesis data stream. This operation has+-- a limit of five transactions per second per account.+--+-- When invoking this API, it is recommended you use the @StreamARN@ input+-- parameter rather than the @StreamName@ input parameter.+module Amazonka.Kinesis.ListTagsForStream+ ( -- * Creating a Request+ ListTagsForStream (..),+ newListTagsForStream,++ -- * Request Lenses+ listTagsForStream_exclusiveStartTagKey,+ listTagsForStream_limit,+ listTagsForStream_streamARN,+ listTagsForStream_streamName,++ -- * Destructuring the Response+ ListTagsForStreamResponse (..),+ newListTagsForStreamResponse,++ -- * Response Lenses+ listTagsForStreamResponse_httpStatus,+ listTagsForStreamResponse_tags,+ listTagsForStreamResponse_hasMoreTags,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Represents the input for @ListTagsForStream@.+--+-- /See:/ 'newListTagsForStream' smart constructor.+data ListTagsForStream = ListTagsForStream'+ { -- | The key to use as the starting point for the list of tags. If this+ -- parameter is set, @ListTagsForStream@ gets all tags that occur after+ -- @ExclusiveStartTagKey@.+ exclusiveStartTagKey :: Prelude.Maybe Prelude.Text,+ -- | The number of tags to return. If this number is less than the total+ -- number of tags associated with the stream, @HasMoreTags@ is set to+ -- @true@. To list additional tags, set @ExclusiveStartTagKey@ to the last+ -- key in the response.+ limit :: Prelude.Maybe Prelude.Natural,+ -- | The ARN of the stream.+ streamARN :: Prelude.Maybe Prelude.Text,+ -- | The name of the stream.+ streamName :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTagsForStream' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'exclusiveStartTagKey', 'listTagsForStream_exclusiveStartTagKey' - The key to use as the starting point for the list of tags. If this+-- parameter is set, @ListTagsForStream@ gets all tags that occur after+-- @ExclusiveStartTagKey@.+--+-- 'limit', 'listTagsForStream_limit' - The number of tags to return. If this number is less than the total+-- number of tags associated with the stream, @HasMoreTags@ is set to+-- @true@. To list additional tags, set @ExclusiveStartTagKey@ to the last+-- key in the response.+--+-- 'streamARN', 'listTagsForStream_streamARN' - The ARN of the stream.+--+-- 'streamName', 'listTagsForStream_streamName' - The name of the stream.+newListTagsForStream ::+ ListTagsForStream+newListTagsForStream =+ ListTagsForStream'+ { exclusiveStartTagKey =+ Prelude.Nothing,+ limit = Prelude.Nothing,+ streamARN = Prelude.Nothing,+ streamName = Prelude.Nothing+ }++-- | The key to use as the starting point for the list of tags. If this+-- parameter is set, @ListTagsForStream@ gets all tags that occur after+-- @ExclusiveStartTagKey@.+listTagsForStream_exclusiveStartTagKey :: Lens.Lens' ListTagsForStream (Prelude.Maybe Prelude.Text)+listTagsForStream_exclusiveStartTagKey = Lens.lens (\ListTagsForStream' {exclusiveStartTagKey} -> exclusiveStartTagKey) (\s@ListTagsForStream' {} a -> s {exclusiveStartTagKey = a} :: ListTagsForStream)++-- | The number of tags to return. If this number is less than the total+-- number of tags associated with the stream, @HasMoreTags@ is set to+-- @true@. To list additional tags, set @ExclusiveStartTagKey@ to the last+-- key in the response.+listTagsForStream_limit :: Lens.Lens' ListTagsForStream (Prelude.Maybe Prelude.Natural)+listTagsForStream_limit = Lens.lens (\ListTagsForStream' {limit} -> limit) (\s@ListTagsForStream' {} a -> s {limit = a} :: ListTagsForStream)++-- | The ARN of the stream.+listTagsForStream_streamARN :: Lens.Lens' ListTagsForStream (Prelude.Maybe Prelude.Text)+listTagsForStream_streamARN = Lens.lens (\ListTagsForStream' {streamARN} -> streamARN) (\s@ListTagsForStream' {} a -> s {streamARN = a} :: ListTagsForStream)++-- | The name of the stream.+listTagsForStream_streamName :: Lens.Lens' ListTagsForStream (Prelude.Maybe Prelude.Text)+listTagsForStream_streamName = Lens.lens (\ListTagsForStream' {streamName} -> streamName) (\s@ListTagsForStream' {} a -> s {streamName = a} :: ListTagsForStream)++instance Core.AWSRequest ListTagsForStream where+ type+ AWSResponse ListTagsForStream =+ ListTagsForStreamResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListTagsForStreamResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ Prelude.<*> (x Data..?> "Tags" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..:> "HasMoreTags")+ )++instance Prelude.Hashable ListTagsForStream where+ hashWithSalt _salt ListTagsForStream' {..} =+ _salt+ `Prelude.hashWithSalt` exclusiveStartTagKey+ `Prelude.hashWithSalt` limit+ `Prelude.hashWithSalt` streamARN+ `Prelude.hashWithSalt` streamName++instance Prelude.NFData ListTagsForStream where+ rnf ListTagsForStream' {..} =+ Prelude.rnf exclusiveStartTagKey+ `Prelude.seq` Prelude.rnf limit+ `Prelude.seq` Prelude.rnf streamARN+ `Prelude.seq` Prelude.rnf streamName++instance Data.ToHeaders ListTagsForStream where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "Kinesis_20131202.ListTagsForStream" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListTagsForStream where+ toJSON ListTagsForStream' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ExclusiveStartTagKey" Data..=)+ Prelude.<$> exclusiveStartTagKey,+ ("Limit" Data..=) Prelude.<$> limit,+ ("StreamARN" Data..=) Prelude.<$> streamARN,+ ("StreamName" Data..=) Prelude.<$> streamName+ ]+ )++instance Data.ToPath ListTagsForStream where+ toPath = Prelude.const "/"++instance Data.ToQuery ListTagsForStream where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the output for @ListTagsForStream@.+--+-- /See:/ 'newListTagsForStreamResponse' smart constructor.+data ListTagsForStreamResponse = ListTagsForStreamResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int,+ -- | A list of tags associated with @StreamName@, starting with the first tag+ -- after @ExclusiveStartTagKey@ and up to the specified @Limit@.+ tags :: [Tag],+ -- | If set to @true@, more tags are available. To request additional tags,+ -- set @ExclusiveStartTagKey@ to the key of the last tag returned.+ hasMoreTags :: Prelude.Bool+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTagsForStreamResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'listTagsForStreamResponse_httpStatus' - The response's http status code.+--+-- 'tags', 'listTagsForStreamResponse_tags' - A list of tags associated with @StreamName@, starting with the first tag+-- after @ExclusiveStartTagKey@ and up to the specified @Limit@.+--+-- 'hasMoreTags', 'listTagsForStreamResponse_hasMoreTags' - If set to @true@, more tags are available. To request additional tags,+-- set @ExclusiveStartTagKey@ to the key of the last tag returned.+newListTagsForStreamResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ -- | 'hasMoreTags'+ Prelude.Bool ->+ ListTagsForStreamResponse+newListTagsForStreamResponse+ pHttpStatus_+ pHasMoreTags_ =+ ListTagsForStreamResponse'+ { httpStatus =+ pHttpStatus_,+ tags = Prelude.mempty,+ hasMoreTags = pHasMoreTags_+ }++-- | The response's http status code.+listTagsForStreamResponse_httpStatus :: Lens.Lens' ListTagsForStreamResponse Prelude.Int+listTagsForStreamResponse_httpStatus = Lens.lens (\ListTagsForStreamResponse' {httpStatus} -> httpStatus) (\s@ListTagsForStreamResponse' {} a -> s {httpStatus = a} :: ListTagsForStreamResponse)++-- | A list of tags associated with @StreamName@, starting with the first tag+-- after @ExclusiveStartTagKey@ and up to the specified @Limit@.+listTagsForStreamResponse_tags :: Lens.Lens' ListTagsForStreamResponse [Tag]+listTagsForStreamResponse_tags = Lens.lens (\ListTagsForStreamResponse' {tags} -> tags) (\s@ListTagsForStreamResponse' {} a -> s {tags = a} :: ListTagsForStreamResponse) Prelude.. Lens.coerced++-- | If set to @true@, more tags are available. To request additional tags,+-- set @ExclusiveStartTagKey@ to the key of the last tag returned.+listTagsForStreamResponse_hasMoreTags :: Lens.Lens' ListTagsForStreamResponse Prelude.Bool+listTagsForStreamResponse_hasMoreTags = Lens.lens (\ListTagsForStreamResponse' {hasMoreTags} -> hasMoreTags) (\s@ListTagsForStreamResponse' {} a -> s {hasMoreTags = a} :: ListTagsForStreamResponse)++instance Prelude.NFData ListTagsForStreamResponse where+ rnf ListTagsForStreamResponse' {..} =+ Prelude.rnf httpStatus+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf hasMoreTags
+ gen/Amazonka/Kinesis/MergeShards.hs view
@@ -0,0 +1,228 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.MergeShards+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Merges two adjacent shards in a Kinesis data stream and combines them+-- into a single shard to reduce the stream\'s capacity to ingest and+-- transport data. This API is only supported for the data streams with the+-- provisioned capacity mode. Two shards are considered adjacent if the+-- union of the hash key ranges for the two shards form a contiguous set+-- with no gaps. For example, if you have two shards, one with a hash key+-- range of 276...381 and the other with a hash key range of 382...454,+-- then you could merge these two shards into a single shard that would+-- have a hash key range of 276...454. After the merge, the single child+-- shard receives data for all hash key values covered by the two parent+-- shards.+--+-- When invoking this API, it is recommended you use the @StreamARN@ input+-- parameter rather than the @StreamName@ input parameter.+--+-- @MergeShards@ is called when there is a need to reduce the overall+-- capacity of a stream because of excess capacity that is not being used.+-- You must specify the shard to be merged and the adjacent shard for a+-- stream. For more information about merging shards, see+-- <https://docs.aws.amazon.com/kinesis/latest/dev/kinesis-using-sdk-java-resharding-merge.html Merge Two Shards>+-- in the /Amazon Kinesis Data Streams Developer Guide/.+--+-- If the stream is in the @ACTIVE@ state, you can call @MergeShards@. If a+-- stream is in the @CREATING@, @UPDATING@, or @DELETING@ state,+-- @MergeShards@ returns a @ResourceInUseException@. If the specified+-- stream does not exist, @MergeShards@ returns a+-- @ResourceNotFoundException@.+--+-- You can use DescribeStreamSummary to check the state of the stream,+-- which is returned in @StreamStatus@.+--+-- @MergeShards@ is an asynchronous operation. Upon receiving a+-- @MergeShards@ request, Amazon Kinesis Data Streams immediately returns a+-- response and sets the @StreamStatus@ to @UPDATING@. After the operation+-- is completed, Kinesis Data Streams sets the @StreamStatus@ to @ACTIVE@.+-- Read and write operations continue to work while the stream is in the+-- @UPDATING@ state.+--+-- You use DescribeStreamSummary and the ListShards APIs to determine the+-- shard IDs that are specified in the @MergeShards@ request.+--+-- If you try to operate on too many streams in parallel using+-- CreateStream, DeleteStream, @MergeShards@, or SplitShard, you receive a+-- @LimitExceededException@.+--+-- @MergeShards@ has a limit of five transactions per second per account.+module Amazonka.Kinesis.MergeShards+ ( -- * Creating a Request+ MergeShards (..),+ newMergeShards,++ -- * Request Lenses+ mergeShards_streamARN,+ mergeShards_streamName,+ mergeShards_shardToMerge,+ mergeShards_adjacentShardToMerge,++ -- * Destructuring the Response+ MergeShardsResponse (..),+ newMergeShardsResponse,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Represents the input for @MergeShards@.+--+-- /See:/ 'newMergeShards' smart constructor.+data MergeShards = MergeShards'+ { -- | The ARN of the stream.+ streamARN :: Prelude.Maybe Prelude.Text,+ -- | The name of the stream for the merge.+ streamName :: Prelude.Maybe Prelude.Text,+ -- | The shard ID of the shard to combine with the adjacent shard for the+ -- merge.+ shardToMerge :: Prelude.Text,+ -- | The shard ID of the adjacent shard for the merge.+ adjacentShardToMerge :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'MergeShards' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'streamARN', 'mergeShards_streamARN' - The ARN of the stream.+--+-- 'streamName', 'mergeShards_streamName' - The name of the stream for the merge.+--+-- 'shardToMerge', 'mergeShards_shardToMerge' - The shard ID of the shard to combine with the adjacent shard for the+-- merge.+--+-- 'adjacentShardToMerge', 'mergeShards_adjacentShardToMerge' - The shard ID of the adjacent shard for the merge.+newMergeShards ::+ -- | 'shardToMerge'+ Prelude.Text ->+ -- | 'adjacentShardToMerge'+ Prelude.Text ->+ MergeShards+newMergeShards pShardToMerge_ pAdjacentShardToMerge_ =+ MergeShards'+ { streamARN = Prelude.Nothing,+ streamName = Prelude.Nothing,+ shardToMerge = pShardToMerge_,+ adjacentShardToMerge = pAdjacentShardToMerge_+ }++-- | The ARN of the stream.+mergeShards_streamARN :: Lens.Lens' MergeShards (Prelude.Maybe Prelude.Text)+mergeShards_streamARN = Lens.lens (\MergeShards' {streamARN} -> streamARN) (\s@MergeShards' {} a -> s {streamARN = a} :: MergeShards)++-- | The name of the stream for the merge.+mergeShards_streamName :: Lens.Lens' MergeShards (Prelude.Maybe Prelude.Text)+mergeShards_streamName = Lens.lens (\MergeShards' {streamName} -> streamName) (\s@MergeShards' {} a -> s {streamName = a} :: MergeShards)++-- | The shard ID of the shard to combine with the adjacent shard for the+-- merge.+mergeShards_shardToMerge :: Lens.Lens' MergeShards Prelude.Text+mergeShards_shardToMerge = Lens.lens (\MergeShards' {shardToMerge} -> shardToMerge) (\s@MergeShards' {} a -> s {shardToMerge = a} :: MergeShards)++-- | The shard ID of the adjacent shard for the merge.+mergeShards_adjacentShardToMerge :: Lens.Lens' MergeShards Prelude.Text+mergeShards_adjacentShardToMerge = Lens.lens (\MergeShards' {adjacentShardToMerge} -> adjacentShardToMerge) (\s@MergeShards' {} a -> s {adjacentShardToMerge = a} :: MergeShards)++instance Core.AWSRequest MergeShards where+ type AWSResponse MergeShards = MergeShardsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response = Response.receiveNull MergeShardsResponse'++instance Prelude.Hashable MergeShards where+ hashWithSalt _salt MergeShards' {..} =+ _salt+ `Prelude.hashWithSalt` streamARN+ `Prelude.hashWithSalt` streamName+ `Prelude.hashWithSalt` shardToMerge+ `Prelude.hashWithSalt` adjacentShardToMerge++instance Prelude.NFData MergeShards where+ rnf MergeShards' {..} =+ Prelude.rnf streamARN+ `Prelude.seq` Prelude.rnf streamName+ `Prelude.seq` Prelude.rnf shardToMerge+ `Prelude.seq` Prelude.rnf adjacentShardToMerge++instance Data.ToHeaders MergeShards where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "Kinesis_20131202.MergeShards" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON MergeShards where+ toJSON MergeShards' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("StreamARN" Data..=) Prelude.<$> streamARN,+ ("StreamName" Data..=) Prelude.<$> streamName,+ Prelude.Just ("ShardToMerge" Data..= shardToMerge),+ Prelude.Just+ ( "AdjacentShardToMerge"+ Data..= adjacentShardToMerge+ )+ ]+ )++instance Data.ToPath MergeShards where+ toPath = Prelude.const "/"++instance Data.ToQuery MergeShards where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newMergeShardsResponse' smart constructor.+data MergeShardsResponse = MergeShardsResponse'+ {+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'MergeShardsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newMergeShardsResponse ::+ MergeShardsResponse+newMergeShardsResponse = MergeShardsResponse'++instance Prelude.NFData MergeShardsResponse where+ rnf _ = ()
+ gen/Amazonka/Kinesis/PutRecord.hs view
@@ -0,0 +1,408 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.PutRecord+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Writes a single data record into an Amazon Kinesis data stream. Call+-- @PutRecord@ to send data into the stream for real-time ingestion and+-- subsequent processing, one record at a time. Each shard can support+-- writes up to 1,000 records per second, up to a maximum data write total+-- of 1 MiB per second.+--+-- When invoking this API, it is recommended you use the @StreamARN@ input+-- parameter rather than the @StreamName@ input parameter.+--+-- You must specify the name of the stream that captures, stores, and+-- transports the data; a partition key; and the data blob itself.+--+-- The data blob can be any type of data; for example, a segment from a log+-- file, geographic\/location data, website clickstream data, and so on.+--+-- The partition key is used by Kinesis Data Streams to distribute data+-- across shards. Kinesis Data Streams segregates the data records that+-- belong to a stream into multiple shards, using the partition key+-- associated with each data record to determine the shard to which a given+-- data record belongs.+--+-- Partition keys are Unicode strings, with a maximum length limit of 256+-- characters for each key. An MD5 hash function is used to map partition+-- keys to 128-bit integer values and to map associated data records to+-- shards using the hash key ranges of the shards. You can override hashing+-- the partition key to determine the shard by explicitly specifying a hash+-- value using the @ExplicitHashKey@ parameter. For more information, see+-- <https://docs.aws.amazon.com/kinesis/latest/dev/developing-producers-with-sdk.html#kinesis-using-sdk-java-add-data-to-stream Adding Data to a Stream>+-- in the /Amazon Kinesis Data Streams Developer Guide/.+--+-- @PutRecord@ returns the shard ID of where the data record was placed and+-- the sequence number that was assigned to the data record.+--+-- Sequence numbers increase over time and are specific to a shard within a+-- stream, not across all shards within a stream. To guarantee strictly+-- increasing ordering, write serially to a shard and use the+-- @SequenceNumberForOrdering@ parameter. For more information, see+-- <https://docs.aws.amazon.com/kinesis/latest/dev/developing-producers-with-sdk.html#kinesis-using-sdk-java-add-data-to-stream Adding Data to a Stream>+-- in the /Amazon Kinesis Data Streams Developer Guide/.+--+-- After you write a record to a stream, you cannot modify that record or+-- its order within the stream.+--+-- If a @PutRecord@ request cannot be processed because of insufficient+-- provisioned throughput on the shard involved in the request, @PutRecord@+-- throws @ProvisionedThroughputExceededException@.+--+-- By default, data records are accessible for 24 hours from the time that+-- they are added to a stream. You can use IncreaseStreamRetentionPeriod or+-- DecreaseStreamRetentionPeriod to modify this retention period.+module Amazonka.Kinesis.PutRecord+ ( -- * Creating a Request+ PutRecord (..),+ newPutRecord,++ -- * Request Lenses+ putRecord_explicitHashKey,+ putRecord_sequenceNumberForOrdering,+ putRecord_streamARN,+ putRecord_streamName,+ putRecord_data,+ putRecord_partitionKey,++ -- * Destructuring the Response+ PutRecordResponse (..),+ newPutRecordResponse,++ -- * Response Lenses+ putRecordResponse_encryptionType,+ putRecordResponse_httpStatus,+ putRecordResponse_shardId,+ putRecordResponse_sequenceNumber,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Represents the input for @PutRecord@.+--+-- /See:/ 'newPutRecord' smart constructor.+data PutRecord = PutRecord'+ { -- | The hash value used to explicitly determine the shard the data record is+ -- assigned to by overriding the partition key hash.+ explicitHashKey :: Prelude.Maybe Prelude.Text,+ -- | Guarantees strictly increasing sequence numbers, for puts from the same+ -- client and to the same partition key. Usage: set the+ -- @SequenceNumberForOrdering@ of record /n/ to the sequence number of+ -- record /n-1/ (as returned in the result when putting record /n-1/). If+ -- this parameter is not set, records are coarsely ordered based on arrival+ -- time.+ sequenceNumberForOrdering :: Prelude.Maybe Prelude.Text,+ -- | The ARN of the stream.+ streamARN :: Prelude.Maybe Prelude.Text,+ -- | The name of the stream to put the data record into.+ streamName :: Prelude.Maybe Prelude.Text,+ -- | The data blob to put into the record, which is base64-encoded when the+ -- blob is serialized. When the data blob (the payload before+ -- base64-encoding) is added to the partition key size, the total size must+ -- not exceed the maximum record size (1 MiB).+ data' :: Data.Base64,+ -- | 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.+ partitionKey :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutRecord' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'explicitHashKey', 'putRecord_explicitHashKey' - The hash value used to explicitly determine the shard the data record is+-- assigned to by overriding the partition key hash.+--+-- 'sequenceNumberForOrdering', 'putRecord_sequenceNumberForOrdering' - Guarantees strictly increasing sequence numbers, for puts from the same+-- client and to the same partition key. Usage: set the+-- @SequenceNumberForOrdering@ of record /n/ to the sequence number of+-- record /n-1/ (as returned in the result when putting record /n-1/). If+-- this parameter is not set, records are coarsely ordered based on arrival+-- time.+--+-- 'streamARN', 'putRecord_streamARN' - The ARN of the stream.+--+-- 'streamName', 'putRecord_streamName' - The name of the stream to put the data record into.+--+-- 'data'', 'putRecord_data' - The data blob to put into the record, which is base64-encoded when the+-- blob is serialized. When the data blob (the payload before+-- base64-encoding) is added to the partition key size, the total size must+-- not exceed the maximum record size (1 MiB).--+-- -- /Note:/ This 'Lens' automatically encodes and decodes Base64 data.+-- -- The underlying isomorphism will encode to Base64 representation during+-- -- serialisation, and decode from Base64 representation during deserialisation.+-- -- This 'Lens' accepts and returns only raw unencoded data.+--+-- 'partitionKey', 'putRecord_partitionKey' - Determines which shard in the stream the data record is assigned to.+-- Partition keys are Unicode strings with a maximum length limit of 256+-- characters for each key. Amazon Kinesis Data Streams uses the partition+-- key as input to a hash function that maps the partition key and+-- associated data to a specific shard. Specifically, an MD5 hash function+-- is used to map partition keys to 128-bit integer values and to map+-- associated data records to shards. As a result of this hashing+-- mechanism, all data records with the same partition key map to the same+-- shard within the stream.+newPutRecord ::+ -- | 'data''+ Prelude.ByteString ->+ -- | 'partitionKey'+ Prelude.Text ->+ PutRecord+newPutRecord pData_ pPartitionKey_ =+ PutRecord'+ { explicitHashKey = Prelude.Nothing,+ sequenceNumberForOrdering = Prelude.Nothing,+ streamARN = Prelude.Nothing,+ streamName = Prelude.Nothing,+ data' = Data._Base64 Lens.# pData_,+ partitionKey = pPartitionKey_+ }++-- | The hash value used to explicitly determine the shard the data record is+-- assigned to by overriding the partition key hash.+putRecord_explicitHashKey :: Lens.Lens' PutRecord (Prelude.Maybe Prelude.Text)+putRecord_explicitHashKey = Lens.lens (\PutRecord' {explicitHashKey} -> explicitHashKey) (\s@PutRecord' {} a -> s {explicitHashKey = a} :: PutRecord)++-- | Guarantees strictly increasing sequence numbers, for puts from the same+-- client and to the same partition key. Usage: set the+-- @SequenceNumberForOrdering@ of record /n/ to the sequence number of+-- record /n-1/ (as returned in the result when putting record /n-1/). If+-- this parameter is not set, records are coarsely ordered based on arrival+-- time.+putRecord_sequenceNumberForOrdering :: Lens.Lens' PutRecord (Prelude.Maybe Prelude.Text)+putRecord_sequenceNumberForOrdering = Lens.lens (\PutRecord' {sequenceNumberForOrdering} -> sequenceNumberForOrdering) (\s@PutRecord' {} a -> s {sequenceNumberForOrdering = a} :: PutRecord)++-- | The ARN of the stream.+putRecord_streamARN :: Lens.Lens' PutRecord (Prelude.Maybe Prelude.Text)+putRecord_streamARN = Lens.lens (\PutRecord' {streamARN} -> streamARN) (\s@PutRecord' {} a -> s {streamARN = a} :: PutRecord)++-- | The name of the stream to put the data record into.+putRecord_streamName :: Lens.Lens' PutRecord (Prelude.Maybe Prelude.Text)+putRecord_streamName = Lens.lens (\PutRecord' {streamName} -> streamName) (\s@PutRecord' {} a -> s {streamName = a} :: PutRecord)++-- | The data blob to put into the record, which is base64-encoded when the+-- blob is serialized. When the data blob (the payload before+-- base64-encoding) is added to the partition key size, the total size must+-- not exceed the maximum record size (1 MiB).--+-- -- /Note:/ This 'Lens' automatically encodes and decodes Base64 data.+-- -- The underlying isomorphism will encode to Base64 representation during+-- -- serialisation, and decode from Base64 representation during deserialisation.+-- -- This 'Lens' accepts and returns only raw unencoded data.+putRecord_data :: Lens.Lens' PutRecord Prelude.ByteString+putRecord_data = Lens.lens (\PutRecord' {data'} -> data') (\s@PutRecord' {} a -> s {data' = a} :: PutRecord) Prelude.. Data._Base64++-- | 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.+putRecord_partitionKey :: Lens.Lens' PutRecord Prelude.Text+putRecord_partitionKey = Lens.lens (\PutRecord' {partitionKey} -> partitionKey) (\s@PutRecord' {} a -> s {partitionKey = a} :: PutRecord)++instance Core.AWSRequest PutRecord where+ type AWSResponse PutRecord = PutRecordResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ PutRecordResponse'+ Prelude.<$> (x Data..?> "EncryptionType")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ Prelude.<*> (x Data..:> "ShardId")+ Prelude.<*> (x Data..:> "SequenceNumber")+ )++instance Prelude.Hashable PutRecord where+ hashWithSalt _salt PutRecord' {..} =+ _salt+ `Prelude.hashWithSalt` explicitHashKey+ `Prelude.hashWithSalt` sequenceNumberForOrdering+ `Prelude.hashWithSalt` streamARN+ `Prelude.hashWithSalt` streamName+ `Prelude.hashWithSalt` data'+ `Prelude.hashWithSalt` partitionKey++instance Prelude.NFData PutRecord where+ rnf PutRecord' {..} =+ Prelude.rnf explicitHashKey+ `Prelude.seq` Prelude.rnf sequenceNumberForOrdering+ `Prelude.seq` Prelude.rnf streamARN+ `Prelude.seq` Prelude.rnf streamName+ `Prelude.seq` Prelude.rnf data'+ `Prelude.seq` Prelude.rnf partitionKey++instance Data.ToHeaders PutRecord where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("Kinesis_20131202.PutRecord" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON PutRecord where+ toJSON PutRecord' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ExplicitHashKey" Data..=)+ Prelude.<$> explicitHashKey,+ ("SequenceNumberForOrdering" Data..=)+ Prelude.<$> sequenceNumberForOrdering,+ ("StreamARN" Data..=) Prelude.<$> streamARN,+ ("StreamName" Data..=) Prelude.<$> streamName,+ Prelude.Just ("Data" Data..= data'),+ Prelude.Just ("PartitionKey" Data..= partitionKey)+ ]+ )++instance Data.ToPath PutRecord where+ toPath = Prelude.const "/"++instance Data.ToQuery PutRecord where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the output for @PutRecord@.+--+-- /See:/ 'newPutRecordResponse' smart constructor.+data PutRecordResponse = PutRecordResponse'+ { -- | The encryption type to use on the record. This parameter can be one of+ -- the following values:+ --+ -- - @NONE@: Do not encrypt the records in the stream.+ --+ -- - @KMS@: Use server-side encryption on the records in the stream using+ -- a customer-managed Amazon Web Services KMS key.+ encryptionType :: Prelude.Maybe EncryptionType,+ -- | The response's http status code.+ httpStatus :: Prelude.Int,+ -- | The shard ID of the shard where the data record was placed.+ shardId :: Prelude.Text,+ -- | The sequence number identifier that was assigned to the put data record.+ -- The sequence number for the record is unique across all records in the+ -- stream. A sequence number is the identifier associated with every record+ -- put into the stream.+ sequenceNumber :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutRecordResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'encryptionType', 'putRecordResponse_encryptionType' - The encryption type to use on the record. This parameter can be one of+-- the following values:+--+-- - @NONE@: Do not encrypt the records in the stream.+--+-- - @KMS@: Use server-side encryption on the records in the stream using+-- a customer-managed Amazon Web Services KMS key.+--+-- 'httpStatus', 'putRecordResponse_httpStatus' - The response's http status code.+--+-- 'shardId', 'putRecordResponse_shardId' - The shard ID of the shard where the data record was placed.+--+-- 'sequenceNumber', 'putRecordResponse_sequenceNumber' - The sequence number identifier that was assigned to the put data record.+-- The sequence number for the record is unique across all records in the+-- stream. A sequence number is the identifier associated with every record+-- put into the stream.+newPutRecordResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ -- | 'shardId'+ Prelude.Text ->+ -- | 'sequenceNumber'+ Prelude.Text ->+ PutRecordResponse+newPutRecordResponse+ pHttpStatus_+ pShardId_+ pSequenceNumber_ =+ PutRecordResponse'+ { encryptionType =+ Prelude.Nothing,+ httpStatus = pHttpStatus_,+ shardId = pShardId_,+ sequenceNumber = pSequenceNumber_+ }++-- | The encryption type to use on the record. This parameter can be one of+-- the following values:+--+-- - @NONE@: Do not encrypt the records in the stream.+--+-- - @KMS@: Use server-side encryption on the records in the stream using+-- a customer-managed Amazon Web Services KMS key.+putRecordResponse_encryptionType :: Lens.Lens' PutRecordResponse (Prelude.Maybe EncryptionType)+putRecordResponse_encryptionType = Lens.lens (\PutRecordResponse' {encryptionType} -> encryptionType) (\s@PutRecordResponse' {} a -> s {encryptionType = a} :: PutRecordResponse)++-- | The response's http status code.+putRecordResponse_httpStatus :: Lens.Lens' PutRecordResponse Prelude.Int+putRecordResponse_httpStatus = Lens.lens (\PutRecordResponse' {httpStatus} -> httpStatus) (\s@PutRecordResponse' {} a -> s {httpStatus = a} :: PutRecordResponse)++-- | The shard ID of the shard where the data record was placed.+putRecordResponse_shardId :: Lens.Lens' PutRecordResponse Prelude.Text+putRecordResponse_shardId = Lens.lens (\PutRecordResponse' {shardId} -> shardId) (\s@PutRecordResponse' {} a -> s {shardId = a} :: PutRecordResponse)++-- | The sequence number identifier that was assigned to the put data record.+-- The sequence number for the record is unique across all records in the+-- stream. A sequence number is the identifier associated with every record+-- put into the stream.+putRecordResponse_sequenceNumber :: Lens.Lens' PutRecordResponse Prelude.Text+putRecordResponse_sequenceNumber = Lens.lens (\PutRecordResponse' {sequenceNumber} -> sequenceNumber) (\s@PutRecordResponse' {} a -> s {sequenceNumber = a} :: PutRecordResponse)++instance Prelude.NFData PutRecordResponse where+ rnf PutRecordResponse' {..} =+ Prelude.rnf encryptionType+ `Prelude.seq` Prelude.rnf httpStatus+ `Prelude.seq` Prelude.rnf shardId+ `Prelude.seq` Prelude.rnf sequenceNumber
+ gen/Amazonka/Kinesis/PutRecords.hs view
@@ -0,0 +1,329 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.PutRecords+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Writes multiple data records into a Kinesis data stream in a single call+-- (also referred to as a @PutRecords@ request). Use this operation to send+-- data into the stream for data ingestion and processing.+--+-- When invoking this API, it is recommended you use the @StreamARN@ input+-- parameter rather than the @StreamName@ input parameter.+--+-- Each @PutRecords@ request can support up to 500 records. Each record in+-- the request can be as large as 1 MiB, up to a limit of 5 MiB for the+-- entire request, including partition keys. Each shard can support writes+-- up to 1,000 records per second, up to a maximum data write total of 1+-- MiB per second.+--+-- You must specify the name of the stream that captures, stores, and+-- transports the data; and an array of request @Records@, with each record+-- in the array requiring a partition key and data blob. The record size+-- limit applies to the total size of the partition key and data blob.+--+-- The data blob can be any type of data; for example, a segment from a log+-- file, geographic\/location data, website clickstream data, and so on.+--+-- The partition key is used by Kinesis Data Streams as input to a hash+-- function that maps the partition key and associated data to a specific+-- shard. 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. For more information, see+-- <https://docs.aws.amazon.com/kinesis/latest/dev/developing-producers-with-sdk.html#kinesis-using-sdk-java-add-data-to-stream Adding Data to a Stream>+-- in the /Amazon Kinesis Data Streams Developer Guide/.+--+-- Each record in the @Records@ array may include an optional parameter,+-- @ExplicitHashKey@, which overrides the partition key to shard mapping.+-- This parameter allows a data producer to determine explicitly the shard+-- where the record is stored. For more information, see+-- <https://docs.aws.amazon.com/kinesis/latest/dev/developing-producers-with-sdk.html#kinesis-using-sdk-java-putrecords Adding Multiple Records with PutRecords>+-- in the /Amazon Kinesis Data Streams Developer Guide/.+--+-- The @PutRecords@ response includes an array of response @Records@. Each+-- record in the response array directly correlates with a record in the+-- request array using natural ordering, from the top to the bottom of the+-- request and response. The response @Records@ array always includes the+-- same number of records as the request array.+--+-- The response @Records@ array includes both successfully and+-- unsuccessfully processed records. Kinesis Data Streams attempts to+-- process all records in each @PutRecords@ request. A single record+-- failure does not stop the processing of subsequent records. As a result,+-- PutRecords doesn\'t guarantee the ordering of records. If you need to+-- read records in the same order they are written to the stream, use+-- PutRecord instead of @PutRecords@, and write to the same shard.+--+-- A successfully processed record includes @ShardId@ and @SequenceNumber@+-- values. The @ShardId@ parameter identifies the shard in the stream where+-- the record is stored. The @SequenceNumber@ parameter is an identifier+-- assigned to the put record, unique to all records in the stream.+--+-- An unsuccessfully processed record includes @ErrorCode@ and+-- @ErrorMessage@ values. @ErrorCode@ reflects the type of error and can be+-- one of the following values: @ProvisionedThroughputExceededException@ or+-- @InternalFailure@. @ErrorMessage@ provides more detailed information+-- about the @ProvisionedThroughputExceededException@ exception including+-- the account ID, stream name, and shard ID of the record that was+-- throttled. For more information about partially successful responses,+-- see+-- <https://docs.aws.amazon.com/kinesis/latest/dev/kinesis-using-sdk-java-add-data-to-stream.html#kinesis-using-sdk-java-putrecords Adding Multiple Records with PutRecords>+-- in the /Amazon Kinesis Data Streams Developer Guide/.+--+-- After you write a record to a stream, you cannot modify that record or+-- its order within the stream.+--+-- By default, data records are accessible for 24 hours from the time that+-- they are added to a stream. You can use IncreaseStreamRetentionPeriod or+-- DecreaseStreamRetentionPeriod to modify this retention period.+module Amazonka.Kinesis.PutRecords+ ( -- * Creating a Request+ PutRecords (..),+ newPutRecords,++ -- * Request Lenses+ putRecords_streamARN,+ putRecords_streamName,+ putRecords_records,++ -- * Destructuring the Response+ PutRecordsResponse (..),+ newPutRecordsResponse,++ -- * Response Lenses+ putRecordsResponse_encryptionType,+ putRecordsResponse_failedRecordCount,+ putRecordsResponse_httpStatus,+ putRecordsResponse_records,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | A @PutRecords@ request.+--+-- /See:/ 'newPutRecords' smart constructor.+data PutRecords = PutRecords'+ { -- | The ARN of the stream.+ streamARN :: Prelude.Maybe Prelude.Text,+ -- | The stream name associated with the request.+ streamName :: Prelude.Maybe Prelude.Text,+ -- | The records associated with the request.+ records :: Prelude.NonEmpty PutRecordsRequestEntry+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutRecords' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'streamARN', 'putRecords_streamARN' - The ARN of the stream.+--+-- 'streamName', 'putRecords_streamName' - The stream name associated with the request.+--+-- 'records', 'putRecords_records' - The records associated with the request.+newPutRecords ::+ -- | 'records'+ Prelude.NonEmpty PutRecordsRequestEntry ->+ PutRecords+newPutRecords pRecords_ =+ PutRecords'+ { streamARN = Prelude.Nothing,+ streamName = Prelude.Nothing,+ records = Lens.coerced Lens.# pRecords_+ }++-- | The ARN of the stream.+putRecords_streamARN :: Lens.Lens' PutRecords (Prelude.Maybe Prelude.Text)+putRecords_streamARN = Lens.lens (\PutRecords' {streamARN} -> streamARN) (\s@PutRecords' {} a -> s {streamARN = a} :: PutRecords)++-- | The stream name associated with the request.+putRecords_streamName :: Lens.Lens' PutRecords (Prelude.Maybe Prelude.Text)+putRecords_streamName = Lens.lens (\PutRecords' {streamName} -> streamName) (\s@PutRecords' {} a -> s {streamName = a} :: PutRecords)++-- | The records associated with the request.+putRecords_records :: Lens.Lens' PutRecords (Prelude.NonEmpty PutRecordsRequestEntry)+putRecords_records = Lens.lens (\PutRecords' {records} -> records) (\s@PutRecords' {} a -> s {records = a} :: PutRecords) Prelude.. Lens.coerced++instance Core.AWSRequest PutRecords where+ type AWSResponse PutRecords = PutRecordsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ PutRecordsResponse'+ Prelude.<$> (x Data..?> "EncryptionType")+ Prelude.<*> (x Data..?> "FailedRecordCount")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ Prelude.<*> (x Data..:> "Records")+ )++instance Prelude.Hashable PutRecords where+ hashWithSalt _salt PutRecords' {..} =+ _salt+ `Prelude.hashWithSalt` streamARN+ `Prelude.hashWithSalt` streamName+ `Prelude.hashWithSalt` records++instance Prelude.NFData PutRecords where+ rnf PutRecords' {..} =+ Prelude.rnf streamARN+ `Prelude.seq` Prelude.rnf streamName+ `Prelude.seq` Prelude.rnf records++instance Data.ToHeaders PutRecords where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "Kinesis_20131202.PutRecords" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON PutRecords where+ toJSON PutRecords' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("StreamARN" Data..=) Prelude.<$> streamARN,+ ("StreamName" Data..=) Prelude.<$> streamName,+ Prelude.Just ("Records" Data..= records)+ ]+ )++instance Data.ToPath PutRecords where+ toPath = Prelude.const "/"++instance Data.ToQuery PutRecords where+ toQuery = Prelude.const Prelude.mempty++-- | @PutRecords@ results.+--+-- /See:/ 'newPutRecordsResponse' smart constructor.+data PutRecordsResponse = PutRecordsResponse'+ { -- | The encryption type used on the records. This parameter can be one of+ -- the following values:+ --+ -- - @NONE@: Do not encrypt the records.+ --+ -- - @KMS@: Use server-side encryption on the records using a+ -- customer-managed Amazon Web Services KMS key.+ encryptionType :: Prelude.Maybe EncryptionType,+ -- | The number of unsuccessfully processed records in a @PutRecords@+ -- request.+ failedRecordCount :: Prelude.Maybe Prelude.Natural,+ -- | The response's http status code.+ httpStatus :: Prelude.Int,+ -- | An array of successfully and unsuccessfully processed record results. A+ -- record that is successfully added to a stream includes @SequenceNumber@+ -- and @ShardId@ in the result. A record that fails to be added to a stream+ -- includes @ErrorCode@ and @ErrorMessage@ in the result.+ records :: Prelude.NonEmpty PutRecordsResultEntry+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutRecordsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'encryptionType', 'putRecordsResponse_encryptionType' - The encryption type used on the records. This parameter can be one of+-- the following values:+--+-- - @NONE@: Do not encrypt the records.+--+-- - @KMS@: Use server-side encryption on the records using a+-- customer-managed Amazon Web Services KMS key.+--+-- 'failedRecordCount', 'putRecordsResponse_failedRecordCount' - The number of unsuccessfully processed records in a @PutRecords@+-- request.+--+-- 'httpStatus', 'putRecordsResponse_httpStatus' - The response's http status code.+--+-- 'records', 'putRecordsResponse_records' - An array of successfully and unsuccessfully processed record results. A+-- record that is successfully added to a stream includes @SequenceNumber@+-- and @ShardId@ in the result. A record that fails to be added to a stream+-- includes @ErrorCode@ and @ErrorMessage@ in the result.+newPutRecordsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ -- | 'records'+ Prelude.NonEmpty PutRecordsResultEntry ->+ PutRecordsResponse+newPutRecordsResponse pHttpStatus_ pRecords_ =+ PutRecordsResponse'+ { encryptionType =+ Prelude.Nothing,+ failedRecordCount = Prelude.Nothing,+ httpStatus = pHttpStatus_,+ records = Lens.coerced Lens.# pRecords_+ }++-- | The encryption type used on the records. This parameter can be one of+-- the following values:+--+-- - @NONE@: Do not encrypt the records.+--+-- - @KMS@: Use server-side encryption on the records using a+-- customer-managed Amazon Web Services KMS key.+putRecordsResponse_encryptionType :: Lens.Lens' PutRecordsResponse (Prelude.Maybe EncryptionType)+putRecordsResponse_encryptionType = Lens.lens (\PutRecordsResponse' {encryptionType} -> encryptionType) (\s@PutRecordsResponse' {} a -> s {encryptionType = a} :: PutRecordsResponse)++-- | The number of unsuccessfully processed records in a @PutRecords@+-- request.+putRecordsResponse_failedRecordCount :: Lens.Lens' PutRecordsResponse (Prelude.Maybe Prelude.Natural)+putRecordsResponse_failedRecordCount = Lens.lens (\PutRecordsResponse' {failedRecordCount} -> failedRecordCount) (\s@PutRecordsResponse' {} a -> s {failedRecordCount = a} :: PutRecordsResponse)++-- | The response's http status code.+putRecordsResponse_httpStatus :: Lens.Lens' PutRecordsResponse Prelude.Int+putRecordsResponse_httpStatus = Lens.lens (\PutRecordsResponse' {httpStatus} -> httpStatus) (\s@PutRecordsResponse' {} a -> s {httpStatus = a} :: PutRecordsResponse)++-- | An array of successfully and unsuccessfully processed record results. A+-- record that is successfully added to a stream includes @SequenceNumber@+-- and @ShardId@ in the result. A record that fails to be added to a stream+-- includes @ErrorCode@ and @ErrorMessage@ in the result.+putRecordsResponse_records :: Lens.Lens' PutRecordsResponse (Prelude.NonEmpty PutRecordsResultEntry)+putRecordsResponse_records = Lens.lens (\PutRecordsResponse' {records} -> records) (\s@PutRecordsResponse' {} a -> s {records = a} :: PutRecordsResponse) Prelude.. Lens.coerced++instance Prelude.NFData PutRecordsResponse where+ rnf PutRecordsResponse' {..} =+ Prelude.rnf encryptionType+ `Prelude.seq` Prelude.rnf failedRecordCount+ `Prelude.seq` Prelude.rnf httpStatus+ `Prelude.seq` Prelude.rnf records
+ gen/Amazonka/Kinesis/RegisterStreamConsumer.hs view
@@ -0,0 +1,227 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.RegisterStreamConsumer+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Registers a consumer with a Kinesis data stream. When you use this+-- operation, the consumer you register can then call SubscribeToShard to+-- receive data from the stream using enhanced fan-out, at a rate of up to+-- 2 MiB per second for every shard you subscribe to. This rate is+-- unaffected by the total number of consumers that read from the same+-- stream.+--+-- You can register up to 20 consumers per stream. A given consumer can+-- only be registered with one stream at a time.+--+-- For an example of how to use this operations, see+-- </streams/latest/dev/building-enhanced-consumers-api.html Enhanced Fan-Out Using the Kinesis Data Streams API>.+--+-- The use of this operation has a limit of five transactions per second+-- per account. Also, only 5 consumers can be created simultaneously. In+-- other words, you cannot have more than 5 consumers in a @CREATING@+-- status at the same time. Registering a 6th consumer while there are 5 in+-- a @CREATING@ status results in a @LimitExceededException@.+module Amazonka.Kinesis.RegisterStreamConsumer+ ( -- * Creating a Request+ RegisterStreamConsumer (..),+ newRegisterStreamConsumer,++ -- * Request Lenses+ registerStreamConsumer_streamARN,+ registerStreamConsumer_consumerName,++ -- * Destructuring the Response+ RegisterStreamConsumerResponse (..),+ newRegisterStreamConsumerResponse,++ -- * Response Lenses+ registerStreamConsumerResponse_httpStatus,+ registerStreamConsumerResponse_consumer,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newRegisterStreamConsumer' smart constructor.+data RegisterStreamConsumer = RegisterStreamConsumer'+ { -- | The ARN of the Kinesis data stream that you want to register the+ -- consumer with. For more info, see+ -- <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kinesis-streams Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces>.+ streamARN :: Prelude.Text,+ -- | For a given Kinesis data stream, each consumer must have a unique name.+ -- However, consumer names don\'t have to be unique across data streams.+ consumerName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RegisterStreamConsumer' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'streamARN', 'registerStreamConsumer_streamARN' - The ARN of the Kinesis data stream that you want to register the+-- consumer with. For more info, see+-- <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kinesis-streams Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces>.+--+-- 'consumerName', 'registerStreamConsumer_consumerName' - For a given Kinesis data stream, each consumer must have a unique name.+-- However, consumer names don\'t have to be unique across data streams.+newRegisterStreamConsumer ::+ -- | 'streamARN'+ Prelude.Text ->+ -- | 'consumerName'+ Prelude.Text ->+ RegisterStreamConsumer+newRegisterStreamConsumer pStreamARN_ pConsumerName_ =+ RegisterStreamConsumer'+ { streamARN = pStreamARN_,+ consumerName = pConsumerName_+ }++-- | The ARN of the Kinesis data stream that you want to register the+-- consumer with. For more info, see+-- <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kinesis-streams Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces>.+registerStreamConsumer_streamARN :: Lens.Lens' RegisterStreamConsumer Prelude.Text+registerStreamConsumer_streamARN = Lens.lens (\RegisterStreamConsumer' {streamARN} -> streamARN) (\s@RegisterStreamConsumer' {} a -> s {streamARN = a} :: RegisterStreamConsumer)++-- | For a given Kinesis data stream, each consumer must have a unique name.+-- However, consumer names don\'t have to be unique across data streams.+registerStreamConsumer_consumerName :: Lens.Lens' RegisterStreamConsumer Prelude.Text+registerStreamConsumer_consumerName = Lens.lens (\RegisterStreamConsumer' {consumerName} -> consumerName) (\s@RegisterStreamConsumer' {} a -> s {consumerName = a} :: RegisterStreamConsumer)++instance Core.AWSRequest RegisterStreamConsumer where+ type+ AWSResponse RegisterStreamConsumer =+ RegisterStreamConsumerResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ RegisterStreamConsumerResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ Prelude.<*> (x Data..:> "Consumer")+ )++instance Prelude.Hashable RegisterStreamConsumer where+ hashWithSalt _salt RegisterStreamConsumer' {..} =+ _salt+ `Prelude.hashWithSalt` streamARN+ `Prelude.hashWithSalt` consumerName++instance Prelude.NFData RegisterStreamConsumer where+ rnf RegisterStreamConsumer' {..} =+ Prelude.rnf streamARN+ `Prelude.seq` Prelude.rnf consumerName++instance Data.ToHeaders RegisterStreamConsumer where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "Kinesis_20131202.RegisterStreamConsumer" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON RegisterStreamConsumer where+ toJSON RegisterStreamConsumer' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("StreamARN" Data..= streamARN),+ Prelude.Just ("ConsumerName" Data..= consumerName)+ ]+ )++instance Data.ToPath RegisterStreamConsumer where+ toPath = Prelude.const "/"++instance Data.ToQuery RegisterStreamConsumer where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newRegisterStreamConsumerResponse' smart constructor.+data RegisterStreamConsumerResponse = RegisterStreamConsumerResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int,+ -- | An object that represents the details of the consumer you registered.+ -- When you register a consumer, it gets an ARN that is generated by+ -- Kinesis Data Streams.+ consumer :: Consumer+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RegisterStreamConsumerResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'registerStreamConsumerResponse_httpStatus' - The response's http status code.+--+-- 'consumer', 'registerStreamConsumerResponse_consumer' - An object that represents the details of the consumer you registered.+-- When you register a consumer, it gets an ARN that is generated by+-- Kinesis Data Streams.+newRegisterStreamConsumerResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ -- | 'consumer'+ Consumer ->+ RegisterStreamConsumerResponse+newRegisterStreamConsumerResponse+ pHttpStatus_+ pConsumer_ =+ RegisterStreamConsumerResponse'+ { httpStatus =+ pHttpStatus_,+ consumer = pConsumer_+ }++-- | The response's http status code.+registerStreamConsumerResponse_httpStatus :: Lens.Lens' RegisterStreamConsumerResponse Prelude.Int+registerStreamConsumerResponse_httpStatus = Lens.lens (\RegisterStreamConsumerResponse' {httpStatus} -> httpStatus) (\s@RegisterStreamConsumerResponse' {} a -> s {httpStatus = a} :: RegisterStreamConsumerResponse)++-- | An object that represents the details of the consumer you registered.+-- When you register a consumer, it gets an ARN that is generated by+-- Kinesis Data Streams.+registerStreamConsumerResponse_consumer :: Lens.Lens' RegisterStreamConsumerResponse Consumer+registerStreamConsumerResponse_consumer = Lens.lens (\RegisterStreamConsumerResponse' {consumer} -> consumer) (\s@RegisterStreamConsumerResponse' {} a -> s {consumer = a} :: RegisterStreamConsumerResponse)++instance+ Prelude.NFData+ RegisterStreamConsumerResponse+ where+ rnf RegisterStreamConsumerResponse' {..} =+ Prelude.rnf httpStatus+ `Prelude.seq` Prelude.rnf consumer
+ gen/Amazonka/Kinesis/RemoveTagsFromStream.hs view
@@ -0,0 +1,176 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.RemoveTagsFromStream+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Removes tags from the specified Kinesis data stream. Removed tags are+-- deleted and cannot be recovered after this operation successfully+-- completes.+--+-- When invoking this API, it is recommended you use the @StreamARN@ input+-- parameter rather than the @StreamName@ input parameter.+--+-- If you specify a tag that does not exist, it is ignored.+--+-- RemoveTagsFromStream has a limit of five transactions per second per+-- account.+module Amazonka.Kinesis.RemoveTagsFromStream+ ( -- * Creating a Request+ RemoveTagsFromStream (..),+ newRemoveTagsFromStream,++ -- * Request Lenses+ removeTagsFromStream_streamARN,+ removeTagsFromStream_streamName,+ removeTagsFromStream_tagKeys,++ -- * Destructuring the Response+ RemoveTagsFromStreamResponse (..),+ newRemoveTagsFromStreamResponse,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Represents the input for @RemoveTagsFromStream@.+--+-- /See:/ 'newRemoveTagsFromStream' smart constructor.+data RemoveTagsFromStream = RemoveTagsFromStream'+ { -- | The ARN of the stream.+ streamARN :: Prelude.Maybe Prelude.Text,+ -- | The name of the stream.+ streamName :: Prelude.Maybe Prelude.Text,+ -- | A list of tag keys. Each corresponding tag is removed from the stream.+ tagKeys :: Prelude.NonEmpty Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RemoveTagsFromStream' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'streamARN', 'removeTagsFromStream_streamARN' - The ARN of the stream.+--+-- 'streamName', 'removeTagsFromStream_streamName' - The name of the stream.+--+-- 'tagKeys', 'removeTagsFromStream_tagKeys' - A list of tag keys. Each corresponding tag is removed from the stream.+newRemoveTagsFromStream ::+ -- | 'tagKeys'+ Prelude.NonEmpty Prelude.Text ->+ RemoveTagsFromStream+newRemoveTagsFromStream pTagKeys_ =+ RemoveTagsFromStream'+ { streamARN = Prelude.Nothing,+ streamName = Prelude.Nothing,+ tagKeys = Lens.coerced Lens.# pTagKeys_+ }++-- | The ARN of the stream.+removeTagsFromStream_streamARN :: Lens.Lens' RemoveTagsFromStream (Prelude.Maybe Prelude.Text)+removeTagsFromStream_streamARN = Lens.lens (\RemoveTagsFromStream' {streamARN} -> streamARN) (\s@RemoveTagsFromStream' {} a -> s {streamARN = a} :: RemoveTagsFromStream)++-- | The name of the stream.+removeTagsFromStream_streamName :: Lens.Lens' RemoveTagsFromStream (Prelude.Maybe Prelude.Text)+removeTagsFromStream_streamName = Lens.lens (\RemoveTagsFromStream' {streamName} -> streamName) (\s@RemoveTagsFromStream' {} a -> s {streamName = a} :: RemoveTagsFromStream)++-- | A list of tag keys. Each corresponding tag is removed from the stream.+removeTagsFromStream_tagKeys :: Lens.Lens' RemoveTagsFromStream (Prelude.NonEmpty Prelude.Text)+removeTagsFromStream_tagKeys = Lens.lens (\RemoveTagsFromStream' {tagKeys} -> tagKeys) (\s@RemoveTagsFromStream' {} a -> s {tagKeys = a} :: RemoveTagsFromStream) Prelude.. Lens.coerced++instance Core.AWSRequest RemoveTagsFromStream where+ type+ AWSResponse RemoveTagsFromStream =+ RemoveTagsFromStreamResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveNull RemoveTagsFromStreamResponse'++instance Prelude.Hashable RemoveTagsFromStream where+ hashWithSalt _salt RemoveTagsFromStream' {..} =+ _salt+ `Prelude.hashWithSalt` streamARN+ `Prelude.hashWithSalt` streamName+ `Prelude.hashWithSalt` tagKeys++instance Prelude.NFData RemoveTagsFromStream where+ rnf RemoveTagsFromStream' {..} =+ Prelude.rnf streamARN+ `Prelude.seq` Prelude.rnf streamName+ `Prelude.seq` Prelude.rnf tagKeys++instance Data.ToHeaders RemoveTagsFromStream where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "Kinesis_20131202.RemoveTagsFromStream" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON RemoveTagsFromStream where+ toJSON RemoveTagsFromStream' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("StreamARN" Data..=) Prelude.<$> streamARN,+ ("StreamName" Data..=) Prelude.<$> streamName,+ Prelude.Just ("TagKeys" Data..= tagKeys)+ ]+ )++instance Data.ToPath RemoveTagsFromStream where+ toPath = Prelude.const "/"++instance Data.ToQuery RemoveTagsFromStream where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newRemoveTagsFromStreamResponse' smart constructor.+data RemoveTagsFromStreamResponse = RemoveTagsFromStreamResponse'+ {+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RemoveTagsFromStreamResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newRemoveTagsFromStreamResponse ::+ RemoveTagsFromStreamResponse+newRemoveTagsFromStreamResponse =+ RemoveTagsFromStreamResponse'++instance Prelude.NFData RemoveTagsFromStreamResponse where+ rnf _ = ()
+ gen/Amazonka/Kinesis/SplitShard.hs view
@@ -0,0 +1,253 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.SplitShard+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Splits a shard into two new shards in the Kinesis data stream, to+-- increase the stream\'s capacity to ingest and transport data.+-- @SplitShard@ is called when there is a need to increase the overall+-- capacity of a stream because of an expected increase in the volume of+-- data records being ingested. This API is only supported for the data+-- streams with the provisioned capacity mode.+--+-- When invoking this API, it is recommended you use the @StreamARN@ input+-- parameter rather than the @StreamName@ input parameter.+--+-- You can also use @SplitShard@ when a shard appears to be approaching its+-- maximum utilization; for example, the producers sending data into the+-- specific shard are suddenly sending more than previously anticipated.+-- You can also call @SplitShard@ to increase stream capacity, so that more+-- Kinesis Data Streams applications can simultaneously read data from the+-- stream for real-time processing.+--+-- You must specify the shard to be split and the new hash key, which is+-- the position in the shard where the shard gets split in two. In many+-- cases, the new hash key might be the average of the beginning and ending+-- hash key, but it can be any hash key value in the range being mapped+-- into the shard. For more information, see+-- <https://docs.aws.amazon.com/kinesis/latest/dev/kinesis-using-sdk-java-resharding-split.html Split a Shard>+-- in the /Amazon Kinesis Data Streams Developer Guide/.+--+-- You can use DescribeStreamSummary and the ListShards APIs to determine+-- the shard ID and hash key values for the @ShardToSplit@ and+-- @NewStartingHashKey@ parameters that are specified in the @SplitShard@+-- request.+--+-- @SplitShard@ is an asynchronous operation. Upon receiving a @SplitShard@+-- request, Kinesis Data Streams immediately returns a response and sets+-- the stream status to @UPDATING@. After the operation is completed,+-- Kinesis Data Streams sets the stream status to @ACTIVE@. Read and write+-- operations continue to work while the stream is in the @UPDATING@ state.+--+-- You can use DescribeStreamSummary to check the status of the stream,+-- which is returned in @StreamStatus@. If the stream is in the @ACTIVE@+-- state, you can call @SplitShard@.+--+-- If the specified stream does not exist, DescribeStreamSummary returns a+-- @ResourceNotFoundException@. If you try to create more shards than are+-- authorized for your account, you receive a @LimitExceededException@.+--+-- For the default shard limit for an Amazon Web Services account, see+-- <https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html Kinesis Data Streams Limits>+-- in the /Amazon Kinesis Data Streams Developer Guide/. To increase this+-- limit,+-- <https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html contact Amazon Web Services Support>.+--+-- If you try to operate on too many streams simultaneously using+-- CreateStream, DeleteStream, MergeShards, and\/or SplitShard, you receive+-- a @LimitExceededException@.+--+-- @SplitShard@ has a limit of five transactions per second per account.+module Amazonka.Kinesis.SplitShard+ ( -- * Creating a Request+ SplitShard (..),+ newSplitShard,++ -- * Request Lenses+ splitShard_streamARN,+ splitShard_streamName,+ splitShard_shardToSplit,+ splitShard_newStartingHashKey,++ -- * Destructuring the Response+ SplitShardResponse (..),+ newSplitShardResponse,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Represents the input for @SplitShard@.+--+-- /See:/ 'newSplitShard' smart constructor.+data SplitShard = SplitShard'+ { -- | The ARN of the stream.+ streamARN :: Prelude.Maybe Prelude.Text,+ -- | The name of the stream for the shard split.+ streamName :: Prelude.Maybe Prelude.Text,+ -- | The shard ID of the shard to split.+ shardToSplit :: Prelude.Text,+ -- | A hash key value for the starting hash key of one of the child shards+ -- created by the split. The hash key range for a given shard constitutes a+ -- set of ordered contiguous positive integers. The value for+ -- @NewStartingHashKey@ must be in the range of hash keys being mapped into+ -- the shard. The @NewStartingHashKey@ hash key value and all higher hash+ -- key values in hash key range are distributed to one of the child shards.+ -- All the lower hash key values in the range are distributed to the other+ -- child shard.+ newStartingHashKey' :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SplitShard' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'streamARN', 'splitShard_streamARN' - The ARN of the stream.+--+-- 'streamName', 'splitShard_streamName' - The name of the stream for the shard split.+--+-- 'shardToSplit', 'splitShard_shardToSplit' - The shard ID of the shard to split.+--+-- 'newStartingHashKey'', 'splitShard_newStartingHashKey' - A hash key value for the starting hash key of one of the child shards+-- created by the split. The hash key range for a given shard constitutes a+-- set of ordered contiguous positive integers. The value for+-- @NewStartingHashKey@ must be in the range of hash keys being mapped into+-- the shard. The @NewStartingHashKey@ hash key value and all higher hash+-- key values in hash key range are distributed to one of the child shards.+-- All the lower hash key values in the range are distributed to the other+-- child shard.+newSplitShard ::+ -- | 'shardToSplit'+ Prelude.Text ->+ -- | 'newStartingHashKey''+ Prelude.Text ->+ SplitShard+newSplitShard pShardToSplit_ pNewStartingHashKey_ =+ SplitShard'+ { streamARN = Prelude.Nothing,+ streamName = Prelude.Nothing,+ shardToSplit = pShardToSplit_,+ newStartingHashKey' = pNewStartingHashKey_+ }++-- | The ARN of the stream.+splitShard_streamARN :: Lens.Lens' SplitShard (Prelude.Maybe Prelude.Text)+splitShard_streamARN = Lens.lens (\SplitShard' {streamARN} -> streamARN) (\s@SplitShard' {} a -> s {streamARN = a} :: SplitShard)++-- | The name of the stream for the shard split.+splitShard_streamName :: Lens.Lens' SplitShard (Prelude.Maybe Prelude.Text)+splitShard_streamName = Lens.lens (\SplitShard' {streamName} -> streamName) (\s@SplitShard' {} a -> s {streamName = a} :: SplitShard)++-- | The shard ID of the shard to split.+splitShard_shardToSplit :: Lens.Lens' SplitShard Prelude.Text+splitShard_shardToSplit = Lens.lens (\SplitShard' {shardToSplit} -> shardToSplit) (\s@SplitShard' {} a -> s {shardToSplit = a} :: SplitShard)++-- | A hash key value for the starting hash key of one of the child shards+-- created by the split. The hash key range for a given shard constitutes a+-- set of ordered contiguous positive integers. The value for+-- @NewStartingHashKey@ must be in the range of hash keys being mapped into+-- the shard. The @NewStartingHashKey@ hash key value and all higher hash+-- key values in hash key range are distributed to one of the child shards.+-- All the lower hash key values in the range are distributed to the other+-- child shard.+splitShard_newStartingHashKey :: Lens.Lens' SplitShard Prelude.Text+splitShard_newStartingHashKey = Lens.lens (\SplitShard' {newStartingHashKey'} -> newStartingHashKey') (\s@SplitShard' {} a -> s {newStartingHashKey' = a} :: SplitShard)++instance Core.AWSRequest SplitShard where+ type AWSResponse SplitShard = SplitShardResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response = Response.receiveNull SplitShardResponse'++instance Prelude.Hashable SplitShard where+ hashWithSalt _salt SplitShard' {..} =+ _salt+ `Prelude.hashWithSalt` streamARN+ `Prelude.hashWithSalt` streamName+ `Prelude.hashWithSalt` shardToSplit+ `Prelude.hashWithSalt` newStartingHashKey'++instance Prelude.NFData SplitShard where+ rnf SplitShard' {..} =+ Prelude.rnf streamARN+ `Prelude.seq` Prelude.rnf streamName+ `Prelude.seq` Prelude.rnf shardToSplit+ `Prelude.seq` Prelude.rnf newStartingHashKey'++instance Data.ToHeaders SplitShard where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "Kinesis_20131202.SplitShard" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON SplitShard where+ toJSON SplitShard' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("StreamARN" Data..=) Prelude.<$> streamARN,+ ("StreamName" Data..=) Prelude.<$> streamName,+ Prelude.Just ("ShardToSplit" Data..= shardToSplit),+ Prelude.Just+ ("NewStartingHashKey" Data..= newStartingHashKey')+ ]+ )++instance Data.ToPath SplitShard where+ toPath = Prelude.const "/"++instance Data.ToQuery SplitShard where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newSplitShardResponse' smart constructor.+data SplitShardResponse = SplitShardResponse'+ {+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SplitShardResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newSplitShardResponse ::+ SplitShardResponse+newSplitShardResponse = SplitShardResponse'++instance Prelude.NFData SplitShardResponse where+ rnf _ = ()
+ gen/Amazonka/Kinesis/StartStreamEncryption.hs view
@@ -0,0 +1,252 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.StartStreamEncryption+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Enables or updates server-side encryption using an Amazon Web Services+-- KMS key for a specified stream.+--+-- Starting encryption is an asynchronous operation. Upon receiving the+-- request, Kinesis Data Streams returns immediately and sets the status of+-- the stream to @UPDATING@. After the update is complete, Kinesis Data+-- Streams sets the status of the stream back to @ACTIVE@. Updating or+-- applying encryption normally takes a few seconds to complete, but it can+-- take minutes. You can continue to read and write data to your stream+-- while its status is @UPDATING@. Once the status of the stream is+-- @ACTIVE@, encryption begins for records written to the stream.+--+-- API Limits: You can successfully apply a new Amazon Web Services KMS key+-- for server-side encryption 25 times in a rolling 24-hour period.+--+-- Note: It can take up to 5 seconds after the stream is in an @ACTIVE@+-- status before all records written to the stream are encrypted. After you+-- enable encryption, you can verify that encryption is applied by+-- inspecting the API response from @PutRecord@ or @PutRecords@.+--+-- When invoking this API, it is recommended you use the @StreamARN@ input+-- parameter rather than the @StreamName@ input parameter.+module Amazonka.Kinesis.StartStreamEncryption+ ( -- * Creating a Request+ StartStreamEncryption (..),+ newStartStreamEncryption,++ -- * Request Lenses+ startStreamEncryption_streamARN,+ startStreamEncryption_streamName,+ startStreamEncryption_encryptionType,+ startStreamEncryption_keyId,++ -- * Destructuring the Response+ StartStreamEncryptionResponse (..),+ newStartStreamEncryptionResponse,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newStartStreamEncryption' smart constructor.+data StartStreamEncryption = StartStreamEncryption'+ { -- | The ARN of the stream.+ streamARN :: Prelude.Maybe Prelude.Text,+ -- | The name of the stream for which to start encrypting records.+ streamName :: Prelude.Maybe Prelude.Text,+ -- | The encryption type to use. The only valid value is @KMS@.+ encryptionType :: EncryptionType,+ -- | The GUID for the customer-managed Amazon Web Services KMS key to use for+ -- encryption. This value can be a globally unique identifier, a fully+ -- specified Amazon Resource Name (ARN) to either an alias or a key, or an+ -- alias name prefixed by \"alias\/\".You can also use a master key owned+ -- by Kinesis Data Streams by specifying the alias @aws\/kinesis@.+ --+ -- - Key ARN example:+ -- @arn:aws:kms:us-east-1:123456789012:key\/12345678-1234-1234-1234-123456789012@+ --+ -- - Alias ARN example:+ -- @arn:aws:kms:us-east-1:123456789012:alias\/MyAliasName@+ --+ -- - Globally unique key ID example:+ -- @12345678-1234-1234-1234-123456789012@+ --+ -- - Alias name example: @alias\/MyAliasName@+ --+ -- - Master key owned by Kinesis Data Streams: @alias\/aws\/kinesis@+ keyId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StartStreamEncryption' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'streamARN', 'startStreamEncryption_streamARN' - The ARN of the stream.+--+-- 'streamName', 'startStreamEncryption_streamName' - The name of the stream for which to start encrypting records.+--+-- 'encryptionType', 'startStreamEncryption_encryptionType' - The encryption type to use. The only valid value is @KMS@.+--+-- 'keyId', 'startStreamEncryption_keyId' - The GUID for the customer-managed Amazon Web Services KMS key to use for+-- encryption. This value can be a globally unique identifier, a fully+-- specified Amazon Resource Name (ARN) to either an alias or a key, or an+-- alias name prefixed by \"alias\/\".You can also use a master key owned+-- by Kinesis Data Streams by specifying the alias @aws\/kinesis@.+--+-- - Key ARN example:+-- @arn:aws:kms:us-east-1:123456789012:key\/12345678-1234-1234-1234-123456789012@+--+-- - Alias ARN example:+-- @arn:aws:kms:us-east-1:123456789012:alias\/MyAliasName@+--+-- - Globally unique key ID example:+-- @12345678-1234-1234-1234-123456789012@+--+-- - Alias name example: @alias\/MyAliasName@+--+-- - Master key owned by Kinesis Data Streams: @alias\/aws\/kinesis@+newStartStreamEncryption ::+ -- | 'encryptionType'+ EncryptionType ->+ -- | 'keyId'+ Prelude.Text ->+ StartStreamEncryption+newStartStreamEncryption pEncryptionType_ pKeyId_ =+ StartStreamEncryption'+ { streamARN = Prelude.Nothing,+ streamName = Prelude.Nothing,+ encryptionType = pEncryptionType_,+ keyId = pKeyId_+ }++-- | The ARN of the stream.+startStreamEncryption_streamARN :: Lens.Lens' StartStreamEncryption (Prelude.Maybe Prelude.Text)+startStreamEncryption_streamARN = Lens.lens (\StartStreamEncryption' {streamARN} -> streamARN) (\s@StartStreamEncryption' {} a -> s {streamARN = a} :: StartStreamEncryption)++-- | The name of the stream for which to start encrypting records.+startStreamEncryption_streamName :: Lens.Lens' StartStreamEncryption (Prelude.Maybe Prelude.Text)+startStreamEncryption_streamName = Lens.lens (\StartStreamEncryption' {streamName} -> streamName) (\s@StartStreamEncryption' {} a -> s {streamName = a} :: StartStreamEncryption)++-- | The encryption type to use. The only valid value is @KMS@.+startStreamEncryption_encryptionType :: Lens.Lens' StartStreamEncryption EncryptionType+startStreamEncryption_encryptionType = Lens.lens (\StartStreamEncryption' {encryptionType} -> encryptionType) (\s@StartStreamEncryption' {} a -> s {encryptionType = a} :: StartStreamEncryption)++-- | The GUID for the customer-managed Amazon Web Services KMS key to use for+-- encryption. This value can be a globally unique identifier, a fully+-- specified Amazon Resource Name (ARN) to either an alias or a key, or an+-- alias name prefixed by \"alias\/\".You can also use a master key owned+-- by Kinesis Data Streams by specifying the alias @aws\/kinesis@.+--+-- - Key ARN example:+-- @arn:aws:kms:us-east-1:123456789012:key\/12345678-1234-1234-1234-123456789012@+--+-- - Alias ARN example:+-- @arn:aws:kms:us-east-1:123456789012:alias\/MyAliasName@+--+-- - Globally unique key ID example:+-- @12345678-1234-1234-1234-123456789012@+--+-- - Alias name example: @alias\/MyAliasName@+--+-- - Master key owned by Kinesis Data Streams: @alias\/aws\/kinesis@+startStreamEncryption_keyId :: Lens.Lens' StartStreamEncryption Prelude.Text+startStreamEncryption_keyId = Lens.lens (\StartStreamEncryption' {keyId} -> keyId) (\s@StartStreamEncryption' {} a -> s {keyId = a} :: StartStreamEncryption)++instance Core.AWSRequest StartStreamEncryption where+ type+ AWSResponse StartStreamEncryption =+ StartStreamEncryptionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveNull StartStreamEncryptionResponse'++instance Prelude.Hashable StartStreamEncryption where+ hashWithSalt _salt StartStreamEncryption' {..} =+ _salt+ `Prelude.hashWithSalt` streamARN+ `Prelude.hashWithSalt` streamName+ `Prelude.hashWithSalt` encryptionType+ `Prelude.hashWithSalt` keyId++instance Prelude.NFData StartStreamEncryption where+ rnf StartStreamEncryption' {..} =+ Prelude.rnf streamARN+ `Prelude.seq` Prelude.rnf streamName+ `Prelude.seq` Prelude.rnf encryptionType+ `Prelude.seq` Prelude.rnf keyId++instance Data.ToHeaders StartStreamEncryption where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "Kinesis_20131202.StartStreamEncryption" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON StartStreamEncryption where+ toJSON StartStreamEncryption' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("StreamARN" Data..=) Prelude.<$> streamARN,+ ("StreamName" Data..=) Prelude.<$> streamName,+ Prelude.Just+ ("EncryptionType" Data..= encryptionType),+ Prelude.Just ("KeyId" Data..= keyId)+ ]+ )++instance Data.ToPath StartStreamEncryption where+ toPath = Prelude.const "/"++instance Data.ToQuery StartStreamEncryption where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newStartStreamEncryptionResponse' smart constructor.+data StartStreamEncryptionResponse = StartStreamEncryptionResponse'+ {+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StartStreamEncryptionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newStartStreamEncryptionResponse ::+ StartStreamEncryptionResponse+newStartStreamEncryptionResponse =+ StartStreamEncryptionResponse'++instance Prelude.NFData StartStreamEncryptionResponse where+ rnf _ = ()
+ gen/Amazonka/Kinesis/StopStreamEncryption.hs view
@@ -0,0 +1,253 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.StopStreamEncryption+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Disables server-side encryption for a specified stream.+--+-- When invoking this API, it is recommended you use the @StreamARN@ input+-- parameter rather than the @StreamName@ input parameter.+--+-- Stopping encryption is an asynchronous operation. Upon receiving the+-- request, Kinesis Data Streams returns immediately and sets the status of+-- the stream to @UPDATING@. After the update is complete, Kinesis Data+-- Streams sets the status of the stream back to @ACTIVE@. Stopping+-- encryption normally takes a few seconds to complete, but it can take+-- minutes. You can continue to read and write data to your stream while+-- its status is @UPDATING@. Once the status of the stream is @ACTIVE@,+-- records written to the stream are no longer encrypted by Kinesis Data+-- Streams.+--+-- API Limits: You can successfully disable server-side encryption 25 times+-- in a rolling 24-hour period.+--+-- Note: It can take up to 5 seconds after the stream is in an @ACTIVE@+-- status before all records written to the stream are no longer subject to+-- encryption. After you disabled encryption, you can verify that+-- encryption is not applied by inspecting the API response from+-- @PutRecord@ or @PutRecords@.+module Amazonka.Kinesis.StopStreamEncryption+ ( -- * Creating a Request+ StopStreamEncryption (..),+ newStopStreamEncryption,++ -- * Request Lenses+ stopStreamEncryption_streamARN,+ stopStreamEncryption_streamName,+ stopStreamEncryption_encryptionType,+ stopStreamEncryption_keyId,++ -- * Destructuring the Response+ StopStreamEncryptionResponse (..),+ newStopStreamEncryptionResponse,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newStopStreamEncryption' smart constructor.+data StopStreamEncryption = StopStreamEncryption'+ { -- | The ARN of the stream.+ streamARN :: Prelude.Maybe Prelude.Text,+ -- | The name of the stream on which to stop encrypting records.+ streamName :: Prelude.Maybe Prelude.Text,+ -- | The encryption type. The only valid value is @KMS@.+ encryptionType :: EncryptionType,+ -- | The GUID for the customer-managed Amazon Web Services KMS key to use for+ -- encryption. This value can be a globally unique identifier, a fully+ -- specified Amazon Resource Name (ARN) to either an alias or a key, or an+ -- alias name prefixed by \"alias\/\".You can also use a master key owned+ -- by Kinesis Data Streams by specifying the alias @aws\/kinesis@.+ --+ -- - Key ARN example:+ -- @arn:aws:kms:us-east-1:123456789012:key\/12345678-1234-1234-1234-123456789012@+ --+ -- - Alias ARN example:+ -- @arn:aws:kms:us-east-1:123456789012:alias\/MyAliasName@+ --+ -- - Globally unique key ID example:+ -- @12345678-1234-1234-1234-123456789012@+ --+ -- - Alias name example: @alias\/MyAliasName@+ --+ -- - Master key owned by Kinesis Data Streams: @alias\/aws\/kinesis@+ keyId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StopStreamEncryption' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'streamARN', 'stopStreamEncryption_streamARN' - The ARN of the stream.+--+-- 'streamName', 'stopStreamEncryption_streamName' - The name of the stream on which to stop encrypting records.+--+-- 'encryptionType', 'stopStreamEncryption_encryptionType' - The encryption type. The only valid value is @KMS@.+--+-- 'keyId', 'stopStreamEncryption_keyId' - The GUID for the customer-managed Amazon Web Services KMS key to use for+-- encryption. This value can be a globally unique identifier, a fully+-- specified Amazon Resource Name (ARN) to either an alias or a key, or an+-- alias name prefixed by \"alias\/\".You can also use a master key owned+-- by Kinesis Data Streams by specifying the alias @aws\/kinesis@.+--+-- - Key ARN example:+-- @arn:aws:kms:us-east-1:123456789012:key\/12345678-1234-1234-1234-123456789012@+--+-- - Alias ARN example:+-- @arn:aws:kms:us-east-1:123456789012:alias\/MyAliasName@+--+-- - Globally unique key ID example:+-- @12345678-1234-1234-1234-123456789012@+--+-- - Alias name example: @alias\/MyAliasName@+--+-- - Master key owned by Kinesis Data Streams: @alias\/aws\/kinesis@+newStopStreamEncryption ::+ -- | 'encryptionType'+ EncryptionType ->+ -- | 'keyId'+ Prelude.Text ->+ StopStreamEncryption+newStopStreamEncryption pEncryptionType_ pKeyId_ =+ StopStreamEncryption'+ { streamARN = Prelude.Nothing,+ streamName = Prelude.Nothing,+ encryptionType = pEncryptionType_,+ keyId = pKeyId_+ }++-- | The ARN of the stream.+stopStreamEncryption_streamARN :: Lens.Lens' StopStreamEncryption (Prelude.Maybe Prelude.Text)+stopStreamEncryption_streamARN = Lens.lens (\StopStreamEncryption' {streamARN} -> streamARN) (\s@StopStreamEncryption' {} a -> s {streamARN = a} :: StopStreamEncryption)++-- | The name of the stream on which to stop encrypting records.+stopStreamEncryption_streamName :: Lens.Lens' StopStreamEncryption (Prelude.Maybe Prelude.Text)+stopStreamEncryption_streamName = Lens.lens (\StopStreamEncryption' {streamName} -> streamName) (\s@StopStreamEncryption' {} a -> s {streamName = a} :: StopStreamEncryption)++-- | The encryption type. The only valid value is @KMS@.+stopStreamEncryption_encryptionType :: Lens.Lens' StopStreamEncryption EncryptionType+stopStreamEncryption_encryptionType = Lens.lens (\StopStreamEncryption' {encryptionType} -> encryptionType) (\s@StopStreamEncryption' {} a -> s {encryptionType = a} :: StopStreamEncryption)++-- | The GUID for the customer-managed Amazon Web Services KMS key to use for+-- encryption. This value can be a globally unique identifier, a fully+-- specified Amazon Resource Name (ARN) to either an alias or a key, or an+-- alias name prefixed by \"alias\/\".You can also use a master key owned+-- by Kinesis Data Streams by specifying the alias @aws\/kinesis@.+--+-- - Key ARN example:+-- @arn:aws:kms:us-east-1:123456789012:key\/12345678-1234-1234-1234-123456789012@+--+-- - Alias ARN example:+-- @arn:aws:kms:us-east-1:123456789012:alias\/MyAliasName@+--+-- - Globally unique key ID example:+-- @12345678-1234-1234-1234-123456789012@+--+-- - Alias name example: @alias\/MyAliasName@+--+-- - Master key owned by Kinesis Data Streams: @alias\/aws\/kinesis@+stopStreamEncryption_keyId :: Lens.Lens' StopStreamEncryption Prelude.Text+stopStreamEncryption_keyId = Lens.lens (\StopStreamEncryption' {keyId} -> keyId) (\s@StopStreamEncryption' {} a -> s {keyId = a} :: StopStreamEncryption)++instance Core.AWSRequest StopStreamEncryption where+ type+ AWSResponse StopStreamEncryption =+ StopStreamEncryptionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveNull StopStreamEncryptionResponse'++instance Prelude.Hashable StopStreamEncryption where+ hashWithSalt _salt StopStreamEncryption' {..} =+ _salt+ `Prelude.hashWithSalt` streamARN+ `Prelude.hashWithSalt` streamName+ `Prelude.hashWithSalt` encryptionType+ `Prelude.hashWithSalt` keyId++instance Prelude.NFData StopStreamEncryption where+ rnf StopStreamEncryption' {..} =+ Prelude.rnf streamARN+ `Prelude.seq` Prelude.rnf streamName+ `Prelude.seq` Prelude.rnf encryptionType+ `Prelude.seq` Prelude.rnf keyId++instance Data.ToHeaders StopStreamEncryption where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "Kinesis_20131202.StopStreamEncryption" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON StopStreamEncryption where+ toJSON StopStreamEncryption' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("StreamARN" Data..=) Prelude.<$> streamARN,+ ("StreamName" Data..=) Prelude.<$> streamName,+ Prelude.Just+ ("EncryptionType" Data..= encryptionType),+ Prelude.Just ("KeyId" Data..= keyId)+ ]+ )++instance Data.ToPath StopStreamEncryption where+ toPath = Prelude.const "/"++instance Data.ToQuery StopStreamEncryption where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newStopStreamEncryptionResponse' smart constructor.+data StopStreamEncryptionResponse = StopStreamEncryptionResponse'+ {+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StopStreamEncryptionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newStopStreamEncryptionResponse ::+ StopStreamEncryptionResponse+newStopStreamEncryptionResponse =+ StopStreamEncryptionResponse'++instance Prelude.NFData StopStreamEncryptionResponse where+ rnf _ = ()
+ gen/Amazonka/Kinesis/SubscribeToShard.hs view
@@ -0,0 +1,249 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.SubscribeToShard+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- This operation establishes an HTTP\/2 connection between the consumer+-- you specify in the @ConsumerARN@ parameter and the shard you specify in+-- the @ShardId@ parameter. After the connection is successfully+-- established, Kinesis Data Streams pushes records from the shard to the+-- consumer over this connection. Before you call this operation, call+-- RegisterStreamConsumer to register the consumer with Kinesis Data+-- Streams.+--+-- When the @SubscribeToShard@ call succeeds, your consumer starts+-- receiving events of type SubscribeToShardEvent over the HTTP\/2+-- connection for up to 5 minutes, after which time you need to call+-- @SubscribeToShard@ again to renew the subscription if you want to+-- continue to receive records.+--+-- You can make one call to @SubscribeToShard@ per second per registered+-- consumer per shard. For example, if you have a 4000 shard stream and two+-- registered stream consumers, you can make one @SubscribeToShard@ request+-- per second for each combination of shard and registered consumer,+-- allowing you to subscribe both consumers to all 4000 shards in one+-- second.+--+-- If you call @SubscribeToShard@ again with the same @ConsumerARN@ and+-- @ShardId@ within 5 seconds of a successful call, you\'ll get a+-- @ResourceInUseException@. If you call @SubscribeToShard@ 5 seconds or+-- more after a successful call, the second call takes over the+-- subscription and the previous connection expires or fails with a+-- @ResourceInUseException@.+--+-- For an example of how to use this operations, see+-- </streams/latest/dev/building-enhanced-consumers-api.html Enhanced Fan-Out Using the Kinesis Data Streams API>.+module Amazonka.Kinesis.SubscribeToShard+ ( -- * Creating a Request+ SubscribeToShard (..),+ newSubscribeToShard,++ -- * Request Lenses+ subscribeToShard_consumerARN,+ subscribeToShard_shardId,+ subscribeToShard_startingPosition,++ -- * Destructuring the Response+ SubscribeToShardResponse (..),+ newSubscribeToShardResponse,++ -- * Response Lenses+ subscribeToShardResponse_httpStatus,+ subscribeToShardResponse_eventStream,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newSubscribeToShard' smart constructor.+data SubscribeToShard = SubscribeToShard'+ { -- | For this parameter, use the value you obtained when you called+ -- RegisterStreamConsumer.+ consumerARN :: Prelude.Text,+ -- | The ID of the shard you want to subscribe to. To see a list of all the+ -- shards for a given stream, use ListShards.+ shardId :: Prelude.Text,+ -- | The starting position in the data stream from which to start streaming.+ startingPosition :: StartingPosition+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SubscribeToShard' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'consumerARN', 'subscribeToShard_consumerARN' - For this parameter, use the value you obtained when you called+-- RegisterStreamConsumer.+--+-- 'shardId', 'subscribeToShard_shardId' - The ID of the shard you want to subscribe to. To see a list of all the+-- shards for a given stream, use ListShards.+--+-- 'startingPosition', 'subscribeToShard_startingPosition' - The starting position in the data stream from which to start streaming.+newSubscribeToShard ::+ -- | 'consumerARN'+ Prelude.Text ->+ -- | 'shardId'+ Prelude.Text ->+ -- | 'startingPosition'+ StartingPosition ->+ SubscribeToShard+newSubscribeToShard+ pConsumerARN_+ pShardId_+ pStartingPosition_ =+ SubscribeToShard'+ { consumerARN = pConsumerARN_,+ shardId = pShardId_,+ startingPosition = pStartingPosition_+ }++-- | For this parameter, use the value you obtained when you called+-- RegisterStreamConsumer.+subscribeToShard_consumerARN :: Lens.Lens' SubscribeToShard Prelude.Text+subscribeToShard_consumerARN = Lens.lens (\SubscribeToShard' {consumerARN} -> consumerARN) (\s@SubscribeToShard' {} a -> s {consumerARN = a} :: SubscribeToShard)++-- | The ID of the shard you want to subscribe to. To see a list of all the+-- shards for a given stream, use ListShards.+subscribeToShard_shardId :: Lens.Lens' SubscribeToShard Prelude.Text+subscribeToShard_shardId = Lens.lens (\SubscribeToShard' {shardId} -> shardId) (\s@SubscribeToShard' {} a -> s {shardId = a} :: SubscribeToShard)++-- | The starting position in the data stream from which to start streaming.+subscribeToShard_startingPosition :: Lens.Lens' SubscribeToShard StartingPosition+subscribeToShard_startingPosition = Lens.lens (\SubscribeToShard' {startingPosition} -> startingPosition) (\s@SubscribeToShard' {} a -> s {startingPosition = a} :: SubscribeToShard)++instance Core.AWSRequest SubscribeToShard where+ type+ AWSResponse SubscribeToShard =+ SubscribeToShardResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ SubscribeToShardResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ Prelude.<*> (x Data..:> "EventStream")+ )++instance Prelude.Hashable SubscribeToShard where+ hashWithSalt _salt SubscribeToShard' {..} =+ _salt+ `Prelude.hashWithSalt` consumerARN+ `Prelude.hashWithSalt` shardId+ `Prelude.hashWithSalt` startingPosition++instance Prelude.NFData SubscribeToShard where+ rnf SubscribeToShard' {..} =+ Prelude.rnf consumerARN+ `Prelude.seq` Prelude.rnf shardId+ `Prelude.seq` Prelude.rnf startingPosition++instance Data.ToHeaders SubscribeToShard where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "Kinesis_20131202.SubscribeToShard" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON SubscribeToShard where+ toJSON SubscribeToShard' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("ConsumerARN" Data..= consumerARN),+ Prelude.Just ("ShardId" Data..= shardId),+ Prelude.Just+ ("StartingPosition" Data..= startingPosition)+ ]+ )++instance Data.ToPath SubscribeToShard where+ toPath = Prelude.const "/"++instance Data.ToQuery SubscribeToShard where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newSubscribeToShardResponse' smart constructor.+data SubscribeToShardResponse = SubscribeToShardResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int,+ -- | The event stream that your consumer can use to read records from the+ -- shard.+ eventStream :: Data.Value+ }+ deriving (Prelude.Generic)++-- |+-- Create a value of 'SubscribeToShardResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'subscribeToShardResponse_httpStatus' - The response's http status code.+--+-- 'eventStream', 'subscribeToShardResponse_eventStream' - The event stream that your consumer can use to read records from the+-- shard.+newSubscribeToShardResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ -- | 'eventStream'+ Data.Value ->+ SubscribeToShardResponse+newSubscribeToShardResponse+ pHttpStatus_+ pEventStream_ =+ SubscribeToShardResponse'+ { httpStatus =+ pHttpStatus_,+ eventStream = pEventStream_+ }++-- | The response's http status code.+subscribeToShardResponse_httpStatus :: Lens.Lens' SubscribeToShardResponse Prelude.Int+subscribeToShardResponse_httpStatus = Lens.lens (\SubscribeToShardResponse' {httpStatus} -> httpStatus) (\s@SubscribeToShardResponse' {} a -> s {httpStatus = a} :: SubscribeToShardResponse)++-- | The event stream that your consumer can use to read records from the+-- shard.+subscribeToShardResponse_eventStream :: Lens.Lens' SubscribeToShardResponse Data.Value+subscribeToShardResponse_eventStream = Lens.lens (\SubscribeToShardResponse' {eventStream} -> eventStream) (\s@SubscribeToShardResponse' {} a -> s {eventStream = a} :: SubscribeToShardResponse)++instance Prelude.NFData SubscribeToShardResponse where+ rnf SubscribeToShardResponse' {..} =+ Prelude.rnf httpStatus+ `Prelude.seq` Prelude.rnf eventStream
+ gen/Amazonka/Kinesis/Types.hs view
@@ -0,0 +1,460 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Types+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Types+ ( -- * Service Configuration+ defaultService,++ -- * Errors+ _AccessDeniedException,+ _ExpiredIteratorException,+ _ExpiredNextTokenException,+ _InternalFailureException,+ _InvalidArgumentException,+ _KMSAccessDeniedException,+ _KMSDisabledException,+ _KMSInvalidStateException,+ _KMSNotFoundException,+ _KMSOptInRequired,+ _KMSThrottlingException,+ _LimitExceededException,+ _ProvisionedThroughputExceededException,+ _ResourceInUseException,+ _ResourceNotFoundException,+ _ValidationException,++ -- * ConsumerStatus+ ConsumerStatus (..),++ -- * EncryptionType+ EncryptionType (..),++ -- * MetricsName+ MetricsName (..),++ -- * ScalingType+ ScalingType (..),++ -- * ShardFilterType+ ShardFilterType (..),++ -- * ShardIteratorType+ ShardIteratorType (..),++ -- * StreamMode+ StreamMode (..),++ -- * StreamStatus+ StreamStatus (..),++ -- * ChildShard+ ChildShard (..),+ newChildShard,+ childShard_shardId,+ childShard_parentShards,+ childShard_hashKeyRange,++ -- * Consumer+ Consumer (..),+ newConsumer,+ consumer_consumerName,+ consumer_consumerARN,+ consumer_consumerStatus,+ consumer_consumerCreationTimestamp,++ -- * ConsumerDescription+ ConsumerDescription (..),+ newConsumerDescription,+ consumerDescription_consumerName,+ consumerDescription_consumerARN,+ consumerDescription_consumerStatus,+ consumerDescription_consumerCreationTimestamp,+ consumerDescription_streamARN,++ -- * EnhancedMetrics+ EnhancedMetrics (..),+ newEnhancedMetrics,+ enhancedMetrics_shardLevelMetrics,++ -- * EnhancedMonitoringOutput+ EnhancedMonitoringOutput (..),+ newEnhancedMonitoringOutput,+ enhancedMonitoringOutput_currentShardLevelMetrics,+ enhancedMonitoringOutput_desiredShardLevelMetrics,+ enhancedMonitoringOutput_streamARN,+ enhancedMonitoringOutput_streamName,++ -- * HashKeyRange+ HashKeyRange (..),+ newHashKeyRange,+ hashKeyRange_startingHashKey,+ hashKeyRange_endingHashKey,++ -- * PutRecordsRequestEntry+ PutRecordsRequestEntry (..),+ newPutRecordsRequestEntry,+ putRecordsRequestEntry_explicitHashKey,+ putRecordsRequestEntry_data,+ putRecordsRequestEntry_partitionKey,++ -- * PutRecordsResultEntry+ PutRecordsResultEntry (..),+ newPutRecordsResultEntry,+ putRecordsResultEntry_errorCode,+ putRecordsResultEntry_errorMessage,+ putRecordsResultEntry_sequenceNumber,+ putRecordsResultEntry_shardId,++ -- * Record+ Record (..),+ newRecord,+ record_approximateArrivalTimestamp,+ record_encryptionType,+ record_sequenceNumber,+ record_data,+ record_partitionKey,++ -- * SequenceNumberRange+ SequenceNumberRange (..),+ newSequenceNumberRange,+ sequenceNumberRange_endingSequenceNumber,+ sequenceNumberRange_startingSequenceNumber,++ -- * Shard+ Shard (..),+ newShard,+ shard_adjacentParentShardId,+ shard_parentShardId,+ shard_shardId,+ shard_hashKeyRange,+ shard_sequenceNumberRange,++ -- * ShardFilter+ ShardFilter (..),+ newShardFilter,+ shardFilter_shardId,+ shardFilter_timestamp,+ shardFilter_type,++ -- * StartingPosition+ StartingPosition (..),+ newStartingPosition,+ startingPosition_sequenceNumber,+ startingPosition_timestamp,+ startingPosition_type,++ -- * StreamDescription+ StreamDescription (..),+ newStreamDescription,+ streamDescription_encryptionType,+ streamDescription_keyId,+ streamDescription_streamModeDetails,+ streamDescription_streamName,+ streamDescription_streamARN,+ streamDescription_streamStatus,+ streamDescription_shards,+ streamDescription_hasMoreShards,+ streamDescription_retentionPeriodHours,+ streamDescription_streamCreationTimestamp,+ streamDescription_enhancedMonitoring,++ -- * StreamDescriptionSummary+ StreamDescriptionSummary (..),+ newStreamDescriptionSummary,+ streamDescriptionSummary_consumerCount,+ streamDescriptionSummary_encryptionType,+ streamDescriptionSummary_keyId,+ streamDescriptionSummary_streamModeDetails,+ streamDescriptionSummary_streamName,+ streamDescriptionSummary_streamARN,+ streamDescriptionSummary_streamStatus,+ streamDescriptionSummary_retentionPeriodHours,+ streamDescriptionSummary_streamCreationTimestamp,+ streamDescriptionSummary_enhancedMonitoring,+ streamDescriptionSummary_openShardCount,++ -- * StreamModeDetails+ StreamModeDetails (..),+ newStreamModeDetails,+ streamModeDetails_streamMode,++ -- * StreamSummary+ StreamSummary (..),+ newStreamSummary,+ streamSummary_streamCreationTimestamp,+ streamSummary_streamModeDetails,+ streamSummary_streamName,+ streamSummary_streamARN,+ streamSummary_streamStatus,++ -- * SubscribeToShardEvent+ SubscribeToShardEvent (..),+ newSubscribeToShardEvent,+ subscribeToShardEvent_childShards,+ subscribeToShardEvent_records,+ subscribeToShardEvent_continuationSequenceNumber,+ subscribeToShardEvent_millisBehindLatest,++ -- * Tag+ Tag (..),+ newTag,+ tag_value,+ tag_key,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import Amazonka.Kinesis.Types.ChildShard+import Amazonka.Kinesis.Types.Consumer+import Amazonka.Kinesis.Types.ConsumerDescription+import Amazonka.Kinesis.Types.ConsumerStatus+import Amazonka.Kinesis.Types.EncryptionType+import Amazonka.Kinesis.Types.EnhancedMetrics+import Amazonka.Kinesis.Types.EnhancedMonitoringOutput+import Amazonka.Kinesis.Types.HashKeyRange+import Amazonka.Kinesis.Types.MetricsName+import Amazonka.Kinesis.Types.PutRecordsRequestEntry+import Amazonka.Kinesis.Types.PutRecordsResultEntry+import Amazonka.Kinesis.Types.Record+import Amazonka.Kinesis.Types.ScalingType+import Amazonka.Kinesis.Types.SequenceNumberRange+import Amazonka.Kinesis.Types.Shard+import Amazonka.Kinesis.Types.ShardFilter+import Amazonka.Kinesis.Types.ShardFilterType+import Amazonka.Kinesis.Types.ShardIteratorType+import Amazonka.Kinesis.Types.StartingPosition+import Amazonka.Kinesis.Types.StreamDescription+import Amazonka.Kinesis.Types.StreamDescriptionSummary+import Amazonka.Kinesis.Types.StreamMode+import Amazonka.Kinesis.Types.StreamModeDetails+import Amazonka.Kinesis.Types.StreamStatus+import Amazonka.Kinesis.Types.StreamSummary+import Amazonka.Kinesis.Types.SubscribeToShardEvent+import Amazonka.Kinesis.Types.Tag+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Sign.V4 as Sign++-- | API version @2013-12-02@ of the Amazon Kinesis SDK configuration.+defaultService :: Core.Service+defaultService =+ Core.Service+ { Core.abbrev = "Kinesis",+ Core.signer = Sign.v4,+ Core.endpointPrefix = "kinesis",+ Core.signingName = "kinesis",+ Core.version = "2013-12-02",+ Core.s3AddressingStyle = Core.S3AddressingStyleAuto,+ Core.endpoint = Core.defaultEndpoint defaultService,+ Core.timeout = Prelude.Just 70,+ Core.check = Core.statusSuccess,+ Core.error = Core.parseJSONError "Kinesis",+ Core.retry = retry+ }+ where+ retry =+ Core.Exponential+ { Core.base = 5.0e-2,+ Core.growth = 2,+ Core.attempts = 5,+ Core.check = check+ }+ check e+ | Lens.has (Core.hasStatus 502) e =+ Prelude.Just "bad_gateway"+ | Lens.has (Core.hasStatus 504) e =+ Prelude.Just "gateway_timeout"+ | Lens.has (Core.hasStatus 500) e =+ Prelude.Just "general_server_error"+ | Lens.has (Core.hasStatus 509) e =+ Prelude.Just "limit_exceeded"+ | Lens.has+ ( Core.hasCode "LimitExceededException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "request_limit_exceeded"+ | Lens.has+ ( Core.hasCode "RequestThrottledException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "request_throttled_exception"+ | Lens.has (Core.hasStatus 503) e =+ Prelude.Just "service_unavailable"+ | Lens.has+ ( Core.hasCode "ThrottledException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throttled_exception"+ | Lens.has+ ( Core.hasCode "Throttling"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throttling"+ | Lens.has+ ( Core.hasCode "ThrottlingException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throttling_exception"+ | Lens.has+ ( Core.hasCode+ "ProvisionedThroughputExceededException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throughput_exceeded"+ | Lens.has (Core.hasStatus 429) e =+ Prelude.Just "too_many_requests"+ | Prelude.otherwise = Prelude.Nothing++-- | Specifies that you do not have the permissions required to perform this+-- operation.+_AccessDeniedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_AccessDeniedException =+ Core._MatchServiceError+ defaultService+ "AccessDeniedException"++-- | The provided iterator exceeds the maximum age allowed.+_ExpiredIteratorException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ExpiredIteratorException =+ Core._MatchServiceError+ defaultService+ "ExpiredIteratorException"++-- | The pagination token passed to the operation is expired.+_ExpiredNextTokenException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ExpiredNextTokenException =+ Core._MatchServiceError+ defaultService+ "ExpiredNextTokenException"++-- | The processing of the request failed because of an unknown error,+-- exception, or failure.+_InternalFailureException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InternalFailureException =+ Core._MatchServiceError+ defaultService+ "InternalFailureException"++-- | A specified parameter exceeds its restrictions, is not supported, or+-- can\'t be used. For more information, see the returned message.+_InvalidArgumentException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InvalidArgumentException =+ Core._MatchServiceError+ defaultService+ "InvalidArgumentException"++-- | The ciphertext references a key that doesn\'t exist or that you don\'t+-- have access to.+_KMSAccessDeniedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_KMSAccessDeniedException =+ Core._MatchServiceError+ defaultService+ "KMSAccessDeniedException"++-- | The request was rejected because the specified customer master key (CMK)+-- isn\'t enabled.+_KMSDisabledException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_KMSDisabledException =+ Core._MatchServiceError+ defaultService+ "KMSDisabledException"++-- | The request was rejected because the state of the specified resource+-- isn\'t valid for this request. For more information, see+-- <https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html How Key State Affects Use of a Customer Master Key>+-- in the /Amazon Web Services Key Management Service Developer Guide/.+_KMSInvalidStateException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_KMSInvalidStateException =+ Core._MatchServiceError+ defaultService+ "KMSInvalidStateException"++-- | The request was rejected because the specified entity or resource can\'t+-- be found.+_KMSNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_KMSNotFoundException =+ Core._MatchServiceError+ defaultService+ "KMSNotFoundException"++-- | The Amazon Web Services access key ID needs a subscription for the+-- service.+_KMSOptInRequired :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_KMSOptInRequired =+ Core._MatchServiceError+ defaultService+ "KMSOptInRequired"++-- | The request was denied due to request throttling. For more information+-- about throttling, see+-- <https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second Limits>+-- in the /Amazon Web Services Key Management Service Developer Guide/.+_KMSThrottlingException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_KMSThrottlingException =+ Core._MatchServiceError+ defaultService+ "KMSThrottlingException"++-- | The requested resource exceeds the maximum number allowed, or the number+-- of concurrent stream requests exceeds the maximum number allowed.+_LimitExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_LimitExceededException =+ Core._MatchServiceError+ defaultService+ "LimitExceededException"++-- | 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+-- <https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html Streams Limits>+-- in the /Amazon Kinesis Data Streams Developer Guide/, and+-- <https://docs.aws.amazon.com/general/latest/gr/api-retries.html Error Retries and Exponential Backoff in Amazon Web Services>+-- in the /Amazon Web Services General Reference/.+_ProvisionedThroughputExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ProvisionedThroughputExceededException =+ Core._MatchServiceError+ defaultService+ "ProvisionedThroughputExceededException"++-- | The resource is not available for this operation. For successful+-- operation, the resource must be in the @ACTIVE@ state.+_ResourceInUseException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ResourceInUseException =+ Core._MatchServiceError+ defaultService+ "ResourceInUseException"++-- | The requested resource could not be found. The stream might not be+-- specified correctly.+_ResourceNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ResourceNotFoundException =+ Core._MatchServiceError+ defaultService+ "ResourceNotFoundException"++-- | Specifies that you tried to invoke this API for a data stream with the+-- on-demand capacity mode. This API is only supported for data streams+-- with the provisioned capacity mode.+_ValidationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ValidationException =+ Core._MatchServiceError+ defaultService+ "ValidationException"
+ gen/Amazonka/Kinesis/Types/ChildShard.hs view
@@ -0,0 +1,101 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Types.ChildShard+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Types.ChildShard where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types.HashKeyRange+import qualified Amazonka.Prelude as Prelude++-- | Output parameter of the GetRecords API. The existing child shard of the+-- current shard.+--+-- /See:/ 'newChildShard' smart constructor.+data ChildShard = ChildShard'+ { -- | The shard ID of the existing child shard of the current shard.+ shardId :: Prelude.Text,+ -- | The current shard that is the parent of the existing child shard.+ parentShards :: [Prelude.Text],+ hashKeyRange :: HashKeyRange+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ChildShard' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'shardId', 'childShard_shardId' - The shard ID of the existing child shard of the current shard.+--+-- 'parentShards', 'childShard_parentShards' - The current shard that is the parent of the existing child shard.+--+-- 'hashKeyRange', 'childShard_hashKeyRange' - Undocumented member.+newChildShard ::+ -- | 'shardId'+ Prelude.Text ->+ -- | 'hashKeyRange'+ HashKeyRange ->+ ChildShard+newChildShard pShardId_ pHashKeyRange_ =+ ChildShard'+ { shardId = pShardId_,+ parentShards = Prelude.mempty,+ hashKeyRange = pHashKeyRange_+ }++-- | The shard ID of the existing child shard of the current shard.+childShard_shardId :: Lens.Lens' ChildShard Prelude.Text+childShard_shardId = Lens.lens (\ChildShard' {shardId} -> shardId) (\s@ChildShard' {} a -> s {shardId = a} :: ChildShard)++-- | The current shard that is the parent of the existing child shard.+childShard_parentShards :: Lens.Lens' ChildShard [Prelude.Text]+childShard_parentShards = Lens.lens (\ChildShard' {parentShards} -> parentShards) (\s@ChildShard' {} a -> s {parentShards = a} :: ChildShard) Prelude.. Lens.coerced++-- | Undocumented member.+childShard_hashKeyRange :: Lens.Lens' ChildShard HashKeyRange+childShard_hashKeyRange = Lens.lens (\ChildShard' {hashKeyRange} -> hashKeyRange) (\s@ChildShard' {} a -> s {hashKeyRange = a} :: ChildShard)++instance Data.FromJSON ChildShard where+ parseJSON =+ Data.withObject+ "ChildShard"+ ( \x ->+ ChildShard'+ Prelude.<$> (x Data..: "ShardId")+ Prelude.<*> (x Data..:? "ParentShards" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..: "HashKeyRange")+ )++instance Prelude.Hashable ChildShard where+ hashWithSalt _salt ChildShard' {..} =+ _salt+ `Prelude.hashWithSalt` shardId+ `Prelude.hashWithSalt` parentShards+ `Prelude.hashWithSalt` hashKeyRange++instance Prelude.NFData ChildShard where+ rnf ChildShard' {..} =+ Prelude.rnf shardId+ `Prelude.seq` Prelude.rnf parentShards+ `Prelude.seq` Prelude.rnf hashKeyRange
+ gen/Amazonka/Kinesis/Types/Consumer.hs view
@@ -0,0 +1,145 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Types.Consumer+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Types.Consumer where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types.ConsumerStatus+import qualified Amazonka.Prelude as Prelude++-- | An object that represents the details of the consumer you registered.+-- This type of object is returned by RegisterStreamConsumer.+--+-- /See:/ 'newConsumer' smart constructor.+data Consumer = Consumer'+ { -- | The name of the consumer is something you choose when you register the+ -- consumer.+ consumerName :: Prelude.Text,+ -- | When you register a consumer, Kinesis Data Streams generates an ARN for+ -- it. You need this ARN to be able to call SubscribeToShard.+ --+ -- If you delete a consumer and then create a new one with the same name,+ -- it won\'t have the same ARN. That\'s because consumer ARNs contain the+ -- creation timestamp. This is important to keep in mind if you have IAM+ -- policies that reference consumer ARNs.+ consumerARN :: Prelude.Text,+ -- | A consumer can\'t read data while in the @CREATING@ or @DELETING@+ -- states.+ consumerStatus :: ConsumerStatus,+ consumerCreationTimestamp :: Data.POSIX+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Consumer' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'consumerName', 'consumer_consumerName' - The name of the consumer is something you choose when you register the+-- consumer.+--+-- 'consumerARN', 'consumer_consumerARN' - When you register a consumer, Kinesis Data Streams generates an ARN for+-- it. You need this ARN to be able to call SubscribeToShard.+--+-- If you delete a consumer and then create a new one with the same name,+-- it won\'t have the same ARN. That\'s because consumer ARNs contain the+-- creation timestamp. This is important to keep in mind if you have IAM+-- policies that reference consumer ARNs.+--+-- 'consumerStatus', 'consumer_consumerStatus' - A consumer can\'t read data while in the @CREATING@ or @DELETING@+-- states.+--+-- 'consumerCreationTimestamp', 'consumer_consumerCreationTimestamp' -+newConsumer ::+ -- | 'consumerName'+ Prelude.Text ->+ -- | 'consumerARN'+ Prelude.Text ->+ -- | 'consumerStatus'+ ConsumerStatus ->+ -- | 'consumerCreationTimestamp'+ Prelude.UTCTime ->+ Consumer+newConsumer+ pConsumerName_+ pConsumerARN_+ pConsumerStatus_+ pConsumerCreationTimestamp_ =+ Consumer'+ { consumerName = pConsumerName_,+ consumerARN = pConsumerARN_,+ consumerStatus = pConsumerStatus_,+ consumerCreationTimestamp =+ Data._Time Lens.# pConsumerCreationTimestamp_+ }++-- | The name of the consumer is something you choose when you register the+-- consumer.+consumer_consumerName :: Lens.Lens' Consumer Prelude.Text+consumer_consumerName = Lens.lens (\Consumer' {consumerName} -> consumerName) (\s@Consumer' {} a -> s {consumerName = a} :: Consumer)++-- | When you register a consumer, Kinesis Data Streams generates an ARN for+-- it. You need this ARN to be able to call SubscribeToShard.+--+-- If you delete a consumer and then create a new one with the same name,+-- it won\'t have the same ARN. That\'s because consumer ARNs contain the+-- creation timestamp. This is important to keep in mind if you have IAM+-- policies that reference consumer ARNs.+consumer_consumerARN :: Lens.Lens' Consumer Prelude.Text+consumer_consumerARN = Lens.lens (\Consumer' {consumerARN} -> consumerARN) (\s@Consumer' {} a -> s {consumerARN = a} :: Consumer)++-- | A consumer can\'t read data while in the @CREATING@ or @DELETING@+-- states.+consumer_consumerStatus :: Lens.Lens' Consumer ConsumerStatus+consumer_consumerStatus = Lens.lens (\Consumer' {consumerStatus} -> consumerStatus) (\s@Consumer' {} a -> s {consumerStatus = a} :: Consumer)++consumer_consumerCreationTimestamp :: Lens.Lens' Consumer Prelude.UTCTime+consumer_consumerCreationTimestamp = Lens.lens (\Consumer' {consumerCreationTimestamp} -> consumerCreationTimestamp) (\s@Consumer' {} a -> s {consumerCreationTimestamp = a} :: Consumer) Prelude.. Data._Time++instance Data.FromJSON Consumer where+ parseJSON =+ Data.withObject+ "Consumer"+ ( \x ->+ Consumer'+ Prelude.<$> (x Data..: "ConsumerName")+ Prelude.<*> (x Data..: "ConsumerARN")+ Prelude.<*> (x Data..: "ConsumerStatus")+ Prelude.<*> (x Data..: "ConsumerCreationTimestamp")+ )++instance Prelude.Hashable Consumer where+ hashWithSalt _salt Consumer' {..} =+ _salt+ `Prelude.hashWithSalt` consumerName+ `Prelude.hashWithSalt` consumerARN+ `Prelude.hashWithSalt` consumerStatus+ `Prelude.hashWithSalt` consumerCreationTimestamp++instance Prelude.NFData Consumer where+ rnf Consumer' {..} =+ Prelude.rnf consumerName+ `Prelude.seq` Prelude.rnf consumerARN+ `Prelude.seq` Prelude.rnf consumerStatus+ `Prelude.seq` Prelude.rnf consumerCreationTimestamp
+ gen/Amazonka/Kinesis/Types/ConsumerDescription.hs view
@@ -0,0 +1,160 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Types.ConsumerDescription+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Types.ConsumerDescription where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types.ConsumerStatus+import qualified Amazonka.Prelude as Prelude++-- | An object that represents the details of a registered consumer. This+-- type of object is returned by DescribeStreamConsumer.+--+-- /See:/ 'newConsumerDescription' smart constructor.+data ConsumerDescription = ConsumerDescription'+ { -- | The name of the consumer is something you choose when you register the+ -- consumer.+ consumerName :: Prelude.Text,+ -- | When you register a consumer, Kinesis Data Streams generates an ARN for+ -- it. You need this ARN to be able to call SubscribeToShard.+ --+ -- If you delete a consumer and then create a new one with the same name,+ -- it won\'t have the same ARN. That\'s because consumer ARNs contain the+ -- creation timestamp. This is important to keep in mind if you have IAM+ -- policies that reference consumer ARNs.+ consumerARN :: Prelude.Text,+ -- | A consumer can\'t read data while in the @CREATING@ or @DELETING@+ -- states.+ consumerStatus :: ConsumerStatus,+ consumerCreationTimestamp :: Data.POSIX,+ -- | The ARN of the stream with which you registered the consumer.+ streamARN :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ConsumerDescription' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'consumerName', 'consumerDescription_consumerName' - The name of the consumer is something you choose when you register the+-- consumer.+--+-- 'consumerARN', 'consumerDescription_consumerARN' - When you register a consumer, Kinesis Data Streams generates an ARN for+-- it. You need this ARN to be able to call SubscribeToShard.+--+-- If you delete a consumer and then create a new one with the same name,+-- it won\'t have the same ARN. That\'s because consumer ARNs contain the+-- creation timestamp. This is important to keep in mind if you have IAM+-- policies that reference consumer ARNs.+--+-- 'consumerStatus', 'consumerDescription_consumerStatus' - A consumer can\'t read data while in the @CREATING@ or @DELETING@+-- states.+--+-- 'consumerCreationTimestamp', 'consumerDescription_consumerCreationTimestamp' -+--+-- 'streamARN', 'consumerDescription_streamARN' - The ARN of the stream with which you registered the consumer.+newConsumerDescription ::+ -- | 'consumerName'+ Prelude.Text ->+ -- | 'consumerARN'+ Prelude.Text ->+ -- | 'consumerStatus'+ ConsumerStatus ->+ -- | 'consumerCreationTimestamp'+ Prelude.UTCTime ->+ -- | 'streamARN'+ Prelude.Text ->+ ConsumerDescription+newConsumerDescription+ pConsumerName_+ pConsumerARN_+ pConsumerStatus_+ pConsumerCreationTimestamp_+ pStreamARN_ =+ ConsumerDescription'+ { consumerName = pConsumerName_,+ consumerARN = pConsumerARN_,+ consumerStatus = pConsumerStatus_,+ consumerCreationTimestamp =+ Data._Time Lens.# pConsumerCreationTimestamp_,+ streamARN = pStreamARN_+ }++-- | The name of the consumer is something you choose when you register the+-- consumer.+consumerDescription_consumerName :: Lens.Lens' ConsumerDescription Prelude.Text+consumerDescription_consumerName = Lens.lens (\ConsumerDescription' {consumerName} -> consumerName) (\s@ConsumerDescription' {} a -> s {consumerName = a} :: ConsumerDescription)++-- | When you register a consumer, Kinesis Data Streams generates an ARN for+-- it. You need this ARN to be able to call SubscribeToShard.+--+-- If you delete a consumer and then create a new one with the same name,+-- it won\'t have the same ARN. That\'s because consumer ARNs contain the+-- creation timestamp. This is important to keep in mind if you have IAM+-- policies that reference consumer ARNs.+consumerDescription_consumerARN :: Lens.Lens' ConsumerDescription Prelude.Text+consumerDescription_consumerARN = Lens.lens (\ConsumerDescription' {consumerARN} -> consumerARN) (\s@ConsumerDescription' {} a -> s {consumerARN = a} :: ConsumerDescription)++-- | A consumer can\'t read data while in the @CREATING@ or @DELETING@+-- states.+consumerDescription_consumerStatus :: Lens.Lens' ConsumerDescription ConsumerStatus+consumerDescription_consumerStatus = Lens.lens (\ConsumerDescription' {consumerStatus} -> consumerStatus) (\s@ConsumerDescription' {} a -> s {consumerStatus = a} :: ConsumerDescription)++consumerDescription_consumerCreationTimestamp :: Lens.Lens' ConsumerDescription Prelude.UTCTime+consumerDescription_consumerCreationTimestamp = Lens.lens (\ConsumerDescription' {consumerCreationTimestamp} -> consumerCreationTimestamp) (\s@ConsumerDescription' {} a -> s {consumerCreationTimestamp = a} :: ConsumerDescription) Prelude.. Data._Time++-- | The ARN of the stream with which you registered the consumer.+consumerDescription_streamARN :: Lens.Lens' ConsumerDescription Prelude.Text+consumerDescription_streamARN = Lens.lens (\ConsumerDescription' {streamARN} -> streamARN) (\s@ConsumerDescription' {} a -> s {streamARN = a} :: ConsumerDescription)++instance Data.FromJSON ConsumerDescription where+ parseJSON =+ Data.withObject+ "ConsumerDescription"+ ( \x ->+ ConsumerDescription'+ Prelude.<$> (x Data..: "ConsumerName")+ Prelude.<*> (x Data..: "ConsumerARN")+ Prelude.<*> (x Data..: "ConsumerStatus")+ Prelude.<*> (x Data..: "ConsumerCreationTimestamp")+ Prelude.<*> (x Data..: "StreamARN")+ )++instance Prelude.Hashable ConsumerDescription where+ hashWithSalt _salt ConsumerDescription' {..} =+ _salt+ `Prelude.hashWithSalt` consumerName+ `Prelude.hashWithSalt` consumerARN+ `Prelude.hashWithSalt` consumerStatus+ `Prelude.hashWithSalt` consumerCreationTimestamp+ `Prelude.hashWithSalt` streamARN++instance Prelude.NFData ConsumerDescription where+ rnf ConsumerDescription' {..} =+ Prelude.rnf consumerName+ `Prelude.seq` Prelude.rnf consumerARN+ `Prelude.seq` Prelude.rnf consumerStatus+ `Prelude.seq` Prelude.rnf consumerCreationTimestamp+ `Prelude.seq` Prelude.rnf streamARN
+ gen/Amazonka/Kinesis/Types/ConsumerStatus.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Types.ConsumerStatus+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Types.ConsumerStatus+ ( ConsumerStatus+ ( ..,+ ConsumerStatus_ACTIVE,+ ConsumerStatus_CREATING,+ ConsumerStatus_DELETING+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ConsumerStatus = ConsumerStatus'+ { fromConsumerStatus ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern ConsumerStatus_ACTIVE :: ConsumerStatus+pattern ConsumerStatus_ACTIVE = ConsumerStatus' "ACTIVE"++pattern ConsumerStatus_CREATING :: ConsumerStatus+pattern ConsumerStatus_CREATING = ConsumerStatus' "CREATING"++pattern ConsumerStatus_DELETING :: ConsumerStatus+pattern ConsumerStatus_DELETING = ConsumerStatus' "DELETING"++{-# COMPLETE+ ConsumerStatus_ACTIVE,+ ConsumerStatus_CREATING,+ ConsumerStatus_DELETING,+ ConsumerStatus'+ #-}
+ gen/Amazonka/Kinesis/Types/EncryptionType.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Types.EncryptionType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Types.EncryptionType+ ( EncryptionType+ ( ..,+ EncryptionType_KMS,+ EncryptionType_NONE+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype EncryptionType = EncryptionType'+ { fromEncryptionType ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern EncryptionType_KMS :: EncryptionType+pattern EncryptionType_KMS = EncryptionType' "KMS"++pattern EncryptionType_NONE :: EncryptionType+pattern EncryptionType_NONE = EncryptionType' "NONE"++{-# COMPLETE+ EncryptionType_KMS,+ EncryptionType_NONE,+ EncryptionType'+ #-}
+ gen/Amazonka/Kinesis/Types/EnhancedMetrics.hs view
@@ -0,0 +1,145 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Types.EnhancedMetrics+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Types.EnhancedMetrics where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types.MetricsName+import qualified Amazonka.Prelude as Prelude++-- | Represents enhanced metrics types.+--+-- /See:/ 'newEnhancedMetrics' smart constructor.+data EnhancedMetrics = EnhancedMetrics'+ { -- | 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+ -- <https://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch>+ -- in the /Amazon Kinesis Data Streams Developer Guide/.+ shardLevelMetrics :: Prelude.Maybe [MetricsName]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EnhancedMetrics' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'shardLevelMetrics', 'enhancedMetrics_shardLevelMetrics' - List of shard-level metrics.+--+-- The following are the valid shard-level metrics. The value \"@ALL@\"+-- enhances every metric.+--+-- - @IncomingBytes@+--+-- - @IncomingRecords@+--+-- - @OutgoingBytes@+--+-- - @OutgoingRecords@+--+-- - @WriteProvisionedThroughputExceeded@+--+-- - @ReadProvisionedThroughputExceeded@+--+-- - @IteratorAgeMilliseconds@+--+-- - @ALL@+--+-- For more information, see+-- <https://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch>+-- in the /Amazon Kinesis Data Streams Developer Guide/.+newEnhancedMetrics ::+ EnhancedMetrics+newEnhancedMetrics =+ EnhancedMetrics'+ { shardLevelMetrics =+ Prelude.Nothing+ }++-- | 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+-- <https://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch>+-- in the /Amazon Kinesis Data Streams Developer Guide/.+enhancedMetrics_shardLevelMetrics :: Lens.Lens' EnhancedMetrics (Prelude.Maybe [MetricsName])+enhancedMetrics_shardLevelMetrics = Lens.lens (\EnhancedMetrics' {shardLevelMetrics} -> shardLevelMetrics) (\s@EnhancedMetrics' {} a -> s {shardLevelMetrics = a} :: EnhancedMetrics) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON EnhancedMetrics where+ parseJSON =+ Data.withObject+ "EnhancedMetrics"+ ( \x ->+ EnhancedMetrics'+ Prelude.<$> ( x+ Data..:? "ShardLevelMetrics"+ Data..!= Prelude.mempty+ )+ )++instance Prelude.Hashable EnhancedMetrics where+ hashWithSalt _salt EnhancedMetrics' {..} =+ _salt `Prelude.hashWithSalt` shardLevelMetrics++instance Prelude.NFData EnhancedMetrics where+ rnf EnhancedMetrics' {..} =+ Prelude.rnf shardLevelMetrics
+ gen/Amazonka/Kinesis/Types/EnhancedMonitoringOutput.hs view
@@ -0,0 +1,123 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Types.EnhancedMonitoringOutput+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Types.EnhancedMonitoringOutput where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types.MetricsName+import qualified Amazonka.Prelude as Prelude++-- | Represents the output for EnableEnhancedMonitoring and+-- DisableEnhancedMonitoring.+--+-- /See:/ 'newEnhancedMonitoringOutput' smart constructor.+data EnhancedMonitoringOutput = EnhancedMonitoringOutput'+ { -- | Represents the current state of the metrics that are in the enhanced+ -- state before the operation.+ currentShardLevelMetrics :: Prelude.Maybe [MetricsName],+ -- | Represents the list of all the metrics that would be in the enhanced+ -- state after the operation.+ desiredShardLevelMetrics :: Prelude.Maybe [MetricsName],+ -- | The ARN of the stream.+ streamARN :: Prelude.Maybe Prelude.Text,+ -- | The name of the Kinesis data stream.+ streamName :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EnhancedMonitoringOutput' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'currentShardLevelMetrics', 'enhancedMonitoringOutput_currentShardLevelMetrics' - Represents the current state of the metrics that are in the enhanced+-- state before the operation.+--+-- 'desiredShardLevelMetrics', 'enhancedMonitoringOutput_desiredShardLevelMetrics' - Represents the list of all the metrics that would be in the enhanced+-- state after the operation.+--+-- 'streamARN', 'enhancedMonitoringOutput_streamARN' - The ARN of the stream.+--+-- 'streamName', 'enhancedMonitoringOutput_streamName' - The name of the Kinesis data stream.+newEnhancedMonitoringOutput ::+ EnhancedMonitoringOutput+newEnhancedMonitoringOutput =+ EnhancedMonitoringOutput'+ { currentShardLevelMetrics =+ Prelude.Nothing,+ desiredShardLevelMetrics = Prelude.Nothing,+ streamARN = Prelude.Nothing,+ streamName = Prelude.Nothing+ }++-- | Represents the current state of the metrics that are in the enhanced+-- state before the operation.+enhancedMonitoringOutput_currentShardLevelMetrics :: Lens.Lens' EnhancedMonitoringOutput (Prelude.Maybe [MetricsName])+enhancedMonitoringOutput_currentShardLevelMetrics = Lens.lens (\EnhancedMonitoringOutput' {currentShardLevelMetrics} -> currentShardLevelMetrics) (\s@EnhancedMonitoringOutput' {} a -> s {currentShardLevelMetrics = a} :: EnhancedMonitoringOutput) Prelude.. Lens.mapping Lens.coerced++-- | Represents the list of all the metrics that would be in the enhanced+-- state after the operation.+enhancedMonitoringOutput_desiredShardLevelMetrics :: Lens.Lens' EnhancedMonitoringOutput (Prelude.Maybe [MetricsName])+enhancedMonitoringOutput_desiredShardLevelMetrics = Lens.lens (\EnhancedMonitoringOutput' {desiredShardLevelMetrics} -> desiredShardLevelMetrics) (\s@EnhancedMonitoringOutput' {} a -> s {desiredShardLevelMetrics = a} :: EnhancedMonitoringOutput) Prelude.. Lens.mapping Lens.coerced++-- | The ARN of the stream.+enhancedMonitoringOutput_streamARN :: Lens.Lens' EnhancedMonitoringOutput (Prelude.Maybe Prelude.Text)+enhancedMonitoringOutput_streamARN = Lens.lens (\EnhancedMonitoringOutput' {streamARN} -> streamARN) (\s@EnhancedMonitoringOutput' {} a -> s {streamARN = a} :: EnhancedMonitoringOutput)++-- | The name of the Kinesis data stream.+enhancedMonitoringOutput_streamName :: Lens.Lens' EnhancedMonitoringOutput (Prelude.Maybe Prelude.Text)+enhancedMonitoringOutput_streamName = Lens.lens (\EnhancedMonitoringOutput' {streamName} -> streamName) (\s@EnhancedMonitoringOutput' {} a -> s {streamName = a} :: EnhancedMonitoringOutput)++instance Data.FromJSON EnhancedMonitoringOutput where+ parseJSON =+ Data.withObject+ "EnhancedMonitoringOutput"+ ( \x ->+ EnhancedMonitoringOutput'+ Prelude.<$> ( x+ Data..:? "CurrentShardLevelMetrics"+ Data..!= Prelude.mempty+ )+ Prelude.<*> ( x+ Data..:? "DesiredShardLevelMetrics"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "StreamARN")+ Prelude.<*> (x Data..:? "StreamName")+ )++instance Prelude.Hashable EnhancedMonitoringOutput where+ hashWithSalt _salt EnhancedMonitoringOutput' {..} =+ _salt+ `Prelude.hashWithSalt` currentShardLevelMetrics+ `Prelude.hashWithSalt` desiredShardLevelMetrics+ `Prelude.hashWithSalt` streamARN+ `Prelude.hashWithSalt` streamName++instance Prelude.NFData EnhancedMonitoringOutput where+ rnf EnhancedMonitoringOutput' {..} =+ Prelude.rnf currentShardLevelMetrics+ `Prelude.seq` Prelude.rnf desiredShardLevelMetrics+ `Prelude.seq` Prelude.rnf streamARN+ `Prelude.seq` Prelude.rnf streamName
+ gen/Amazonka/Kinesis/Types/HashKeyRange.hs view
@@ -0,0 +1,89 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Types.HashKeyRange+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Types.HashKeyRange where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The range of possible hash key values for the shard, which is a set of+-- ordered contiguous positive integers.+--+-- /See:/ 'newHashKeyRange' smart constructor.+data HashKeyRange = HashKeyRange'+ { -- | The starting hash key of the hash key range.+ startingHashKey :: Prelude.Text,+ -- | The ending hash key of the hash key range.+ endingHashKey :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'HashKeyRange' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'startingHashKey', 'hashKeyRange_startingHashKey' - The starting hash key of the hash key range.+--+-- 'endingHashKey', 'hashKeyRange_endingHashKey' - The ending hash key of the hash key range.+newHashKeyRange ::+ -- | 'startingHashKey'+ Prelude.Text ->+ -- | 'endingHashKey'+ Prelude.Text ->+ HashKeyRange+newHashKeyRange pStartingHashKey_ pEndingHashKey_ =+ HashKeyRange'+ { startingHashKey = pStartingHashKey_,+ endingHashKey = pEndingHashKey_+ }++-- | The starting hash key of the hash key range.+hashKeyRange_startingHashKey :: Lens.Lens' HashKeyRange Prelude.Text+hashKeyRange_startingHashKey = Lens.lens (\HashKeyRange' {startingHashKey} -> startingHashKey) (\s@HashKeyRange' {} a -> s {startingHashKey = a} :: HashKeyRange)++-- | The ending hash key of the hash key range.+hashKeyRange_endingHashKey :: Lens.Lens' HashKeyRange Prelude.Text+hashKeyRange_endingHashKey = Lens.lens (\HashKeyRange' {endingHashKey} -> endingHashKey) (\s@HashKeyRange' {} a -> s {endingHashKey = a} :: HashKeyRange)++instance Data.FromJSON HashKeyRange where+ parseJSON =+ Data.withObject+ "HashKeyRange"+ ( \x ->+ HashKeyRange'+ Prelude.<$> (x Data..: "StartingHashKey")+ Prelude.<*> (x Data..: "EndingHashKey")+ )++instance Prelude.Hashable HashKeyRange where+ hashWithSalt _salt HashKeyRange' {..} =+ _salt+ `Prelude.hashWithSalt` startingHashKey+ `Prelude.hashWithSalt` endingHashKey++instance Prelude.NFData HashKeyRange where+ rnf HashKeyRange' {..} =+ Prelude.rnf startingHashKey+ `Prelude.seq` Prelude.rnf endingHashKey
+ gen/Amazonka/Kinesis/Types/MetricsName.hs view
@@ -0,0 +1,101 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Types.MetricsName+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Types.MetricsName+ ( MetricsName+ ( ..,+ MetricsName_ALL,+ MetricsName_IncomingBytes,+ MetricsName_IncomingRecords,+ MetricsName_IteratorAgeMilliseconds,+ MetricsName_OutgoingBytes,+ MetricsName_OutgoingRecords,+ MetricsName_ReadProvisionedThroughputExceeded,+ MetricsName_WriteProvisionedThroughputExceeded+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype MetricsName = MetricsName'+ { fromMetricsName ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern MetricsName_ALL :: MetricsName+pattern MetricsName_ALL = MetricsName' "ALL"++pattern MetricsName_IncomingBytes :: MetricsName+pattern MetricsName_IncomingBytes = MetricsName' "IncomingBytes"++pattern MetricsName_IncomingRecords :: MetricsName+pattern MetricsName_IncomingRecords = MetricsName' "IncomingRecords"++pattern MetricsName_IteratorAgeMilliseconds :: MetricsName+pattern MetricsName_IteratorAgeMilliseconds = MetricsName' "IteratorAgeMilliseconds"++pattern MetricsName_OutgoingBytes :: MetricsName+pattern MetricsName_OutgoingBytes = MetricsName' "OutgoingBytes"++pattern MetricsName_OutgoingRecords :: MetricsName+pattern MetricsName_OutgoingRecords = MetricsName' "OutgoingRecords"++pattern MetricsName_ReadProvisionedThroughputExceeded :: MetricsName+pattern MetricsName_ReadProvisionedThroughputExceeded = MetricsName' "ReadProvisionedThroughputExceeded"++pattern MetricsName_WriteProvisionedThroughputExceeded :: MetricsName+pattern MetricsName_WriteProvisionedThroughputExceeded = MetricsName' "WriteProvisionedThroughputExceeded"++{-# COMPLETE+ MetricsName_ALL,+ MetricsName_IncomingBytes,+ MetricsName_IncomingRecords,+ MetricsName_IteratorAgeMilliseconds,+ MetricsName_OutgoingBytes,+ MetricsName_OutgoingRecords,+ MetricsName_ReadProvisionedThroughputExceeded,+ MetricsName_WriteProvisionedThroughputExceeded,+ MetricsName'+ #-}
+ gen/Amazonka/Kinesis/Types/PutRecordsRequestEntry.hs view
@@ -0,0 +1,145 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Types.PutRecordsRequestEntry+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Types.PutRecordsRequestEntry where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Represents the output for @PutRecords@.+--+-- /See:/ 'newPutRecordsRequestEntry' smart constructor.+data PutRecordsRequestEntry = PutRecordsRequestEntry'+ { -- | The hash value used to determine explicitly the shard that the data+ -- record is assigned to by overriding the partition key hash.+ explicitHashKey :: Prelude.Maybe Prelude.Text,+ -- | The data blob to put into the record, which is base64-encoded when the+ -- blob is serialized. When the data blob (the payload before+ -- base64-encoding) is added to the partition key size, the total size must+ -- not exceed the maximum record size (1 MiB).+ data' :: Data.Base64,+ -- | 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.+ partitionKey :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutRecordsRequestEntry' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'explicitHashKey', 'putRecordsRequestEntry_explicitHashKey' - The hash value used to determine explicitly the shard that the data+-- record is assigned to by overriding the partition key hash.+--+-- 'data'', 'putRecordsRequestEntry_data' - The data blob to put into the record, which is base64-encoded when the+-- blob is serialized. When the data blob (the payload before+-- base64-encoding) is added to the partition key size, the total size must+-- not exceed the maximum record size (1 MiB).--+-- -- /Note:/ This 'Lens' automatically encodes and decodes Base64 data.+-- -- The underlying isomorphism will encode to Base64 representation during+-- -- serialisation, and decode from Base64 representation during deserialisation.+-- -- This 'Lens' accepts and returns only raw unencoded data.+--+-- 'partitionKey', 'putRecordsRequestEntry_partitionKey' - Determines which shard in the stream the data record is assigned to.+-- Partition keys are Unicode strings with a maximum length limit of 256+-- characters for each key. Amazon Kinesis Data Streams uses the partition+-- key as input to a hash function that maps the partition key and+-- associated data to a specific shard. Specifically, an MD5 hash function+-- is used to map partition keys to 128-bit integer values and to map+-- associated data records to shards. As a result of this hashing+-- mechanism, all data records with the same partition key map to the same+-- shard within the stream.+newPutRecordsRequestEntry ::+ -- | 'data''+ Prelude.ByteString ->+ -- | 'partitionKey'+ Prelude.Text ->+ PutRecordsRequestEntry+newPutRecordsRequestEntry pData_ pPartitionKey_ =+ PutRecordsRequestEntry'+ { explicitHashKey =+ Prelude.Nothing,+ data' = Data._Base64 Lens.# pData_,+ partitionKey = pPartitionKey_+ }++-- | The hash value used to determine explicitly the shard that the data+-- record is assigned to by overriding the partition key hash.+putRecordsRequestEntry_explicitHashKey :: Lens.Lens' PutRecordsRequestEntry (Prelude.Maybe Prelude.Text)+putRecordsRequestEntry_explicitHashKey = Lens.lens (\PutRecordsRequestEntry' {explicitHashKey} -> explicitHashKey) (\s@PutRecordsRequestEntry' {} a -> s {explicitHashKey = a} :: PutRecordsRequestEntry)++-- | The data blob to put into the record, which is base64-encoded when the+-- blob is serialized. When the data blob (the payload before+-- base64-encoding) is added to the partition key size, the total size must+-- not exceed the maximum record size (1 MiB).--+-- -- /Note:/ This 'Lens' automatically encodes and decodes Base64 data.+-- -- The underlying isomorphism will encode to Base64 representation during+-- -- serialisation, and decode from Base64 representation during deserialisation.+-- -- This 'Lens' accepts and returns only raw unencoded data.+putRecordsRequestEntry_data :: Lens.Lens' PutRecordsRequestEntry Prelude.ByteString+putRecordsRequestEntry_data = Lens.lens (\PutRecordsRequestEntry' {data'} -> data') (\s@PutRecordsRequestEntry' {} a -> s {data' = a} :: PutRecordsRequestEntry) Prelude.. Data._Base64++-- | Determines which shard in the stream the data record is assigned to.+-- Partition keys are Unicode strings with a maximum length limit of 256+-- characters for each key. Amazon Kinesis Data Streams uses the partition+-- key as input to a hash function that maps the partition key and+-- associated data to a specific shard. Specifically, an MD5 hash function+-- is used to map partition keys to 128-bit integer values and to map+-- associated data records to shards. As a result of this hashing+-- mechanism, all data records with the same partition key map to the same+-- shard within the stream.+putRecordsRequestEntry_partitionKey :: Lens.Lens' PutRecordsRequestEntry Prelude.Text+putRecordsRequestEntry_partitionKey = Lens.lens (\PutRecordsRequestEntry' {partitionKey} -> partitionKey) (\s@PutRecordsRequestEntry' {} a -> s {partitionKey = a} :: PutRecordsRequestEntry)++instance Prelude.Hashable PutRecordsRequestEntry where+ hashWithSalt _salt PutRecordsRequestEntry' {..} =+ _salt+ `Prelude.hashWithSalt` explicitHashKey+ `Prelude.hashWithSalt` data'+ `Prelude.hashWithSalt` partitionKey++instance Prelude.NFData PutRecordsRequestEntry where+ rnf PutRecordsRequestEntry' {..} =+ Prelude.rnf explicitHashKey+ `Prelude.seq` Prelude.rnf data'+ `Prelude.seq` Prelude.rnf partitionKey++instance Data.ToJSON PutRecordsRequestEntry where+ toJSON PutRecordsRequestEntry' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ExplicitHashKey" Data..=)+ Prelude.<$> explicitHashKey,+ Prelude.Just ("Data" Data..= data'),+ Prelude.Just ("PartitionKey" Data..= partitionKey)+ ]+ )
+ gen/Amazonka/Kinesis/Types/PutRecordsResultEntry.hs view
@@ -0,0 +1,127 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Types.PutRecordsResultEntry+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Types.PutRecordsResultEntry where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Represents the result of an individual record from a @PutRecords@+-- request. A record that is successfully added to a stream includes+-- @SequenceNumber@ and @ShardId@ in the result. A record that fails to be+-- added to the stream includes @ErrorCode@ and @ErrorMessage@ in the+-- result.+--+-- /See:/ 'newPutRecordsResultEntry' smart constructor.+data PutRecordsResultEntry = PutRecordsResultEntry'+ { -- | The error code for an individual record result. @ErrorCodes@ can be+ -- either @ProvisionedThroughputExceededException@ or @InternalFailure@.+ errorCode :: Prelude.Maybe Prelude.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\"@.+ errorMessage :: Prelude.Maybe Prelude.Text,+ -- | The sequence number for an individual record result.+ sequenceNumber :: Prelude.Maybe Prelude.Text,+ -- | The shard ID for an individual record result.+ shardId :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutRecordsResultEntry' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'errorCode', 'putRecordsResultEntry_errorCode' - The error code for an individual record result. @ErrorCodes@ can be+-- either @ProvisionedThroughputExceededException@ or @InternalFailure@.+--+-- 'errorMessage', 'putRecordsResultEntry_errorMessage' - The error message for an individual record result. An @ErrorCode@ value+-- of @ProvisionedThroughputExceededException@ has an error message that+-- includes the account ID, stream name, and shard ID. An @ErrorCode@ value+-- of @InternalFailure@ has the error message+-- @\"Internal Service Failure\"@.+--+-- 'sequenceNumber', 'putRecordsResultEntry_sequenceNumber' - The sequence number for an individual record result.+--+-- 'shardId', 'putRecordsResultEntry_shardId' - The shard ID for an individual record result.+newPutRecordsResultEntry ::+ PutRecordsResultEntry+newPutRecordsResultEntry =+ PutRecordsResultEntry'+ { errorCode = Prelude.Nothing,+ errorMessage = Prelude.Nothing,+ sequenceNumber = Prelude.Nothing,+ shardId = Prelude.Nothing+ }++-- | The error code for an individual record result. @ErrorCodes@ can be+-- either @ProvisionedThroughputExceededException@ or @InternalFailure@.+putRecordsResultEntry_errorCode :: Lens.Lens' PutRecordsResultEntry (Prelude.Maybe Prelude.Text)+putRecordsResultEntry_errorCode = Lens.lens (\PutRecordsResultEntry' {errorCode} -> errorCode) (\s@PutRecordsResultEntry' {} a -> s {errorCode = a} :: PutRecordsResultEntry)++-- | The error message for an individual record result. An @ErrorCode@ value+-- of @ProvisionedThroughputExceededException@ has an error message that+-- includes the account ID, stream name, and shard ID. An @ErrorCode@ value+-- of @InternalFailure@ has the error message+-- @\"Internal Service Failure\"@.+putRecordsResultEntry_errorMessage :: Lens.Lens' PutRecordsResultEntry (Prelude.Maybe Prelude.Text)+putRecordsResultEntry_errorMessage = Lens.lens (\PutRecordsResultEntry' {errorMessage} -> errorMessage) (\s@PutRecordsResultEntry' {} a -> s {errorMessage = a} :: PutRecordsResultEntry)++-- | The sequence number for an individual record result.+putRecordsResultEntry_sequenceNumber :: Lens.Lens' PutRecordsResultEntry (Prelude.Maybe Prelude.Text)+putRecordsResultEntry_sequenceNumber = Lens.lens (\PutRecordsResultEntry' {sequenceNumber} -> sequenceNumber) (\s@PutRecordsResultEntry' {} a -> s {sequenceNumber = a} :: PutRecordsResultEntry)++-- | The shard ID for an individual record result.+putRecordsResultEntry_shardId :: Lens.Lens' PutRecordsResultEntry (Prelude.Maybe Prelude.Text)+putRecordsResultEntry_shardId = Lens.lens (\PutRecordsResultEntry' {shardId} -> shardId) (\s@PutRecordsResultEntry' {} a -> s {shardId = a} :: PutRecordsResultEntry)++instance Data.FromJSON PutRecordsResultEntry where+ parseJSON =+ Data.withObject+ "PutRecordsResultEntry"+ ( \x ->+ PutRecordsResultEntry'+ Prelude.<$> (x Data..:? "ErrorCode")+ Prelude.<*> (x Data..:? "ErrorMessage")+ Prelude.<*> (x Data..:? "SequenceNumber")+ Prelude.<*> (x Data..:? "ShardId")+ )++instance Prelude.Hashable PutRecordsResultEntry where+ hashWithSalt _salt PutRecordsResultEntry' {..} =+ _salt+ `Prelude.hashWithSalt` errorCode+ `Prelude.hashWithSalt` errorMessage+ `Prelude.hashWithSalt` sequenceNumber+ `Prelude.hashWithSalt` shardId++instance Prelude.NFData PutRecordsResultEntry where+ rnf PutRecordsResultEntry' {..} =+ Prelude.rnf errorCode+ `Prelude.seq` Prelude.rnf errorMessage+ `Prelude.seq` Prelude.rnf sequenceNumber+ `Prelude.seq` Prelude.rnf shardId
+ gen/Amazonka/Kinesis/Types/Record.hs view
@@ -0,0 +1,167 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Types.Record+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Types.Record where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types.EncryptionType+import qualified Amazonka.Prelude as Prelude++-- | The unit of data of the Kinesis data stream, which is composed of a+-- sequence number, a partition key, and a data blob.+--+-- /See:/ 'newRecord' smart constructor.+data Record = Record'+ { -- | The approximate time that the record was inserted into the stream.+ approximateArrivalTimestamp :: Prelude.Maybe Data.POSIX,+ -- | The encryption type used on the record. This parameter can be one of the+ -- following values:+ --+ -- - @NONE@: Do not encrypt the records in the stream.+ --+ -- - @KMS@: Use server-side encryption on the records in the stream using+ -- a customer-managed Amazon Web Services KMS key.+ encryptionType :: Prelude.Maybe EncryptionType,+ -- | The unique identifier of the record within its shard.+ sequenceNumber :: Prelude.Text,+ -- | The data blob. The data in the blob is both opaque and immutable to+ -- Kinesis Data Streams, which does not inspect, interpret, or change the+ -- data in the blob in any way. When the data blob (the payload before+ -- base64-encoding) is added to the partition key size, the total size must+ -- not exceed the maximum record size (1 MiB).+ data' :: Data.Base64,+ -- | Identifies which shard in the stream the data record is assigned to.+ partitionKey :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Record' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'approximateArrivalTimestamp', 'record_approximateArrivalTimestamp' - The approximate time that the record was inserted into the stream.+--+-- 'encryptionType', 'record_encryptionType' - The encryption type used on the record. This parameter can be one of the+-- following values:+--+-- - @NONE@: Do not encrypt the records in the stream.+--+-- - @KMS@: Use server-side encryption on the records in the stream using+-- a customer-managed Amazon Web Services KMS key.+--+-- 'sequenceNumber', 'record_sequenceNumber' - The unique identifier of the record within its shard.+--+-- 'data'', 'record_data' - The data blob. The data in the blob is both opaque and immutable to+-- Kinesis Data Streams, which does not inspect, interpret, or change the+-- data in the blob in any way. When the data blob (the payload before+-- base64-encoding) is added to the partition key size, the total size must+-- not exceed the maximum record size (1 MiB).--+-- -- /Note:/ This 'Lens' automatically encodes and decodes Base64 data.+-- -- The underlying isomorphism will encode to Base64 representation during+-- -- serialisation, and decode from Base64 representation during deserialisation.+-- -- This 'Lens' accepts and returns only raw unencoded data.+--+-- 'partitionKey', 'record_partitionKey' - Identifies which shard in the stream the data record is assigned to.+newRecord ::+ -- | 'sequenceNumber'+ Prelude.Text ->+ -- | 'data''+ Prelude.ByteString ->+ -- | 'partitionKey'+ Prelude.Text ->+ Record+newRecord pSequenceNumber_ pData_ pPartitionKey_ =+ Record'+ { approximateArrivalTimestamp =+ Prelude.Nothing,+ encryptionType = Prelude.Nothing,+ sequenceNumber = pSequenceNumber_,+ data' = Data._Base64 Lens.# pData_,+ partitionKey = pPartitionKey_+ }++-- | The approximate time that the record was inserted into the stream.+record_approximateArrivalTimestamp :: Lens.Lens' Record (Prelude.Maybe Prelude.UTCTime)+record_approximateArrivalTimestamp = Lens.lens (\Record' {approximateArrivalTimestamp} -> approximateArrivalTimestamp) (\s@Record' {} a -> s {approximateArrivalTimestamp = a} :: Record) Prelude.. Lens.mapping Data._Time++-- | The encryption type used on the record. This parameter can be one of the+-- following values:+--+-- - @NONE@: Do not encrypt the records in the stream.+--+-- - @KMS@: Use server-side encryption on the records in the stream using+-- a customer-managed Amazon Web Services KMS key.+record_encryptionType :: Lens.Lens' Record (Prelude.Maybe EncryptionType)+record_encryptionType = Lens.lens (\Record' {encryptionType} -> encryptionType) (\s@Record' {} a -> s {encryptionType = a} :: Record)++-- | The unique identifier of the record within its shard.+record_sequenceNumber :: Lens.Lens' Record Prelude.Text+record_sequenceNumber = Lens.lens (\Record' {sequenceNumber} -> sequenceNumber) (\s@Record' {} a -> s {sequenceNumber = a} :: Record)++-- | The data blob. The data in the blob is both opaque and immutable to+-- Kinesis Data Streams, which does not inspect, interpret, or change the+-- data in the blob in any way. When the data blob (the payload before+-- base64-encoding) is added to the partition key size, the total size must+-- not exceed the maximum record size (1 MiB).--+-- -- /Note:/ This 'Lens' automatically encodes and decodes Base64 data.+-- -- The underlying isomorphism will encode to Base64 representation during+-- -- serialisation, and decode from Base64 representation during deserialisation.+-- -- This 'Lens' accepts and returns only raw unencoded data.+record_data :: Lens.Lens' Record Prelude.ByteString+record_data = Lens.lens (\Record' {data'} -> data') (\s@Record' {} a -> s {data' = a} :: Record) Prelude.. Data._Base64++-- | Identifies which shard in the stream the data record is assigned to.+record_partitionKey :: Lens.Lens' Record Prelude.Text+record_partitionKey = Lens.lens (\Record' {partitionKey} -> partitionKey) (\s@Record' {} a -> s {partitionKey = a} :: Record)++instance Data.FromJSON Record where+ parseJSON =+ Data.withObject+ "Record"+ ( \x ->+ Record'+ Prelude.<$> (x Data..:? "ApproximateArrivalTimestamp")+ Prelude.<*> (x Data..:? "EncryptionType")+ Prelude.<*> (x Data..: "SequenceNumber")+ Prelude.<*> (x Data..: "Data")+ Prelude.<*> (x Data..: "PartitionKey")+ )++instance Prelude.Hashable Record where+ hashWithSalt _salt Record' {..} =+ _salt+ `Prelude.hashWithSalt` approximateArrivalTimestamp+ `Prelude.hashWithSalt` encryptionType+ `Prelude.hashWithSalt` sequenceNumber+ `Prelude.hashWithSalt` data'+ `Prelude.hashWithSalt` partitionKey++instance Prelude.NFData Record where+ rnf Record' {..} =+ Prelude.rnf approximateArrivalTimestamp+ `Prelude.seq` Prelude.rnf encryptionType+ `Prelude.seq` Prelude.rnf sequenceNumber+ `Prelude.seq` Prelude.rnf data'+ `Prelude.seq` Prelude.rnf partitionKey
+ gen/Amazonka/Kinesis/Types/ScalingType.hs view
@@ -0,0 +1,66 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Types.ScalingType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Types.ScalingType+ ( ScalingType+ ( ..,+ ScalingType_UNIFORM_SCALING+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ScalingType = ScalingType'+ { fromScalingType ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern ScalingType_UNIFORM_SCALING :: ScalingType+pattern ScalingType_UNIFORM_SCALING = ScalingType' "UNIFORM_SCALING"++{-# COMPLETE+ ScalingType_UNIFORM_SCALING,+ ScalingType'+ #-}
+ gen/Amazonka/Kinesis/Types/SequenceNumberRange.hs view
@@ -0,0 +1,90 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Types.SequenceNumberRange+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Types.SequenceNumberRange where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The range of possible sequence numbers for the shard.+--+-- /See:/ 'newSequenceNumberRange' smart constructor.+data SequenceNumberRange = SequenceNumberRange'+ { -- | The ending sequence number for the range. Shards that are in the OPEN+ -- state have an ending sequence number of @null@.+ endingSequenceNumber :: Prelude.Maybe Prelude.Text,+ -- | The starting sequence number for the range.+ startingSequenceNumber :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SequenceNumberRange' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'endingSequenceNumber', 'sequenceNumberRange_endingSequenceNumber' - The ending sequence number for the range. Shards that are in the OPEN+-- state have an ending sequence number of @null@.+--+-- 'startingSequenceNumber', 'sequenceNumberRange_startingSequenceNumber' - The starting sequence number for the range.+newSequenceNumberRange ::+ -- | 'startingSequenceNumber'+ Prelude.Text ->+ SequenceNumberRange+newSequenceNumberRange pStartingSequenceNumber_ =+ SequenceNumberRange'+ { endingSequenceNumber =+ Prelude.Nothing,+ startingSequenceNumber = pStartingSequenceNumber_+ }++-- | The ending sequence number for the range. Shards that are in the OPEN+-- state have an ending sequence number of @null@.+sequenceNumberRange_endingSequenceNumber :: Lens.Lens' SequenceNumberRange (Prelude.Maybe Prelude.Text)+sequenceNumberRange_endingSequenceNumber = Lens.lens (\SequenceNumberRange' {endingSequenceNumber} -> endingSequenceNumber) (\s@SequenceNumberRange' {} a -> s {endingSequenceNumber = a} :: SequenceNumberRange)++-- | The starting sequence number for the range.+sequenceNumberRange_startingSequenceNumber :: Lens.Lens' SequenceNumberRange Prelude.Text+sequenceNumberRange_startingSequenceNumber = Lens.lens (\SequenceNumberRange' {startingSequenceNumber} -> startingSequenceNumber) (\s@SequenceNumberRange' {} a -> s {startingSequenceNumber = a} :: SequenceNumberRange)++instance Data.FromJSON SequenceNumberRange where+ parseJSON =+ Data.withObject+ "SequenceNumberRange"+ ( \x ->+ SequenceNumberRange'+ Prelude.<$> (x Data..:? "EndingSequenceNumber")+ Prelude.<*> (x Data..: "StartingSequenceNumber")+ )++instance Prelude.Hashable SequenceNumberRange where+ hashWithSalt _salt SequenceNumberRange' {..} =+ _salt+ `Prelude.hashWithSalt` endingSequenceNumber+ `Prelude.hashWithSalt` startingSequenceNumber++instance Prelude.NFData SequenceNumberRange where+ rnf SequenceNumberRange' {..} =+ Prelude.rnf endingSequenceNumber+ `Prelude.seq` Prelude.rnf startingSequenceNumber
+ gen/Amazonka/Kinesis/Types/Shard.hs view
@@ -0,0 +1,134 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Types.Shard+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Types.Shard where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types.HashKeyRange+import Amazonka.Kinesis.Types.SequenceNumberRange+import qualified Amazonka.Prelude as Prelude++-- | A uniquely identified group of data records in a Kinesis data stream.+--+-- /See:/ 'newShard' smart constructor.+data Shard = Shard'+ { -- | The shard ID of the shard adjacent to the shard\'s parent.+ adjacentParentShardId :: Prelude.Maybe Prelude.Text,+ -- | The shard ID of the shard\'s parent.+ parentShardId :: Prelude.Maybe Prelude.Text,+ -- | The unique identifier of the shard within the stream.+ shardId :: Prelude.Text,+ -- | The range of possible hash key values for the shard, which is a set of+ -- ordered contiguous positive integers.+ hashKeyRange :: HashKeyRange,+ -- | The range of possible sequence numbers for the shard.+ sequenceNumberRange :: SequenceNumberRange+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Shard' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'adjacentParentShardId', 'shard_adjacentParentShardId' - The shard ID of the shard adjacent to the shard\'s parent.+--+-- 'parentShardId', 'shard_parentShardId' - The shard ID of the shard\'s parent.+--+-- 'shardId', 'shard_shardId' - The unique identifier of the shard within the stream.+--+-- 'hashKeyRange', 'shard_hashKeyRange' - The range of possible hash key values for the shard, which is a set of+-- ordered contiguous positive integers.+--+-- 'sequenceNumberRange', 'shard_sequenceNumberRange' - The range of possible sequence numbers for the shard.+newShard ::+ -- | 'shardId'+ Prelude.Text ->+ -- | 'hashKeyRange'+ HashKeyRange ->+ -- | 'sequenceNumberRange'+ SequenceNumberRange ->+ Shard+newShard+ pShardId_+ pHashKeyRange_+ pSequenceNumberRange_ =+ Shard'+ { adjacentParentShardId = Prelude.Nothing,+ parentShardId = Prelude.Nothing,+ shardId = pShardId_,+ hashKeyRange = pHashKeyRange_,+ sequenceNumberRange = pSequenceNumberRange_+ }++-- | The shard ID of the shard adjacent to the shard\'s parent.+shard_adjacentParentShardId :: Lens.Lens' Shard (Prelude.Maybe Prelude.Text)+shard_adjacentParentShardId = Lens.lens (\Shard' {adjacentParentShardId} -> adjacentParentShardId) (\s@Shard' {} a -> s {adjacentParentShardId = a} :: Shard)++-- | The shard ID of the shard\'s parent.+shard_parentShardId :: Lens.Lens' Shard (Prelude.Maybe Prelude.Text)+shard_parentShardId = Lens.lens (\Shard' {parentShardId} -> parentShardId) (\s@Shard' {} a -> s {parentShardId = a} :: Shard)++-- | The unique identifier of the shard within the stream.+shard_shardId :: Lens.Lens' Shard Prelude.Text+shard_shardId = Lens.lens (\Shard' {shardId} -> shardId) (\s@Shard' {} a -> s {shardId = a} :: Shard)++-- | The range of possible hash key values for the shard, which is a set of+-- ordered contiguous positive integers.+shard_hashKeyRange :: Lens.Lens' Shard HashKeyRange+shard_hashKeyRange = Lens.lens (\Shard' {hashKeyRange} -> hashKeyRange) (\s@Shard' {} a -> s {hashKeyRange = a} :: Shard)++-- | The range of possible sequence numbers for the shard.+shard_sequenceNumberRange :: Lens.Lens' Shard SequenceNumberRange+shard_sequenceNumberRange = Lens.lens (\Shard' {sequenceNumberRange} -> sequenceNumberRange) (\s@Shard' {} a -> s {sequenceNumberRange = a} :: Shard)++instance Data.FromJSON Shard where+ parseJSON =+ Data.withObject+ "Shard"+ ( \x ->+ Shard'+ Prelude.<$> (x Data..:? "AdjacentParentShardId")+ Prelude.<*> (x Data..:? "ParentShardId")+ Prelude.<*> (x Data..: "ShardId")+ Prelude.<*> (x Data..: "HashKeyRange")+ Prelude.<*> (x Data..: "SequenceNumberRange")+ )++instance Prelude.Hashable Shard where+ hashWithSalt _salt Shard' {..} =+ _salt+ `Prelude.hashWithSalt` adjacentParentShardId+ `Prelude.hashWithSalt` parentShardId+ `Prelude.hashWithSalt` shardId+ `Prelude.hashWithSalt` hashKeyRange+ `Prelude.hashWithSalt` sequenceNumberRange++instance Prelude.NFData Shard where+ rnf Shard' {..} =+ Prelude.rnf adjacentParentShardId+ `Prelude.seq` Prelude.rnf parentShardId+ `Prelude.seq` Prelude.rnf shardId+ `Prelude.seq` Prelude.rnf hashKeyRange+ `Prelude.seq` Prelude.rnf sequenceNumberRange
+ gen/Amazonka/Kinesis/Types/ShardFilter.hs view
@@ -0,0 +1,192 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Types.ShardFilter+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Types.ShardFilter where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types.ShardFilterType+import qualified Amazonka.Prelude as Prelude++-- | The request parameter used to filter out the response of the+-- @ListShards@ API.+--+-- /See:/ 'newShardFilter' smart constructor.+data ShardFilter = ShardFilter'+ { -- | The exclusive start @shardID@ speified in the @ShardFilter@ parameter.+ -- This property can only be used if the @AFTER_SHARD_ID@ shard type is+ -- specified.+ shardId :: Prelude.Maybe Prelude.Text,+ -- | The timestamps specified in the @ShardFilter@ parameter. A timestamp is+ -- a Unix epoch date with precision in milliseconds. For example,+ -- 2016-04-04T19:58:46.480-00:00 or 1459799926.480. This property can only+ -- be used if @FROM_TIMESTAMP@ or @AT_TIMESTAMP@ shard types are specified.+ timestamp :: Prelude.Maybe Data.POSIX,+ -- | The shard type specified in the @ShardFilter@ parameter. This is a+ -- required property of the @ShardFilter@ parameter.+ --+ -- You can specify the following valid values:+ --+ -- - @AFTER_SHARD_ID@ - the response includes all the shards, starting+ -- with the shard whose ID immediately follows the @ShardId@ that you+ -- provided.+ --+ -- - @AT_TRIM_HORIZON@ - the response includes all the shards that were+ -- open at @TRIM_HORIZON@.+ --+ -- - @FROM_TRIM_HORIZON@ - (default), the response includes all the+ -- shards within the retention period of the data stream (trim to tip).+ --+ -- - @AT_LATEST@ - the response includes only the currently open shards+ -- of the data stream.+ --+ -- - @AT_TIMESTAMP@ - the response includes all shards whose start+ -- timestamp is less than or equal to the given timestamp and end+ -- timestamp is greater than or equal to the given timestamp or still+ -- open.+ --+ -- - @FROM_TIMESTAMP@ - the response incldues all closed shards whose end+ -- timestamp is greater than or equal to the given timestamp and also+ -- all open shards. Corrected to @TRIM_HORIZON@ of the data stream if+ -- @FROM_TIMESTAMP@ is less than the @TRIM_HORIZON@ value.+ type' :: ShardFilterType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ShardFilter' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'shardId', 'shardFilter_shardId' - The exclusive start @shardID@ speified in the @ShardFilter@ parameter.+-- This property can only be used if the @AFTER_SHARD_ID@ shard type is+-- specified.+--+-- 'timestamp', 'shardFilter_timestamp' - The timestamps specified in the @ShardFilter@ parameter. A timestamp is+-- a Unix epoch date with precision in milliseconds. For example,+-- 2016-04-04T19:58:46.480-00:00 or 1459799926.480. This property can only+-- be used if @FROM_TIMESTAMP@ or @AT_TIMESTAMP@ shard types are specified.+--+-- 'type'', 'shardFilter_type' - The shard type specified in the @ShardFilter@ parameter. This is a+-- required property of the @ShardFilter@ parameter.+--+-- You can specify the following valid values:+--+-- - @AFTER_SHARD_ID@ - the response includes all the shards, starting+-- with the shard whose ID immediately follows the @ShardId@ that you+-- provided.+--+-- - @AT_TRIM_HORIZON@ - the response includes all the shards that were+-- open at @TRIM_HORIZON@.+--+-- - @FROM_TRIM_HORIZON@ - (default), the response includes all the+-- shards within the retention period of the data stream (trim to tip).+--+-- - @AT_LATEST@ - the response includes only the currently open shards+-- of the data stream.+--+-- - @AT_TIMESTAMP@ - the response includes all shards whose start+-- timestamp is less than or equal to the given timestamp and end+-- timestamp is greater than or equal to the given timestamp or still+-- open.+--+-- - @FROM_TIMESTAMP@ - the response incldues all closed shards whose end+-- timestamp is greater than or equal to the given timestamp and also+-- all open shards. Corrected to @TRIM_HORIZON@ of the data stream if+-- @FROM_TIMESTAMP@ is less than the @TRIM_HORIZON@ value.+newShardFilter ::+ -- | 'type''+ ShardFilterType ->+ ShardFilter+newShardFilter pType_ =+ ShardFilter'+ { shardId = Prelude.Nothing,+ timestamp = Prelude.Nothing,+ type' = pType_+ }++-- | The exclusive start @shardID@ speified in the @ShardFilter@ parameter.+-- This property can only be used if the @AFTER_SHARD_ID@ shard type is+-- specified.+shardFilter_shardId :: Lens.Lens' ShardFilter (Prelude.Maybe Prelude.Text)+shardFilter_shardId = Lens.lens (\ShardFilter' {shardId} -> shardId) (\s@ShardFilter' {} a -> s {shardId = a} :: ShardFilter)++-- | The timestamps specified in the @ShardFilter@ parameter. A timestamp is+-- a Unix epoch date with precision in milliseconds. For example,+-- 2016-04-04T19:58:46.480-00:00 or 1459799926.480. This property can only+-- be used if @FROM_TIMESTAMP@ or @AT_TIMESTAMP@ shard types are specified.+shardFilter_timestamp :: Lens.Lens' ShardFilter (Prelude.Maybe Prelude.UTCTime)+shardFilter_timestamp = Lens.lens (\ShardFilter' {timestamp} -> timestamp) (\s@ShardFilter' {} a -> s {timestamp = a} :: ShardFilter) Prelude.. Lens.mapping Data._Time++-- | The shard type specified in the @ShardFilter@ parameter. This is a+-- required property of the @ShardFilter@ parameter.+--+-- You can specify the following valid values:+--+-- - @AFTER_SHARD_ID@ - the response includes all the shards, starting+-- with the shard whose ID immediately follows the @ShardId@ that you+-- provided.+--+-- - @AT_TRIM_HORIZON@ - the response includes all the shards that were+-- open at @TRIM_HORIZON@.+--+-- - @FROM_TRIM_HORIZON@ - (default), the response includes all the+-- shards within the retention period of the data stream (trim to tip).+--+-- - @AT_LATEST@ - the response includes only the currently open shards+-- of the data stream.+--+-- - @AT_TIMESTAMP@ - the response includes all shards whose start+-- timestamp is less than or equal to the given timestamp and end+-- timestamp is greater than or equal to the given timestamp or still+-- open.+--+-- - @FROM_TIMESTAMP@ - the response incldues all closed shards whose end+-- timestamp is greater than or equal to the given timestamp and also+-- all open shards. Corrected to @TRIM_HORIZON@ of the data stream if+-- @FROM_TIMESTAMP@ is less than the @TRIM_HORIZON@ value.+shardFilter_type :: Lens.Lens' ShardFilter ShardFilterType+shardFilter_type = Lens.lens (\ShardFilter' {type'} -> type') (\s@ShardFilter' {} a -> s {type' = a} :: ShardFilter)++instance Prelude.Hashable ShardFilter where+ hashWithSalt _salt ShardFilter' {..} =+ _salt+ `Prelude.hashWithSalt` shardId+ `Prelude.hashWithSalt` timestamp+ `Prelude.hashWithSalt` type'++instance Prelude.NFData ShardFilter where+ rnf ShardFilter' {..} =+ Prelude.rnf shardId+ `Prelude.seq` Prelude.rnf timestamp+ `Prelude.seq` Prelude.rnf type'++instance Data.ToJSON ShardFilter where+ toJSON ShardFilter' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ShardId" Data..=) Prelude.<$> shardId,+ ("Timestamp" Data..=) Prelude.<$> timestamp,+ Prelude.Just ("Type" Data..= type')+ ]+ )
+ gen/Amazonka/Kinesis/Types/ShardFilterType.hs view
@@ -0,0 +1,91 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Types.ShardFilterType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Types.ShardFilterType+ ( ShardFilterType+ ( ..,+ ShardFilterType_AFTER_SHARD_ID,+ ShardFilterType_AT_LATEST,+ ShardFilterType_AT_TIMESTAMP,+ ShardFilterType_AT_TRIM_HORIZON,+ ShardFilterType_FROM_TIMESTAMP,+ ShardFilterType_FROM_TRIM_HORIZON+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ShardFilterType = ShardFilterType'+ { fromShardFilterType ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern ShardFilterType_AFTER_SHARD_ID :: ShardFilterType+pattern ShardFilterType_AFTER_SHARD_ID = ShardFilterType' "AFTER_SHARD_ID"++pattern ShardFilterType_AT_LATEST :: ShardFilterType+pattern ShardFilterType_AT_LATEST = ShardFilterType' "AT_LATEST"++pattern ShardFilterType_AT_TIMESTAMP :: ShardFilterType+pattern ShardFilterType_AT_TIMESTAMP = ShardFilterType' "AT_TIMESTAMP"++pattern ShardFilterType_AT_TRIM_HORIZON :: ShardFilterType+pattern ShardFilterType_AT_TRIM_HORIZON = ShardFilterType' "AT_TRIM_HORIZON"++pattern ShardFilterType_FROM_TIMESTAMP :: ShardFilterType+pattern ShardFilterType_FROM_TIMESTAMP = ShardFilterType' "FROM_TIMESTAMP"++pattern ShardFilterType_FROM_TRIM_HORIZON :: ShardFilterType+pattern ShardFilterType_FROM_TRIM_HORIZON = ShardFilterType' "FROM_TRIM_HORIZON"++{-# COMPLETE+ ShardFilterType_AFTER_SHARD_ID,+ ShardFilterType_AT_LATEST,+ ShardFilterType_AT_TIMESTAMP,+ ShardFilterType_AT_TRIM_HORIZON,+ ShardFilterType_FROM_TIMESTAMP,+ ShardFilterType_FROM_TRIM_HORIZON,+ ShardFilterType'+ #-}
+ gen/Amazonka/Kinesis/Types/ShardIteratorType.hs view
@@ -0,0 +1,86 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Types.ShardIteratorType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Types.ShardIteratorType+ ( ShardIteratorType+ ( ..,+ ShardIteratorType_AFTER_SEQUENCE_NUMBER,+ ShardIteratorType_AT_SEQUENCE_NUMBER,+ ShardIteratorType_AT_TIMESTAMP,+ ShardIteratorType_LATEST,+ ShardIteratorType_TRIM_HORIZON+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ShardIteratorType = ShardIteratorType'+ { fromShardIteratorType ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern ShardIteratorType_AFTER_SEQUENCE_NUMBER :: ShardIteratorType+pattern ShardIteratorType_AFTER_SEQUENCE_NUMBER = ShardIteratorType' "AFTER_SEQUENCE_NUMBER"++pattern ShardIteratorType_AT_SEQUENCE_NUMBER :: ShardIteratorType+pattern ShardIteratorType_AT_SEQUENCE_NUMBER = ShardIteratorType' "AT_SEQUENCE_NUMBER"++pattern ShardIteratorType_AT_TIMESTAMP :: ShardIteratorType+pattern ShardIteratorType_AT_TIMESTAMP = ShardIteratorType' "AT_TIMESTAMP"++pattern ShardIteratorType_LATEST :: ShardIteratorType+pattern ShardIteratorType_LATEST = ShardIteratorType' "LATEST"++pattern ShardIteratorType_TRIM_HORIZON :: ShardIteratorType+pattern ShardIteratorType_TRIM_HORIZON = ShardIteratorType' "TRIM_HORIZON"++{-# COMPLETE+ ShardIteratorType_AFTER_SEQUENCE_NUMBER,+ ShardIteratorType_AT_SEQUENCE_NUMBER,+ ShardIteratorType_AT_TIMESTAMP,+ ShardIteratorType_LATEST,+ ShardIteratorType_TRIM_HORIZON,+ ShardIteratorType'+ #-}
+ gen/Amazonka/Kinesis/Types/StartingPosition.hs view
@@ -0,0 +1,171 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Types.StartingPosition+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Types.StartingPosition where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types.ShardIteratorType+import qualified Amazonka.Prelude as Prelude++-- | The starting position in the data stream from which to start streaming.+--+-- /See:/ 'newStartingPosition' smart constructor.+data StartingPosition = StartingPosition'+ { -- | The sequence number of the data record in the shard from which to start+ -- streaming. To specify a sequence number, set @StartingPosition@ to+ -- @AT_SEQUENCE_NUMBER@ or @AFTER_SEQUENCE_NUMBER@.+ sequenceNumber :: Prelude.Maybe Prelude.Text,+ -- | The time stamp of the data record from which to start reading. To+ -- specify a time stamp, set @StartingPosition@ to @Type AT_TIMESTAMP@. A+ -- time stamp is the Unix epoch date with precision in milliseconds. For+ -- example, @2016-04-04T19:58:46.480-00:00@ or @1459799926.480@. If a+ -- record with this exact time stamp does not exist, records will be+ -- streamed from the next (later) record. If the time stamp is older than+ -- the current trim horizon, records will be streamed from the oldest+ -- untrimmed data record (@TRIM_HORIZON@).+ timestamp :: Prelude.Maybe Data.POSIX,+ -- | You can set the starting position to one of the following values:+ --+ -- @AT_SEQUENCE_NUMBER@: Start streaming from the position denoted by the+ -- sequence number specified in the @SequenceNumber@ field.+ --+ -- @AFTER_SEQUENCE_NUMBER@: Start streaming right after the position+ -- denoted by the sequence number specified in the @SequenceNumber@ field.+ --+ -- @AT_TIMESTAMP@: Start streaming from the position denoted by the time+ -- stamp specified in the @Timestamp@ field.+ --+ -- @TRIM_HORIZON@: Start streaming at the last untrimmed record in the+ -- shard, which is the oldest data record in the shard.+ --+ -- @LATEST@: Start streaming just after the most recent record in the+ -- shard, so that you always read the most recent data in the shard.+ type' :: ShardIteratorType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StartingPosition' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'sequenceNumber', 'startingPosition_sequenceNumber' - The sequence number of the data record in the shard from which to start+-- streaming. To specify a sequence number, set @StartingPosition@ to+-- @AT_SEQUENCE_NUMBER@ or @AFTER_SEQUENCE_NUMBER@.+--+-- 'timestamp', 'startingPosition_timestamp' - The time stamp of the data record from which to start reading. To+-- specify a time stamp, set @StartingPosition@ to @Type AT_TIMESTAMP@. A+-- time stamp is the Unix epoch date with precision in milliseconds. For+-- example, @2016-04-04T19:58:46.480-00:00@ or @1459799926.480@. If a+-- record with this exact time stamp does not exist, records will be+-- streamed from the next (later) record. If the time stamp is older than+-- the current trim horizon, records will be streamed from the oldest+-- untrimmed data record (@TRIM_HORIZON@).+--+-- 'type'', 'startingPosition_type' - You can set the starting position to one of the following values:+--+-- @AT_SEQUENCE_NUMBER@: Start streaming from the position denoted by the+-- sequence number specified in the @SequenceNumber@ field.+--+-- @AFTER_SEQUENCE_NUMBER@: Start streaming right after the position+-- denoted by the sequence number specified in the @SequenceNumber@ field.+--+-- @AT_TIMESTAMP@: Start streaming from the position denoted by the time+-- stamp specified in the @Timestamp@ field.+--+-- @TRIM_HORIZON@: Start streaming at the last untrimmed record in the+-- shard, which is the oldest data record in the shard.+--+-- @LATEST@: Start streaming just after the most recent record in the+-- shard, so that you always read the most recent data in the shard.+newStartingPosition ::+ -- | 'type''+ ShardIteratorType ->+ StartingPosition+newStartingPosition pType_ =+ StartingPosition'+ { sequenceNumber = Prelude.Nothing,+ timestamp = Prelude.Nothing,+ type' = pType_+ }++-- | The sequence number of the data record in the shard from which to start+-- streaming. To specify a sequence number, set @StartingPosition@ to+-- @AT_SEQUENCE_NUMBER@ or @AFTER_SEQUENCE_NUMBER@.+startingPosition_sequenceNumber :: Lens.Lens' StartingPosition (Prelude.Maybe Prelude.Text)+startingPosition_sequenceNumber = Lens.lens (\StartingPosition' {sequenceNumber} -> sequenceNumber) (\s@StartingPosition' {} a -> s {sequenceNumber = a} :: StartingPosition)++-- | The time stamp of the data record from which to start reading. To+-- specify a time stamp, set @StartingPosition@ to @Type AT_TIMESTAMP@. A+-- time stamp is the Unix epoch date with precision in milliseconds. For+-- example, @2016-04-04T19:58:46.480-00:00@ or @1459799926.480@. If a+-- record with this exact time stamp does not exist, records will be+-- streamed from the next (later) record. If the time stamp is older than+-- the current trim horizon, records will be streamed from the oldest+-- untrimmed data record (@TRIM_HORIZON@).+startingPosition_timestamp :: Lens.Lens' StartingPosition (Prelude.Maybe Prelude.UTCTime)+startingPosition_timestamp = Lens.lens (\StartingPosition' {timestamp} -> timestamp) (\s@StartingPosition' {} a -> s {timestamp = a} :: StartingPosition) Prelude.. Lens.mapping Data._Time++-- | You can set the starting position to one of the following values:+--+-- @AT_SEQUENCE_NUMBER@: Start streaming from the position denoted by the+-- sequence number specified in the @SequenceNumber@ field.+--+-- @AFTER_SEQUENCE_NUMBER@: Start streaming right after the position+-- denoted by the sequence number specified in the @SequenceNumber@ field.+--+-- @AT_TIMESTAMP@: Start streaming from the position denoted by the time+-- stamp specified in the @Timestamp@ field.+--+-- @TRIM_HORIZON@: Start streaming at the last untrimmed record in the+-- shard, which is the oldest data record in the shard.+--+-- @LATEST@: Start streaming just after the most recent record in the+-- shard, so that you always read the most recent data in the shard.+startingPosition_type :: Lens.Lens' StartingPosition ShardIteratorType+startingPosition_type = Lens.lens (\StartingPosition' {type'} -> type') (\s@StartingPosition' {} a -> s {type' = a} :: StartingPosition)++instance Prelude.Hashable StartingPosition where+ hashWithSalt _salt StartingPosition' {..} =+ _salt+ `Prelude.hashWithSalt` sequenceNumber+ `Prelude.hashWithSalt` timestamp+ `Prelude.hashWithSalt` type'++instance Prelude.NFData StartingPosition where+ rnf StartingPosition' {..} =+ Prelude.rnf sequenceNumber+ `Prelude.seq` Prelude.rnf timestamp+ `Prelude.seq` Prelude.rnf type'++instance Data.ToJSON StartingPosition where+ toJSON StartingPosition' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("SequenceNumber" Data..=)+ Prelude.<$> sequenceNumber,+ ("Timestamp" Data..=) Prelude.<$> timestamp,+ Prelude.Just ("Type" Data..= type')+ ]+ )
+ gen/Amazonka/Kinesis/Types/StreamDescription.hs view
@@ -0,0 +1,349 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Types.StreamDescription+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Types.StreamDescription where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types.EncryptionType+import Amazonka.Kinesis.Types.EnhancedMetrics+import Amazonka.Kinesis.Types.Shard+import Amazonka.Kinesis.Types.StreamModeDetails+import Amazonka.Kinesis.Types.StreamStatus+import qualified Amazonka.Prelude as Prelude++-- | Represents the output for DescribeStream.+--+-- /See:/ 'newStreamDescription' smart constructor.+data StreamDescription = StreamDescription'+ { -- | The server-side encryption type used on the stream. This parameter can+ -- be one of the following values:+ --+ -- - @NONE@: Do not encrypt the records in the stream.+ --+ -- - @KMS@: Use server-side encryption on the records in the stream using+ -- a customer-managed Amazon Web Services KMS key.+ encryptionType :: Prelude.Maybe EncryptionType,+ -- | The GUID for the customer-managed Amazon Web Services KMS key to use for+ -- encryption. This value can be a globally unique identifier, a fully+ -- specified ARN to either an alias or a key, or an alias name prefixed by+ -- \"alias\/\".You can also use a master key owned by Kinesis Data Streams+ -- by specifying the alias @aws\/kinesis@.+ --+ -- - Key ARN example:+ -- @arn:aws:kms:us-east-1:123456789012:key\/12345678-1234-1234-1234-123456789012@+ --+ -- - Alias ARN example:+ -- @arn:aws:kms:us-east-1:123456789012:alias\/MyAliasName@+ --+ -- - Globally unique key ID example:+ -- @12345678-1234-1234-1234-123456789012@+ --+ -- - Alias name example: @alias\/MyAliasName@+ --+ -- - Master key owned by Kinesis Data Streams: @alias\/aws\/kinesis@+ keyId :: Prelude.Maybe Prelude.Text,+ -- | Specifies the capacity mode to which you want to set your data stream.+ -- Currently, in Kinesis Data Streams, you can choose between an+ -- __on-demand__ capacity mode and a __provisioned__ capacity mode for your+ -- data streams.+ streamModeDetails :: Prelude.Maybe StreamModeDetails,+ -- | The name of the stream being described.+ streamName :: Prelude.Text,+ -- | The Amazon Resource Name (ARN) for the stream being described.+ streamARN :: Prelude.Text,+ -- | 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.+ streamStatus :: StreamStatus,+ -- | The shards that comprise the stream.+ shards :: [Shard],+ -- | If set to @true@, more shards in the stream are available to describe.+ hasMoreShards :: Prelude.Bool,+ -- | The current retention period, in hours. Minimum value of 24. Maximum+ -- value of 168.+ retentionPeriodHours :: Prelude.Int,+ -- | The approximate time that the stream was created.+ streamCreationTimestamp :: Data.POSIX,+ -- | Represents the current enhanced monitoring settings of the stream.+ enhancedMonitoring :: [EnhancedMetrics]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StreamDescription' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'encryptionType', 'streamDescription_encryptionType' - The server-side encryption type used on the stream. This parameter can+-- be one of the following values:+--+-- - @NONE@: Do not encrypt the records in the stream.+--+-- - @KMS@: Use server-side encryption on the records in the stream using+-- a customer-managed Amazon Web Services KMS key.+--+-- 'keyId', 'streamDescription_keyId' - The GUID for the customer-managed Amazon Web Services KMS key to use for+-- encryption. This value can be a globally unique identifier, a fully+-- specified ARN to either an alias or a key, or an alias name prefixed by+-- \"alias\/\".You can also use a master key owned by Kinesis Data Streams+-- by specifying the alias @aws\/kinesis@.+--+-- - Key ARN example:+-- @arn:aws:kms:us-east-1:123456789012:key\/12345678-1234-1234-1234-123456789012@+--+-- - Alias ARN example:+-- @arn:aws:kms:us-east-1:123456789012:alias\/MyAliasName@+--+-- - Globally unique key ID example:+-- @12345678-1234-1234-1234-123456789012@+--+-- - Alias name example: @alias\/MyAliasName@+--+-- - Master key owned by Kinesis Data Streams: @alias\/aws\/kinesis@+--+-- 'streamModeDetails', 'streamDescription_streamModeDetails' - Specifies the capacity mode to which you want to set your data stream.+-- Currently, in Kinesis Data Streams, you can choose between an+-- __on-demand__ capacity mode and a __provisioned__ capacity mode for your+-- data streams.+--+-- 'streamName', 'streamDescription_streamName' - The name of the stream being described.+--+-- 'streamARN', 'streamDescription_streamARN' - The Amazon Resource Name (ARN) for the stream being described.+--+-- 'streamStatus', '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.+--+-- 'shards', 'streamDescription_shards' - The shards that comprise the stream.+--+-- 'hasMoreShards', 'streamDescription_hasMoreShards' - If set to @true@, more shards in the stream are available to describe.+--+-- 'retentionPeriodHours', 'streamDescription_retentionPeriodHours' - The current retention period, in hours. Minimum value of 24. Maximum+-- value of 168.+--+-- 'streamCreationTimestamp', 'streamDescription_streamCreationTimestamp' - The approximate time that the stream was created.+--+-- 'enhancedMonitoring', 'streamDescription_enhancedMonitoring' - Represents the current enhanced monitoring settings of the stream.+newStreamDescription ::+ -- | 'streamName'+ Prelude.Text ->+ -- | 'streamARN'+ Prelude.Text ->+ -- | 'streamStatus'+ StreamStatus ->+ -- | 'hasMoreShards'+ Prelude.Bool ->+ -- | 'retentionPeriodHours'+ Prelude.Int ->+ -- | 'streamCreationTimestamp'+ Prelude.UTCTime ->+ StreamDescription+newStreamDescription+ pStreamName_+ pStreamARN_+ pStreamStatus_+ pHasMoreShards_+ pRetentionPeriodHours_+ pStreamCreationTimestamp_ =+ StreamDescription'+ { encryptionType =+ Prelude.Nothing,+ keyId = Prelude.Nothing,+ streamModeDetails = Prelude.Nothing,+ streamName = pStreamName_,+ streamARN = pStreamARN_,+ streamStatus = pStreamStatus_,+ shards = Prelude.mempty,+ hasMoreShards = pHasMoreShards_,+ retentionPeriodHours = pRetentionPeriodHours_,+ streamCreationTimestamp =+ Data._Time Lens.# pStreamCreationTimestamp_,+ enhancedMonitoring = Prelude.mempty+ }++-- | The server-side encryption type used on the stream. This parameter can+-- be one of the following values:+--+-- - @NONE@: Do not encrypt the records in the stream.+--+-- - @KMS@: Use server-side encryption on the records in the stream using+-- a customer-managed Amazon Web Services KMS key.+streamDescription_encryptionType :: Lens.Lens' StreamDescription (Prelude.Maybe EncryptionType)+streamDescription_encryptionType = Lens.lens (\StreamDescription' {encryptionType} -> encryptionType) (\s@StreamDescription' {} a -> s {encryptionType = a} :: StreamDescription)++-- | The GUID for the customer-managed Amazon Web Services KMS key to use for+-- encryption. This value can be a globally unique identifier, a fully+-- specified ARN to either an alias or a key, or an alias name prefixed by+-- \"alias\/\".You can also use a master key owned by Kinesis Data Streams+-- by specifying the alias @aws\/kinesis@.+--+-- - Key ARN example:+-- @arn:aws:kms:us-east-1:123456789012:key\/12345678-1234-1234-1234-123456789012@+--+-- - Alias ARN example:+-- @arn:aws:kms:us-east-1:123456789012:alias\/MyAliasName@+--+-- - Globally unique key ID example:+-- @12345678-1234-1234-1234-123456789012@+--+-- - Alias name example: @alias\/MyAliasName@+--+-- - Master key owned by Kinesis Data Streams: @alias\/aws\/kinesis@+streamDescription_keyId :: Lens.Lens' StreamDescription (Prelude.Maybe Prelude.Text)+streamDescription_keyId = Lens.lens (\StreamDescription' {keyId} -> keyId) (\s@StreamDescription' {} a -> s {keyId = a} :: StreamDescription)++-- | Specifies the capacity mode to which you want to set your data stream.+-- Currently, in Kinesis Data Streams, you can choose between an+-- __on-demand__ capacity mode and a __provisioned__ capacity mode for your+-- data streams.+streamDescription_streamModeDetails :: Lens.Lens' StreamDescription (Prelude.Maybe StreamModeDetails)+streamDescription_streamModeDetails = Lens.lens (\StreamDescription' {streamModeDetails} -> streamModeDetails) (\s@StreamDescription' {} a -> s {streamModeDetails = a} :: StreamDescription)++-- | The name of the stream being described.+streamDescription_streamName :: Lens.Lens' StreamDescription Prelude.Text+streamDescription_streamName = Lens.lens (\StreamDescription' {streamName} -> streamName) (\s@StreamDescription' {} a -> s {streamName = a} :: StreamDescription)++-- | The Amazon Resource Name (ARN) for the stream being described.+streamDescription_streamARN :: Lens.Lens' StreamDescription Prelude.Text+streamDescription_streamARN = Lens.lens (\StreamDescription' {streamARN} -> streamARN) (\s@StreamDescription' {} a -> s {streamARN = a} :: StreamDescription)++-- | The current status of the stream being described. The stream status is+-- one of the following states:+--+-- - @CREATING@ - The stream is being created. Kinesis Data Streams+-- immediately returns and sets @StreamStatus@ to @CREATING@.+--+-- - @DELETING@ - The stream is being deleted. The specified stream is in+-- the @DELETING@ state until Kinesis Data Streams completes the+-- deletion.+--+-- - @ACTIVE@ - The stream exists and is ready for read and write+-- operations or deletion. You should perform read and write operations+-- only on an @ACTIVE@ stream.+--+-- - @UPDATING@ - Shards in the stream are being merged or split. Read+-- and write operations continue to work while the stream is in the+-- @UPDATING@ state.+streamDescription_streamStatus :: Lens.Lens' StreamDescription StreamStatus+streamDescription_streamStatus = Lens.lens (\StreamDescription' {streamStatus} -> streamStatus) (\s@StreamDescription' {} a -> s {streamStatus = a} :: StreamDescription)++-- | The shards that comprise the stream.+streamDescription_shards :: Lens.Lens' StreamDescription [Shard]+streamDescription_shards = Lens.lens (\StreamDescription' {shards} -> shards) (\s@StreamDescription' {} a -> s {shards = a} :: StreamDescription) Prelude.. Lens.coerced++-- | If set to @true@, more shards in the stream are available to describe.+streamDescription_hasMoreShards :: Lens.Lens' StreamDescription Prelude.Bool+streamDescription_hasMoreShards = Lens.lens (\StreamDescription' {hasMoreShards} -> hasMoreShards) (\s@StreamDescription' {} a -> s {hasMoreShards = a} :: StreamDescription)++-- | The current retention period, in hours. Minimum value of 24. Maximum+-- value of 168.+streamDescription_retentionPeriodHours :: Lens.Lens' StreamDescription Prelude.Int+streamDescription_retentionPeriodHours = Lens.lens (\StreamDescription' {retentionPeriodHours} -> retentionPeriodHours) (\s@StreamDescription' {} a -> s {retentionPeriodHours = a} :: StreamDescription)++-- | The approximate time that the stream was created.+streamDescription_streamCreationTimestamp :: Lens.Lens' StreamDescription Prelude.UTCTime+streamDescription_streamCreationTimestamp = Lens.lens (\StreamDescription' {streamCreationTimestamp} -> streamCreationTimestamp) (\s@StreamDescription' {} a -> s {streamCreationTimestamp = a} :: StreamDescription) Prelude.. Data._Time++-- | Represents the current enhanced monitoring settings of the stream.+streamDescription_enhancedMonitoring :: Lens.Lens' StreamDescription [EnhancedMetrics]+streamDescription_enhancedMonitoring = Lens.lens (\StreamDescription' {enhancedMonitoring} -> enhancedMonitoring) (\s@StreamDescription' {} a -> s {enhancedMonitoring = a} :: StreamDescription) Prelude.. Lens.coerced++instance Data.FromJSON StreamDescription where+ parseJSON =+ Data.withObject+ "StreamDescription"+ ( \x ->+ StreamDescription'+ Prelude.<$> (x Data..:? "EncryptionType")+ Prelude.<*> (x Data..:? "KeyId")+ Prelude.<*> (x Data..:? "StreamModeDetails")+ Prelude.<*> (x Data..: "StreamName")+ Prelude.<*> (x Data..: "StreamARN")+ Prelude.<*> (x Data..: "StreamStatus")+ Prelude.<*> (x Data..:? "Shards" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..: "HasMoreShards")+ Prelude.<*> (x Data..: "RetentionPeriodHours")+ Prelude.<*> (x Data..: "StreamCreationTimestamp")+ Prelude.<*> ( x+ Data..:? "EnhancedMonitoring"+ Data..!= Prelude.mempty+ )+ )++instance Prelude.Hashable StreamDescription where+ hashWithSalt _salt StreamDescription' {..} =+ _salt+ `Prelude.hashWithSalt` encryptionType+ `Prelude.hashWithSalt` keyId+ `Prelude.hashWithSalt` streamModeDetails+ `Prelude.hashWithSalt` streamName+ `Prelude.hashWithSalt` streamARN+ `Prelude.hashWithSalt` streamStatus+ `Prelude.hashWithSalt` shards+ `Prelude.hashWithSalt` hasMoreShards+ `Prelude.hashWithSalt` retentionPeriodHours+ `Prelude.hashWithSalt` streamCreationTimestamp+ `Prelude.hashWithSalt` enhancedMonitoring++instance Prelude.NFData StreamDescription where+ rnf StreamDescription' {..} =+ Prelude.rnf encryptionType+ `Prelude.seq` Prelude.rnf keyId+ `Prelude.seq` Prelude.rnf streamModeDetails+ `Prelude.seq` Prelude.rnf streamName+ `Prelude.seq` Prelude.rnf streamARN+ `Prelude.seq` Prelude.rnf streamStatus+ `Prelude.seq` Prelude.rnf shards+ `Prelude.seq` Prelude.rnf hasMoreShards+ `Prelude.seq` Prelude.rnf retentionPeriodHours+ `Prelude.seq` Prelude.rnf streamCreationTimestamp+ `Prelude.seq` Prelude.rnf enhancedMonitoring
+ gen/Amazonka/Kinesis/Types/StreamDescriptionSummary.hs view
@@ -0,0 +1,339 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Types.StreamDescriptionSummary+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Types.StreamDescriptionSummary where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types.EncryptionType+import Amazonka.Kinesis.Types.EnhancedMetrics+import Amazonka.Kinesis.Types.StreamModeDetails+import Amazonka.Kinesis.Types.StreamStatus+import qualified Amazonka.Prelude as Prelude++-- | Represents the output for DescribeStreamSummary+--+-- /See:/ 'newStreamDescriptionSummary' smart constructor.+data StreamDescriptionSummary = StreamDescriptionSummary'+ { -- | The number of enhanced fan-out consumers registered with the stream.+ consumerCount :: Prelude.Maybe Prelude.Natural,+ -- | The encryption type used. This value is one of the following:+ --+ -- - @KMS@+ --+ -- - @NONE@+ encryptionType :: Prelude.Maybe EncryptionType,+ -- | The GUID for the customer-managed Amazon Web Services KMS key to use for+ -- encryption. This value can be a globally unique identifier, a fully+ -- specified ARN to either an alias or a key, or an alias name prefixed by+ -- \"alias\/\".You can also use a master key owned by Kinesis Data Streams+ -- by specifying the alias @aws\/kinesis@.+ --+ -- - Key ARN example:+ -- @arn:aws:kms:us-east-1:123456789012:key\/12345678-1234-1234-1234-123456789012@+ --+ -- - Alias ARN example:+ -- @ arn:aws:kms:us-east-1:123456789012:alias\/MyAliasName@+ --+ -- - Globally unique key ID example:+ -- @12345678-1234-1234-1234-123456789012@+ --+ -- - Alias name example: @alias\/MyAliasName@+ --+ -- - Master key owned by Kinesis Data Streams: @alias\/aws\/kinesis@+ keyId :: Prelude.Maybe Prelude.Text,+ -- | Specifies the capacity mode to which you want to set your data stream.+ -- Currently, in Kinesis Data Streams, you can choose between an+ -- __on-demand__ ycapacity mode and a __provisioned__ capacity mode for+ -- your data streams.+ streamModeDetails :: Prelude.Maybe StreamModeDetails,+ -- | The name of the stream being described.+ streamName :: Prelude.Text,+ -- | The Amazon Resource Name (ARN) for the stream being described.+ streamARN :: Prelude.Text,+ -- | 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.+ streamStatus :: StreamStatus,+ -- | The current retention period, in hours.+ retentionPeriodHours :: Prelude.Int,+ -- | The approximate time that the stream was created.+ streamCreationTimestamp :: Data.POSIX,+ -- | Represents the current enhanced monitoring settings of the stream.+ enhancedMonitoring :: [EnhancedMetrics],+ -- | The number of open shards in the stream.+ openShardCount :: Prelude.Natural+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StreamDescriptionSummary' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'consumerCount', 'streamDescriptionSummary_consumerCount' - The number of enhanced fan-out consumers registered with the stream.+--+-- 'encryptionType', 'streamDescriptionSummary_encryptionType' - The encryption type used. This value is one of the following:+--+-- - @KMS@+--+-- - @NONE@+--+-- 'keyId', 'streamDescriptionSummary_keyId' - The GUID for the customer-managed Amazon Web Services KMS key to use for+-- encryption. This value can be a globally unique identifier, a fully+-- specified ARN to either an alias or a key, or an alias name prefixed by+-- \"alias\/\".You can also use a master key owned by Kinesis Data Streams+-- by specifying the alias @aws\/kinesis@.+--+-- - Key ARN example:+-- @arn:aws:kms:us-east-1:123456789012:key\/12345678-1234-1234-1234-123456789012@+--+-- - Alias ARN example:+-- @ arn:aws:kms:us-east-1:123456789012:alias\/MyAliasName@+--+-- - Globally unique key ID example:+-- @12345678-1234-1234-1234-123456789012@+--+-- - Alias name example: @alias\/MyAliasName@+--+-- - Master key owned by Kinesis Data Streams: @alias\/aws\/kinesis@+--+-- 'streamModeDetails', 'streamDescriptionSummary_streamModeDetails' - Specifies the capacity mode to which you want to set your data stream.+-- Currently, in Kinesis Data Streams, you can choose between an+-- __on-demand__ ycapacity mode and a __provisioned__ capacity mode for+-- your data streams.+--+-- 'streamName', 'streamDescriptionSummary_streamName' - The name of the stream being described.+--+-- 'streamARN', 'streamDescriptionSummary_streamARN' - The Amazon Resource Name (ARN) for the stream being described.+--+-- 'streamStatus', '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.+--+-- 'retentionPeriodHours', 'streamDescriptionSummary_retentionPeriodHours' - The current retention period, in hours.+--+-- 'streamCreationTimestamp', 'streamDescriptionSummary_streamCreationTimestamp' - The approximate time that the stream was created.+--+-- 'enhancedMonitoring', 'streamDescriptionSummary_enhancedMonitoring' - Represents the current enhanced monitoring settings of the stream.+--+-- 'openShardCount', 'streamDescriptionSummary_openShardCount' - The number of open shards in the stream.+newStreamDescriptionSummary ::+ -- | 'streamName'+ Prelude.Text ->+ -- | 'streamARN'+ Prelude.Text ->+ -- | 'streamStatus'+ StreamStatus ->+ -- | 'retentionPeriodHours'+ Prelude.Int ->+ -- | 'streamCreationTimestamp'+ Prelude.UTCTime ->+ -- | 'openShardCount'+ Prelude.Natural ->+ StreamDescriptionSummary+newStreamDescriptionSummary+ pStreamName_+ pStreamARN_+ pStreamStatus_+ pRetentionPeriodHours_+ pStreamCreationTimestamp_+ pOpenShardCount_ =+ StreamDescriptionSummary'+ { consumerCount =+ Prelude.Nothing,+ encryptionType = Prelude.Nothing,+ keyId = Prelude.Nothing,+ streamModeDetails = Prelude.Nothing,+ streamName = pStreamName_,+ streamARN = pStreamARN_,+ streamStatus = pStreamStatus_,+ retentionPeriodHours = pRetentionPeriodHours_,+ streamCreationTimestamp =+ Data._Time Lens.# pStreamCreationTimestamp_,+ enhancedMonitoring = Prelude.mempty,+ openShardCount = pOpenShardCount_+ }++-- | The number of enhanced fan-out consumers registered with the stream.+streamDescriptionSummary_consumerCount :: Lens.Lens' StreamDescriptionSummary (Prelude.Maybe Prelude.Natural)+streamDescriptionSummary_consumerCount = Lens.lens (\StreamDescriptionSummary' {consumerCount} -> consumerCount) (\s@StreamDescriptionSummary' {} a -> s {consumerCount = a} :: StreamDescriptionSummary)++-- | The encryption type used. This value is one of the following:+--+-- - @KMS@+--+-- - @NONE@+streamDescriptionSummary_encryptionType :: Lens.Lens' StreamDescriptionSummary (Prelude.Maybe EncryptionType)+streamDescriptionSummary_encryptionType = Lens.lens (\StreamDescriptionSummary' {encryptionType} -> encryptionType) (\s@StreamDescriptionSummary' {} a -> s {encryptionType = a} :: StreamDescriptionSummary)++-- | The GUID for the customer-managed Amazon Web Services KMS key to use for+-- encryption. This value can be a globally unique identifier, a fully+-- specified ARN to either an alias or a key, or an alias name prefixed by+-- \"alias\/\".You can also use a master key owned by Kinesis Data Streams+-- by specifying the alias @aws\/kinesis@.+--+-- - Key ARN example:+-- @arn:aws:kms:us-east-1:123456789012:key\/12345678-1234-1234-1234-123456789012@+--+-- - Alias ARN example:+-- @ arn:aws:kms:us-east-1:123456789012:alias\/MyAliasName@+--+-- - Globally unique key ID example:+-- @12345678-1234-1234-1234-123456789012@+--+-- - Alias name example: @alias\/MyAliasName@+--+-- - Master key owned by Kinesis Data Streams: @alias\/aws\/kinesis@+streamDescriptionSummary_keyId :: Lens.Lens' StreamDescriptionSummary (Prelude.Maybe Prelude.Text)+streamDescriptionSummary_keyId = Lens.lens (\StreamDescriptionSummary' {keyId} -> keyId) (\s@StreamDescriptionSummary' {} a -> s {keyId = a} :: StreamDescriptionSummary)++-- | Specifies the capacity mode to which you want to set your data stream.+-- Currently, in Kinesis Data Streams, you can choose between an+-- __on-demand__ ycapacity mode and a __provisioned__ capacity mode for+-- your data streams.+streamDescriptionSummary_streamModeDetails :: Lens.Lens' StreamDescriptionSummary (Prelude.Maybe StreamModeDetails)+streamDescriptionSummary_streamModeDetails = Lens.lens (\StreamDescriptionSummary' {streamModeDetails} -> streamModeDetails) (\s@StreamDescriptionSummary' {} a -> s {streamModeDetails = a} :: StreamDescriptionSummary)++-- | The name of the stream being described.+streamDescriptionSummary_streamName :: Lens.Lens' StreamDescriptionSummary Prelude.Text+streamDescriptionSummary_streamName = Lens.lens (\StreamDescriptionSummary' {streamName} -> streamName) (\s@StreamDescriptionSummary' {} a -> s {streamName = a} :: StreamDescriptionSummary)++-- | The Amazon Resource Name (ARN) for the stream being described.+streamDescriptionSummary_streamARN :: Lens.Lens' StreamDescriptionSummary Prelude.Text+streamDescriptionSummary_streamARN = Lens.lens (\StreamDescriptionSummary' {streamARN} -> streamARN) (\s@StreamDescriptionSummary' {} a -> s {streamARN = a} :: StreamDescriptionSummary)++-- | The current status of the stream being described. The stream status is+-- one of the following states:+--+-- - @CREATING@ - The stream is being created. Kinesis Data Streams+-- immediately returns and sets @StreamStatus@ to @CREATING@.+--+-- - @DELETING@ - The stream is being deleted. The specified stream is in+-- the @DELETING@ state until Kinesis Data Streams completes the+-- deletion.+--+-- - @ACTIVE@ - The stream exists and is ready for read and write+-- operations or deletion. You should perform read and write operations+-- only on an @ACTIVE@ stream.+--+-- - @UPDATING@ - Shards in the stream are being merged or split. Read+-- and write operations continue to work while the stream is in the+-- @UPDATING@ state.+streamDescriptionSummary_streamStatus :: Lens.Lens' StreamDescriptionSummary StreamStatus+streamDescriptionSummary_streamStatus = Lens.lens (\StreamDescriptionSummary' {streamStatus} -> streamStatus) (\s@StreamDescriptionSummary' {} a -> s {streamStatus = a} :: StreamDescriptionSummary)++-- | The current retention period, in hours.+streamDescriptionSummary_retentionPeriodHours :: Lens.Lens' StreamDescriptionSummary Prelude.Int+streamDescriptionSummary_retentionPeriodHours = Lens.lens (\StreamDescriptionSummary' {retentionPeriodHours} -> retentionPeriodHours) (\s@StreamDescriptionSummary' {} a -> s {retentionPeriodHours = a} :: StreamDescriptionSummary)++-- | The approximate time that the stream was created.+streamDescriptionSummary_streamCreationTimestamp :: Lens.Lens' StreamDescriptionSummary Prelude.UTCTime+streamDescriptionSummary_streamCreationTimestamp = Lens.lens (\StreamDescriptionSummary' {streamCreationTimestamp} -> streamCreationTimestamp) (\s@StreamDescriptionSummary' {} a -> s {streamCreationTimestamp = a} :: StreamDescriptionSummary) Prelude.. Data._Time++-- | Represents the current enhanced monitoring settings of the stream.+streamDescriptionSummary_enhancedMonitoring :: Lens.Lens' StreamDescriptionSummary [EnhancedMetrics]+streamDescriptionSummary_enhancedMonitoring = Lens.lens (\StreamDescriptionSummary' {enhancedMonitoring} -> enhancedMonitoring) (\s@StreamDescriptionSummary' {} a -> s {enhancedMonitoring = a} :: StreamDescriptionSummary) Prelude.. Lens.coerced++-- | The number of open shards in the stream.+streamDescriptionSummary_openShardCount :: Lens.Lens' StreamDescriptionSummary Prelude.Natural+streamDescriptionSummary_openShardCount = Lens.lens (\StreamDescriptionSummary' {openShardCount} -> openShardCount) (\s@StreamDescriptionSummary' {} a -> s {openShardCount = a} :: StreamDescriptionSummary)++instance Data.FromJSON StreamDescriptionSummary where+ parseJSON =+ Data.withObject+ "StreamDescriptionSummary"+ ( \x ->+ StreamDescriptionSummary'+ Prelude.<$> (x Data..:? "ConsumerCount")+ Prelude.<*> (x Data..:? "EncryptionType")+ Prelude.<*> (x Data..:? "KeyId")+ Prelude.<*> (x Data..:? "StreamModeDetails")+ Prelude.<*> (x Data..: "StreamName")+ Prelude.<*> (x Data..: "StreamARN")+ Prelude.<*> (x Data..: "StreamStatus")+ Prelude.<*> (x Data..: "RetentionPeriodHours")+ Prelude.<*> (x Data..: "StreamCreationTimestamp")+ Prelude.<*> ( x+ Data..:? "EnhancedMonitoring"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..: "OpenShardCount")+ )++instance Prelude.Hashable StreamDescriptionSummary where+ hashWithSalt _salt StreamDescriptionSummary' {..} =+ _salt+ `Prelude.hashWithSalt` consumerCount+ `Prelude.hashWithSalt` encryptionType+ `Prelude.hashWithSalt` keyId+ `Prelude.hashWithSalt` streamModeDetails+ `Prelude.hashWithSalt` streamName+ `Prelude.hashWithSalt` streamARN+ `Prelude.hashWithSalt` streamStatus+ `Prelude.hashWithSalt` retentionPeriodHours+ `Prelude.hashWithSalt` streamCreationTimestamp+ `Prelude.hashWithSalt` enhancedMonitoring+ `Prelude.hashWithSalt` openShardCount++instance Prelude.NFData StreamDescriptionSummary where+ rnf StreamDescriptionSummary' {..} =+ Prelude.rnf consumerCount+ `Prelude.seq` Prelude.rnf encryptionType+ `Prelude.seq` Prelude.rnf keyId+ `Prelude.seq` Prelude.rnf streamModeDetails+ `Prelude.seq` Prelude.rnf streamName+ `Prelude.seq` Prelude.rnf streamARN+ `Prelude.seq` Prelude.rnf streamStatus+ `Prelude.seq` Prelude.rnf retentionPeriodHours+ `Prelude.seq` Prelude.rnf streamCreationTimestamp+ `Prelude.seq` Prelude.rnf enhancedMonitoring+ `Prelude.seq` Prelude.rnf openShardCount
+ gen/Amazonka/Kinesis/Types/StreamMode.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Types.StreamMode+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Types.StreamMode+ ( StreamMode+ ( ..,+ StreamMode_ON_DEMAND,+ StreamMode_PROVISIONED+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype StreamMode = StreamMode'+ { fromStreamMode ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern StreamMode_ON_DEMAND :: StreamMode+pattern StreamMode_ON_DEMAND = StreamMode' "ON_DEMAND"++pattern StreamMode_PROVISIONED :: StreamMode+pattern StreamMode_PROVISIONED = StreamMode' "PROVISIONED"++{-# COMPLETE+ StreamMode_ON_DEMAND,+ StreamMode_PROVISIONED,+ StreamMode'+ #-}
+ gen/Amazonka/Kinesis/Types/StreamModeDetails.hs view
@@ -0,0 +1,90 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Types.StreamModeDetails+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Types.StreamModeDetails where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types.StreamMode+import qualified Amazonka.Prelude as Prelude++-- | Specifies the capacity mode to which you want to set your data stream.+-- Currently, in Kinesis Data Streams, you can choose between an+-- __on-demand__ capacity mode and a __provisioned__ capacity mode for your+-- data streams.+--+-- /See:/ 'newStreamModeDetails' smart constructor.+data StreamModeDetails = StreamModeDetails'+ { -- | Specifies the capacity mode to which you want to set your data stream.+ -- Currently, in Kinesis Data Streams, you can choose between an+ -- __on-demand__ capacity mode and a __provisioned__ capacity mode for your+ -- data streams.+ streamMode :: StreamMode+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StreamModeDetails' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'streamMode', 'streamModeDetails_streamMode' - Specifies the capacity mode to which you want to set your data stream.+-- Currently, in Kinesis Data Streams, you can choose between an+-- __on-demand__ capacity mode and a __provisioned__ capacity mode for your+-- data streams.+newStreamModeDetails ::+ -- | 'streamMode'+ StreamMode ->+ StreamModeDetails+newStreamModeDetails pStreamMode_ =+ StreamModeDetails' {streamMode = pStreamMode_}++-- | Specifies the capacity mode to which you want to set your data stream.+-- Currently, in Kinesis Data Streams, you can choose between an+-- __on-demand__ capacity mode and a __provisioned__ capacity mode for your+-- data streams.+streamModeDetails_streamMode :: Lens.Lens' StreamModeDetails StreamMode+streamModeDetails_streamMode = Lens.lens (\StreamModeDetails' {streamMode} -> streamMode) (\s@StreamModeDetails' {} a -> s {streamMode = a} :: StreamModeDetails)++instance Data.FromJSON StreamModeDetails where+ parseJSON =+ Data.withObject+ "StreamModeDetails"+ ( \x ->+ StreamModeDetails'+ Prelude.<$> (x Data..: "StreamMode")+ )++instance Prelude.Hashable StreamModeDetails where+ hashWithSalt _salt StreamModeDetails' {..} =+ _salt `Prelude.hashWithSalt` streamMode++instance Prelude.NFData StreamModeDetails where+ rnf StreamModeDetails' {..} = Prelude.rnf streamMode++instance Data.ToJSON StreamModeDetails where+ toJSON StreamModeDetails' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("StreamMode" Data..= streamMode)]+ )
+ gen/Amazonka/Kinesis/Types/StreamStatus.hs view
@@ -0,0 +1,81 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Types.StreamStatus+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Types.StreamStatus+ ( StreamStatus+ ( ..,+ StreamStatus_ACTIVE,+ StreamStatus_CREATING,+ StreamStatus_DELETING,+ StreamStatus_UPDATING+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype StreamStatus = StreamStatus'+ { fromStreamStatus ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern StreamStatus_ACTIVE :: StreamStatus+pattern StreamStatus_ACTIVE = StreamStatus' "ACTIVE"++pattern StreamStatus_CREATING :: StreamStatus+pattern StreamStatus_CREATING = StreamStatus' "CREATING"++pattern StreamStatus_DELETING :: StreamStatus+pattern StreamStatus_DELETING = StreamStatus' "DELETING"++pattern StreamStatus_UPDATING :: StreamStatus+pattern StreamStatus_UPDATING = StreamStatus' "UPDATING"++{-# COMPLETE+ StreamStatus_ACTIVE,+ StreamStatus_CREATING,+ StreamStatus_DELETING,+ StreamStatus_UPDATING,+ StreamStatus'+ #-}
+ gen/Amazonka/Kinesis/Types/StreamSummary.hs view
@@ -0,0 +1,131 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Types.StreamSummary+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Types.StreamSummary where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types.StreamModeDetails+import Amazonka.Kinesis.Types.StreamStatus+import qualified Amazonka.Prelude as Prelude++-- | The summary of a stream.+--+-- /See:/ 'newStreamSummary' smart constructor.+data StreamSummary = StreamSummary'+ { -- | The timestamp at which the stream was created.+ streamCreationTimestamp :: Prelude.Maybe Data.POSIX,+ streamModeDetails :: Prelude.Maybe StreamModeDetails,+ -- | The name of a stream.+ streamName :: Prelude.Text,+ -- | The ARN of the stream.+ streamARN :: Prelude.Text,+ -- | The status of the stream.+ streamStatus :: StreamStatus+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StreamSummary' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'streamCreationTimestamp', 'streamSummary_streamCreationTimestamp' - The timestamp at which the stream was created.+--+-- 'streamModeDetails', 'streamSummary_streamModeDetails' - Undocumented member.+--+-- 'streamName', 'streamSummary_streamName' - The name of a stream.+--+-- 'streamARN', 'streamSummary_streamARN' - The ARN of the stream.+--+-- 'streamStatus', 'streamSummary_streamStatus' - The status of the stream.+newStreamSummary ::+ -- | 'streamName'+ Prelude.Text ->+ -- | 'streamARN'+ Prelude.Text ->+ -- | 'streamStatus'+ StreamStatus ->+ StreamSummary+newStreamSummary+ pStreamName_+ pStreamARN_+ pStreamStatus_ =+ StreamSummary'+ { streamCreationTimestamp =+ Prelude.Nothing,+ streamModeDetails = Prelude.Nothing,+ streamName = pStreamName_,+ streamARN = pStreamARN_,+ streamStatus = pStreamStatus_+ }++-- | The timestamp at which the stream was created.+streamSummary_streamCreationTimestamp :: Lens.Lens' StreamSummary (Prelude.Maybe Prelude.UTCTime)+streamSummary_streamCreationTimestamp = Lens.lens (\StreamSummary' {streamCreationTimestamp} -> streamCreationTimestamp) (\s@StreamSummary' {} a -> s {streamCreationTimestamp = a} :: StreamSummary) Prelude.. Lens.mapping Data._Time++-- | Undocumented member.+streamSummary_streamModeDetails :: Lens.Lens' StreamSummary (Prelude.Maybe StreamModeDetails)+streamSummary_streamModeDetails = Lens.lens (\StreamSummary' {streamModeDetails} -> streamModeDetails) (\s@StreamSummary' {} a -> s {streamModeDetails = a} :: StreamSummary)++-- | The name of a stream.+streamSummary_streamName :: Lens.Lens' StreamSummary Prelude.Text+streamSummary_streamName = Lens.lens (\StreamSummary' {streamName} -> streamName) (\s@StreamSummary' {} a -> s {streamName = a} :: StreamSummary)++-- | The ARN of the stream.+streamSummary_streamARN :: Lens.Lens' StreamSummary Prelude.Text+streamSummary_streamARN = Lens.lens (\StreamSummary' {streamARN} -> streamARN) (\s@StreamSummary' {} a -> s {streamARN = a} :: StreamSummary)++-- | The status of the stream.+streamSummary_streamStatus :: Lens.Lens' StreamSummary StreamStatus+streamSummary_streamStatus = Lens.lens (\StreamSummary' {streamStatus} -> streamStatus) (\s@StreamSummary' {} a -> s {streamStatus = a} :: StreamSummary)++instance Data.FromJSON StreamSummary where+ parseJSON =+ Data.withObject+ "StreamSummary"+ ( \x ->+ StreamSummary'+ Prelude.<$> (x Data..:? "StreamCreationTimestamp")+ Prelude.<*> (x Data..:? "StreamModeDetails")+ Prelude.<*> (x Data..: "StreamName")+ Prelude.<*> (x Data..: "StreamARN")+ Prelude.<*> (x Data..: "StreamStatus")+ )++instance Prelude.Hashable StreamSummary where+ hashWithSalt _salt StreamSummary' {..} =+ _salt+ `Prelude.hashWithSalt` streamCreationTimestamp+ `Prelude.hashWithSalt` streamModeDetails+ `Prelude.hashWithSalt` streamName+ `Prelude.hashWithSalt` streamARN+ `Prelude.hashWithSalt` streamStatus++instance Prelude.NFData StreamSummary where+ rnf StreamSummary' {..} =+ Prelude.rnf streamCreationTimestamp+ `Prelude.seq` Prelude.rnf streamModeDetails+ `Prelude.seq` Prelude.rnf streamName+ `Prelude.seq` Prelude.rnf streamARN+ `Prelude.seq` Prelude.rnf streamStatus
+ gen/Amazonka/Kinesis/Types/SubscribeToShardEvent.hs view
@@ -0,0 +1,141 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Types.SubscribeToShardEvent+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Types.SubscribeToShardEvent where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types.ChildShard+import Amazonka.Kinesis.Types.Record+import qualified Amazonka.Prelude as Prelude++-- | After you call SubscribeToShard, Kinesis Data Streams sends events of+-- this type over an HTTP\/2 connection to your consumer.+--+-- /See:/ 'newSubscribeToShardEvent' smart constructor.+data SubscribeToShardEvent = SubscribeToShardEvent'+ { -- | The list of the child shards of the current shard, returned only at the+ -- end of the current shard.+ childShards :: Prelude.Maybe [ChildShard],+ records :: [Record],+ -- | Use this as @SequenceNumber@ in the next call to SubscribeToShard, with+ -- @StartingPosition@ set to @AT_SEQUENCE_NUMBER@ or+ -- @AFTER_SEQUENCE_NUMBER@. Use @ContinuationSequenceNumber@ for+ -- checkpointing because it captures your shard progress even when no data+ -- is written to the shard.+ continuationSequenceNumber :: Prelude.Text,+ -- | The number of milliseconds the read records are from the tip of the+ -- stream, indicating how far behind current time the consumer is. A value+ -- of zero indicates that record processing is caught up, and there are no+ -- new records to process at this moment.+ millisBehindLatest :: Prelude.Natural+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SubscribeToShardEvent' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'childShards', 'subscribeToShardEvent_childShards' - The list of the child shards of the current shard, returned only at the+-- end of the current shard.+--+-- 'records', 'subscribeToShardEvent_records' -+--+-- 'continuationSequenceNumber', 'subscribeToShardEvent_continuationSequenceNumber' - Use this as @SequenceNumber@ in the next call to SubscribeToShard, with+-- @StartingPosition@ set to @AT_SEQUENCE_NUMBER@ or+-- @AFTER_SEQUENCE_NUMBER@. Use @ContinuationSequenceNumber@ for+-- checkpointing because it captures your shard progress even when no data+-- is written to the shard.+--+-- 'millisBehindLatest', 'subscribeToShardEvent_millisBehindLatest' - The number of milliseconds the read records are from the tip of the+-- stream, indicating how far behind current time the consumer is. A value+-- of zero indicates that record processing is caught up, and there are no+-- new records to process at this moment.+newSubscribeToShardEvent ::+ -- | 'continuationSequenceNumber'+ Prelude.Text ->+ -- | 'millisBehindLatest'+ Prelude.Natural ->+ SubscribeToShardEvent+newSubscribeToShardEvent+ pContinuationSequenceNumber_+ pMillisBehindLatest_ =+ SubscribeToShardEvent'+ { childShards =+ Prelude.Nothing,+ records = Prelude.mempty,+ continuationSequenceNumber =+ pContinuationSequenceNumber_,+ millisBehindLatest = pMillisBehindLatest_+ }++-- | The list of the child shards of the current shard, returned only at the+-- end of the current shard.+subscribeToShardEvent_childShards :: Lens.Lens' SubscribeToShardEvent (Prelude.Maybe [ChildShard])+subscribeToShardEvent_childShards = Lens.lens (\SubscribeToShardEvent' {childShards} -> childShards) (\s@SubscribeToShardEvent' {} a -> s {childShards = a} :: SubscribeToShardEvent) Prelude.. Lens.mapping Lens.coerced++subscribeToShardEvent_records :: Lens.Lens' SubscribeToShardEvent [Record]+subscribeToShardEvent_records = Lens.lens (\SubscribeToShardEvent' {records} -> records) (\s@SubscribeToShardEvent' {} a -> s {records = a} :: SubscribeToShardEvent) Prelude.. Lens.coerced++-- | Use this as @SequenceNumber@ in the next call to SubscribeToShard, with+-- @StartingPosition@ set to @AT_SEQUENCE_NUMBER@ or+-- @AFTER_SEQUENCE_NUMBER@. Use @ContinuationSequenceNumber@ for+-- checkpointing because it captures your shard progress even when no data+-- is written to the shard.+subscribeToShardEvent_continuationSequenceNumber :: Lens.Lens' SubscribeToShardEvent Prelude.Text+subscribeToShardEvent_continuationSequenceNumber = Lens.lens (\SubscribeToShardEvent' {continuationSequenceNumber} -> continuationSequenceNumber) (\s@SubscribeToShardEvent' {} a -> s {continuationSequenceNumber = a} :: SubscribeToShardEvent)++-- | The number of milliseconds the read records are from the tip of the+-- stream, indicating how far behind current time the consumer is. A value+-- of zero indicates that record processing is caught up, and there are no+-- new records to process at this moment.+subscribeToShardEvent_millisBehindLatest :: Lens.Lens' SubscribeToShardEvent Prelude.Natural+subscribeToShardEvent_millisBehindLatest = Lens.lens (\SubscribeToShardEvent' {millisBehindLatest} -> millisBehindLatest) (\s@SubscribeToShardEvent' {} a -> s {millisBehindLatest = a} :: SubscribeToShardEvent)++instance Data.FromJSON SubscribeToShardEvent where+ parseJSON =+ Data.withObject+ "SubscribeToShardEvent"+ ( \x ->+ SubscribeToShardEvent'+ Prelude.<$> (x Data..:? "ChildShards" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "Records" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..: "ContinuationSequenceNumber")+ Prelude.<*> (x Data..: "MillisBehindLatest")+ )++instance Prelude.Hashable SubscribeToShardEvent where+ hashWithSalt _salt SubscribeToShardEvent' {..} =+ _salt+ `Prelude.hashWithSalt` childShards+ `Prelude.hashWithSalt` records+ `Prelude.hashWithSalt` continuationSequenceNumber+ `Prelude.hashWithSalt` millisBehindLatest++instance Prelude.NFData SubscribeToShardEvent where+ rnf SubscribeToShardEvent' {..} =+ Prelude.rnf childShards+ `Prelude.seq` Prelude.rnf records+ `Prelude.seq` Prelude.rnf continuationSequenceNumber+ `Prelude.seq` Prelude.rnf millisBehindLatest
+ gen/Amazonka/Kinesis/Types/Tag.hs view
@@ -0,0 +1,91 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Types.Tag+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Types.Tag where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Metadata assigned to the stream, consisting of a key-value pair.+--+-- /See:/ 'newTag' smart constructor.+data Tag = Tag'+ { -- | An optional string, typically used to describe or define the tag.+ -- Maximum length: 256 characters. Valid characters: Unicode letters,+ -- digits, white space, _ . \/ = + - % \@+ value :: Prelude.Maybe Prelude.Text,+ -- | A unique identifier for the tag. Maximum length: 128 characters. Valid+ -- characters: Unicode letters, digits, white space, _ . \/ = + - % \@+ key :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Tag' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'value', 'tag_value' - An optional string, typically used to describe or define the tag.+-- Maximum length: 256 characters. Valid characters: Unicode letters,+-- digits, white space, _ . \/ = + - % \@+--+-- 'key', 'tag_key' - A unique identifier for the tag. Maximum length: 128 characters. Valid+-- characters: Unicode letters, digits, white space, _ . \/ = + - % \@+newTag ::+ -- | 'key'+ Prelude.Text ->+ Tag+newTag pKey_ =+ Tag' {value = Prelude.Nothing, key = pKey_}++-- | An optional string, typically used to describe or define the tag.+-- Maximum length: 256 characters. Valid characters: Unicode letters,+-- digits, white space, _ . \/ = + - % \@+tag_value :: Lens.Lens' Tag (Prelude.Maybe Prelude.Text)+tag_value = Lens.lens (\Tag' {value} -> value) (\s@Tag' {} a -> s {value = a} :: Tag)++-- | A unique identifier for the tag. Maximum length: 128 characters. Valid+-- characters: Unicode letters, digits, white space, _ . \/ = + - % \@+tag_key :: Lens.Lens' Tag Prelude.Text+tag_key = Lens.lens (\Tag' {key} -> key) (\s@Tag' {} a -> s {key = a} :: Tag)++instance Data.FromJSON Tag where+ parseJSON =+ Data.withObject+ "Tag"+ ( \x ->+ Tag'+ Prelude.<$> (x Data..:? "Value")+ Prelude.<*> (x Data..: "Key")+ )++instance Prelude.Hashable Tag where+ hashWithSalt _salt Tag' {..} =+ _salt+ `Prelude.hashWithSalt` value+ `Prelude.hashWithSalt` key++instance Prelude.NFData Tag where+ rnf Tag' {..} =+ Prelude.rnf value `Prelude.seq` Prelude.rnf key
+ gen/Amazonka/Kinesis/UpdateShardCount.hs view
@@ -0,0 +1,337 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.UpdateShardCount+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the shard count of the specified stream to the specified number+-- of shards. This API is only supported for the data streams with the+-- provisioned capacity mode.+--+-- When invoking this API, it is recommended you use the @StreamARN@ input+-- parameter rather than the @StreamName@ input parameter.+--+-- Updating the shard count is an asynchronous operation. Upon receiving+-- the request, Kinesis Data Streams returns immediately and sets the+-- status of the stream to @UPDATING@. After the update is complete,+-- Kinesis Data Streams sets the status of the stream back to @ACTIVE@.+-- Depending on the size of the stream, the scaling action could take a few+-- minutes to complete. You can continue to read and write data to your+-- stream while its status is @UPDATING@.+--+-- To update the shard count, Kinesis Data Streams performs splits or+-- merges on individual shards. This can cause short-lived shards to be+-- created, in addition to the final shards. These short-lived shards count+-- towards your total shard limit for your account in the Region.+--+-- When using this operation, we recommend that you specify a target shard+-- count that is a multiple of 25% (25%, 50%, 75%, 100%). You can specify+-- any target value within your shard limit. However, if you specify a+-- target that isn\'t a multiple of 25%, the scaling action might take+-- longer to complete.+--+-- This operation has the following default limits. By default, you cannot+-- do the following:+--+-- - Scale more than ten times per rolling 24-hour period per stream+--+-- - Scale up to more than double your current shard count for a stream+--+-- - Scale down below half your current shard count for a stream+--+-- - Scale up to more than 10000 shards in a stream+--+-- - Scale a stream with more than 10000 shards down unless the result is+-- less than 10000 shards+--+-- - Scale up to more than the shard limit for your account+--+-- For the default limits for an Amazon Web Services account, see+-- <https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html Streams Limits>+-- in the /Amazon Kinesis Data Streams Developer Guide/. To request an+-- increase in the call rate limit, the shard limit for this API, or your+-- overall shard limit, use the+-- <https://console.aws.amazon.com/support/v1#/case/create?issueType=service-limit-increase&limitType=service-code-kinesis limits form>.+module Amazonka.Kinesis.UpdateShardCount+ ( -- * Creating a Request+ UpdateShardCount (..),+ newUpdateShardCount,++ -- * Request Lenses+ updateShardCount_streamARN,+ updateShardCount_streamName,+ updateShardCount_targetShardCount,+ updateShardCount_scalingType,++ -- * Destructuring the Response+ UpdateShardCountResponse (..),+ newUpdateShardCountResponse,++ -- * Response Lenses+ updateShardCountResponse_currentShardCount,+ updateShardCountResponse_streamARN,+ updateShardCountResponse_streamName,+ updateShardCountResponse_targetShardCount,+ updateShardCountResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateShardCount' smart constructor.+data UpdateShardCount = UpdateShardCount'+ { -- | The ARN of the stream.+ streamARN :: Prelude.Maybe Prelude.Text,+ -- | The name of the stream.+ streamName :: Prelude.Maybe Prelude.Text,+ -- | The new number of shards. This value has the following default limits.+ -- By default, you cannot do the following:+ --+ -- - Set this value to more than double your current shard count for a+ -- stream.+ --+ -- - Set this value below half your current shard count for a stream.+ --+ -- - Set this value to more than 10000 shards in a stream (the default+ -- limit for shard count per stream is 10000 per account per region),+ -- unless you request a limit increase.+ --+ -- - Scale a stream with more than 10000 shards down unless you set this+ -- value to less than 10000 shards.+ targetShardCount :: Prelude.Natural,+ -- | The scaling type. Uniform scaling creates shards of equal size.+ scalingType :: ScalingType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateShardCount' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'streamARN', 'updateShardCount_streamARN' - The ARN of the stream.+--+-- 'streamName', 'updateShardCount_streamName' - The name of the stream.+--+-- 'targetShardCount', 'updateShardCount_targetShardCount' - The new number of shards. This value has the following default limits.+-- By default, you cannot do the following:+--+-- - Set this value to more than double your current shard count for a+-- stream.+--+-- - Set this value below half your current shard count for a stream.+--+-- - Set this value to more than 10000 shards in a stream (the default+-- limit for shard count per stream is 10000 per account per region),+-- unless you request a limit increase.+--+-- - Scale a stream with more than 10000 shards down unless you set this+-- value to less than 10000 shards.+--+-- 'scalingType', 'updateShardCount_scalingType' - The scaling type. Uniform scaling creates shards of equal size.+newUpdateShardCount ::+ -- | 'targetShardCount'+ Prelude.Natural ->+ -- | 'scalingType'+ ScalingType ->+ UpdateShardCount+newUpdateShardCount pTargetShardCount_ pScalingType_ =+ UpdateShardCount'+ { streamARN = Prelude.Nothing,+ streamName = Prelude.Nothing,+ targetShardCount = pTargetShardCount_,+ scalingType = pScalingType_+ }++-- | The ARN of the stream.+updateShardCount_streamARN :: Lens.Lens' UpdateShardCount (Prelude.Maybe Prelude.Text)+updateShardCount_streamARN = Lens.lens (\UpdateShardCount' {streamARN} -> streamARN) (\s@UpdateShardCount' {} a -> s {streamARN = a} :: UpdateShardCount)++-- | The name of the stream.+updateShardCount_streamName :: Lens.Lens' UpdateShardCount (Prelude.Maybe Prelude.Text)+updateShardCount_streamName = Lens.lens (\UpdateShardCount' {streamName} -> streamName) (\s@UpdateShardCount' {} a -> s {streamName = a} :: UpdateShardCount)++-- | The new number of shards. This value has the following default limits.+-- By default, you cannot do the following:+--+-- - Set this value to more than double your current shard count for a+-- stream.+--+-- - Set this value below half your current shard count for a stream.+--+-- - Set this value to more than 10000 shards in a stream (the default+-- limit for shard count per stream is 10000 per account per region),+-- unless you request a limit increase.+--+-- - Scale a stream with more than 10000 shards down unless you set this+-- value to less than 10000 shards.+updateShardCount_targetShardCount :: Lens.Lens' UpdateShardCount Prelude.Natural+updateShardCount_targetShardCount = Lens.lens (\UpdateShardCount' {targetShardCount} -> targetShardCount) (\s@UpdateShardCount' {} a -> s {targetShardCount = a} :: UpdateShardCount)++-- | The scaling type. Uniform scaling creates shards of equal size.+updateShardCount_scalingType :: Lens.Lens' UpdateShardCount ScalingType+updateShardCount_scalingType = Lens.lens (\UpdateShardCount' {scalingType} -> scalingType) (\s@UpdateShardCount' {} a -> s {scalingType = a} :: UpdateShardCount)++instance Core.AWSRequest UpdateShardCount where+ type+ AWSResponse UpdateShardCount =+ UpdateShardCountResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ UpdateShardCountResponse'+ Prelude.<$> (x Data..?> "CurrentShardCount")+ Prelude.<*> (x Data..?> "StreamARN")+ Prelude.<*> (x Data..?> "StreamName")+ Prelude.<*> (x Data..?> "TargetShardCount")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateShardCount where+ hashWithSalt _salt UpdateShardCount' {..} =+ _salt+ `Prelude.hashWithSalt` streamARN+ `Prelude.hashWithSalt` streamName+ `Prelude.hashWithSalt` targetShardCount+ `Prelude.hashWithSalt` scalingType++instance Prelude.NFData UpdateShardCount where+ rnf UpdateShardCount' {..} =+ Prelude.rnf streamARN+ `Prelude.seq` Prelude.rnf streamName+ `Prelude.seq` Prelude.rnf targetShardCount+ `Prelude.seq` Prelude.rnf scalingType++instance Data.ToHeaders UpdateShardCount where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "Kinesis_20131202.UpdateShardCount" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateShardCount where+ toJSON UpdateShardCount' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("StreamARN" Data..=) Prelude.<$> streamARN,+ ("StreamName" Data..=) Prelude.<$> streamName,+ Prelude.Just+ ("TargetShardCount" Data..= targetShardCount),+ Prelude.Just ("ScalingType" Data..= scalingType)+ ]+ )++instance Data.ToPath UpdateShardCount where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateShardCount where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateShardCountResponse' smart constructor.+data UpdateShardCountResponse = UpdateShardCountResponse'+ { -- | The current number of shards.+ currentShardCount :: Prelude.Maybe Prelude.Natural,+ -- | The ARN of the stream.+ streamARN :: Prelude.Maybe Prelude.Text,+ -- | The name of the stream.+ streamName :: Prelude.Maybe Prelude.Text,+ -- | The updated number of shards.+ targetShardCount :: Prelude.Maybe Prelude.Natural,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateShardCountResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'currentShardCount', 'updateShardCountResponse_currentShardCount' - The current number of shards.+--+-- 'streamARN', 'updateShardCountResponse_streamARN' - The ARN of the stream.+--+-- 'streamName', 'updateShardCountResponse_streamName' - The name of the stream.+--+-- 'targetShardCount', 'updateShardCountResponse_targetShardCount' - The updated number of shards.+--+-- 'httpStatus', 'updateShardCountResponse_httpStatus' - The response's http status code.+newUpdateShardCountResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateShardCountResponse+newUpdateShardCountResponse pHttpStatus_ =+ UpdateShardCountResponse'+ { currentShardCount =+ Prelude.Nothing,+ streamARN = Prelude.Nothing,+ streamName = Prelude.Nothing,+ targetShardCount = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The current number of shards.+updateShardCountResponse_currentShardCount :: Lens.Lens' UpdateShardCountResponse (Prelude.Maybe Prelude.Natural)+updateShardCountResponse_currentShardCount = Lens.lens (\UpdateShardCountResponse' {currentShardCount} -> currentShardCount) (\s@UpdateShardCountResponse' {} a -> s {currentShardCount = a} :: UpdateShardCountResponse)++-- | The ARN of the stream.+updateShardCountResponse_streamARN :: Lens.Lens' UpdateShardCountResponse (Prelude.Maybe Prelude.Text)+updateShardCountResponse_streamARN = Lens.lens (\UpdateShardCountResponse' {streamARN} -> streamARN) (\s@UpdateShardCountResponse' {} a -> s {streamARN = a} :: UpdateShardCountResponse)++-- | The name of the stream.+updateShardCountResponse_streamName :: Lens.Lens' UpdateShardCountResponse (Prelude.Maybe Prelude.Text)+updateShardCountResponse_streamName = Lens.lens (\UpdateShardCountResponse' {streamName} -> streamName) (\s@UpdateShardCountResponse' {} a -> s {streamName = a} :: UpdateShardCountResponse)++-- | The updated number of shards.+updateShardCountResponse_targetShardCount :: Lens.Lens' UpdateShardCountResponse (Prelude.Maybe Prelude.Natural)+updateShardCountResponse_targetShardCount = Lens.lens (\UpdateShardCountResponse' {targetShardCount} -> targetShardCount) (\s@UpdateShardCountResponse' {} a -> s {targetShardCount = a} :: UpdateShardCountResponse)++-- | The response's http status code.+updateShardCountResponse_httpStatus :: Lens.Lens' UpdateShardCountResponse Prelude.Int+updateShardCountResponse_httpStatus = Lens.lens (\UpdateShardCountResponse' {httpStatus} -> httpStatus) (\s@UpdateShardCountResponse' {} a -> s {httpStatus = a} :: UpdateShardCountResponse)++instance Prelude.NFData UpdateShardCountResponse where+ rnf UpdateShardCountResponse' {..} =+ Prelude.rnf currentShardCount+ `Prelude.seq` Prelude.rnf streamARN+ `Prelude.seq` Prelude.rnf streamName+ `Prelude.seq` Prelude.rnf targetShardCount+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Kinesis/UpdateStreamMode.hs view
@@ -0,0 +1,168 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.UpdateStreamMode+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the capacity mode of the data stream. Currently, in Kinesis Data+-- Streams, you can choose between an __on-demand__ capacity mode and a+-- __provisioned__ capacity mode for your data stream.+module Amazonka.Kinesis.UpdateStreamMode+ ( -- * Creating a Request+ UpdateStreamMode (..),+ newUpdateStreamMode,++ -- * Request Lenses+ updateStreamMode_streamARN,+ updateStreamMode_streamModeDetails,++ -- * Destructuring the Response+ UpdateStreamModeResponse (..),+ newUpdateStreamModeResponse,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateStreamMode' smart constructor.+data UpdateStreamMode = UpdateStreamMode'+ { -- | Specifies the ARN of the data stream whose capacity mode you want to+ -- update.+ streamARN :: Prelude.Text,+ -- | Specifies the capacity mode to which you want to set your data stream.+ -- Currently, in Kinesis Data Streams, you can choose between an+ -- __on-demand__ capacity mode and a __provisioned__ capacity mode for your+ -- data streams.+ streamModeDetails :: StreamModeDetails+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateStreamMode' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'streamARN', 'updateStreamMode_streamARN' - Specifies the ARN of the data stream whose capacity mode you want to+-- update.+--+-- 'streamModeDetails', 'updateStreamMode_streamModeDetails' - Specifies the capacity mode to which you want to set your data stream.+-- Currently, in Kinesis Data Streams, you can choose between an+-- __on-demand__ capacity mode and a __provisioned__ capacity mode for your+-- data streams.+newUpdateStreamMode ::+ -- | 'streamARN'+ Prelude.Text ->+ -- | 'streamModeDetails'+ StreamModeDetails ->+ UpdateStreamMode+newUpdateStreamMode pStreamARN_ pStreamModeDetails_ =+ UpdateStreamMode'+ { streamARN = pStreamARN_,+ streamModeDetails = pStreamModeDetails_+ }++-- | Specifies the ARN of the data stream whose capacity mode you want to+-- update.+updateStreamMode_streamARN :: Lens.Lens' UpdateStreamMode Prelude.Text+updateStreamMode_streamARN = Lens.lens (\UpdateStreamMode' {streamARN} -> streamARN) (\s@UpdateStreamMode' {} a -> s {streamARN = a} :: UpdateStreamMode)++-- | Specifies the capacity mode to which you want to set your data stream.+-- Currently, in Kinesis Data Streams, you can choose between an+-- __on-demand__ capacity mode and a __provisioned__ capacity mode for your+-- data streams.+updateStreamMode_streamModeDetails :: Lens.Lens' UpdateStreamMode StreamModeDetails+updateStreamMode_streamModeDetails = Lens.lens (\UpdateStreamMode' {streamModeDetails} -> streamModeDetails) (\s@UpdateStreamMode' {} a -> s {streamModeDetails = a} :: UpdateStreamMode)++instance Core.AWSRequest UpdateStreamMode where+ type+ AWSResponse UpdateStreamMode =+ UpdateStreamModeResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveNull UpdateStreamModeResponse'++instance Prelude.Hashable UpdateStreamMode where+ hashWithSalt _salt UpdateStreamMode' {..} =+ _salt+ `Prelude.hashWithSalt` streamARN+ `Prelude.hashWithSalt` streamModeDetails++instance Prelude.NFData UpdateStreamMode where+ rnf UpdateStreamMode' {..} =+ Prelude.rnf streamARN+ `Prelude.seq` Prelude.rnf streamModeDetails++instance Data.ToHeaders UpdateStreamMode where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "Kinesis_20131202.UpdateStreamMode" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateStreamMode where+ toJSON UpdateStreamMode' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("StreamARN" Data..= streamARN),+ Prelude.Just+ ("StreamModeDetails" Data..= streamModeDetails)+ ]+ )++instance Data.ToPath UpdateStreamMode where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateStreamMode where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateStreamModeResponse' smart constructor.+data UpdateStreamModeResponse = UpdateStreamModeResponse'+ {+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateStreamModeResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newUpdateStreamModeResponse ::+ UpdateStreamModeResponse+newUpdateStreamModeResponse =+ UpdateStreamModeResponse'++instance Prelude.NFData UpdateStreamModeResponse where+ rnf _ = ()
+ gen/Amazonka/Kinesis/Waiters.hs view
@@ -0,0 +1,57 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Kinesis.Waiters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Kinesis.Waiters where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.Kinesis.DescribeStream+import Amazonka.Kinesis.Lens+import Amazonka.Kinesis.Types+import qualified Amazonka.Prelude as Prelude++-- | Polls 'Amazonka.Kinesis.DescribeStream' every 10 seconds until a successful state is reached. An error is returned after 18 failed checks.+newStreamExists :: Core.Wait DescribeStream+newStreamExists =+ Core.Wait+ { Core.name = "StreamExists",+ Core.attempts = 18,+ Core.delay = 10,+ Core.acceptors =+ [ Core.matchAll+ "ACTIVE"+ Core.AcceptSuccess+ ( describeStreamResponse_streamDescription+ Prelude.. streamDescription_streamStatus+ Prelude.. Lens.to Data.toTextCI+ )+ ]+ }++-- | Polls 'Amazonka.Kinesis.DescribeStream' every 10 seconds until a successful state is reached. An error is returned after 18 failed checks.+newStreamNotExists :: Core.Wait DescribeStream+newStreamNotExists =+ Core.Wait+ { Core.name = "StreamNotExists",+ Core.attempts = 18,+ Core.delay = 10,+ Core.acceptors =+ [ Core.matchError+ "ResourceNotFoundException"+ Core.AcceptSuccess+ ]+ }
− gen/Network/AWS/Kinesis.hs
@@ -1,308 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Kinesis--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ __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.----module Network.AWS.Kinesis- (- -- * Service Configuration- kinesis-- -- * Errors- -- $errors-- -- ** KMSInvalidStateException- , _KMSInvalidStateException-- -- ** KMSThrottlingException- , _KMSThrottlingException-- -- ** ExpiredIteratorException- , _ExpiredIteratorException-- -- ** InvalidArgumentException- , _InvalidArgumentException-- -- ** KMSOptInRequired- , _KMSOptInRequired-- -- ** ProvisionedThroughputExceededException- , _ProvisionedThroughputExceededException-- -- ** KMSNotFoundException- , _KMSNotFoundException-- -- ** ExpiredNextTokenException- , _ExpiredNextTokenException-- -- ** KMSDisabledException- , _KMSDisabledException-- -- ** ResourceNotFoundException- , _ResourceNotFoundException-- -- ** KMSAccessDeniedException- , _KMSAccessDeniedException-- -- ** LimitExceededException- , _LimitExceededException-- -- ** ResourceInUseException- , _ResourceInUseException-- -- * Waiters- -- $waiters-- -- ** StreamExists- , streamExists-- -- ** StreamNotExists- , streamNotExists-- -- * Operations- -- $operations-- -- ** PutRecord- , module Network.AWS.Kinesis.PutRecord-- -- ** DecreaseStreamRetentionPeriod- , module Network.AWS.Kinesis.DecreaseStreamRetentionPeriod-- -- ** MergeShards- , module Network.AWS.Kinesis.MergeShards-- -- ** DescribeStreamSummary- , module Network.AWS.Kinesis.DescribeStreamSummary-- -- ** GetShardIterator- , module Network.AWS.Kinesis.GetShardIterator-- -- ** GetRecords- , module Network.AWS.Kinesis.GetRecords-- -- ** StopStreamEncryption- , module Network.AWS.Kinesis.StopStreamEncryption-- -- ** EnableEnhancedMonitoring- , module Network.AWS.Kinesis.EnableEnhancedMonitoring-- -- ** DescribeLimits- , module Network.AWS.Kinesis.DescribeLimits-- -- ** DisableEnhancedMonitoring- , module Network.AWS.Kinesis.DisableEnhancedMonitoring-- -- ** UpdateShardCount- , module Network.AWS.Kinesis.UpdateShardCount-- -- ** ListTagsForStream- , module Network.AWS.Kinesis.ListTagsForStream-- -- ** AddTagsToStream- , module Network.AWS.Kinesis.AddTagsToStream-- -- ** PutRecords- , module Network.AWS.Kinesis.PutRecords-- -- ** ListShards- , module Network.AWS.Kinesis.ListShards-- -- ** DeleteStream- , module Network.AWS.Kinesis.DeleteStream-- -- ** RemoveTagsFromStream- , module Network.AWS.Kinesis.RemoveTagsFromStream-- -- ** ListStreams (Paginated)- , module Network.AWS.Kinesis.ListStreams-- -- ** CreateStream- , module Network.AWS.Kinesis.CreateStream-- -- ** StartStreamEncryption- , module Network.AWS.Kinesis.StartStreamEncryption-- -- ** SplitShard- , module Network.AWS.Kinesis.SplitShard-- -- ** IncreaseStreamRetentionPeriod- , module Network.AWS.Kinesis.IncreaseStreamRetentionPeriod-- -- ** DescribeStream (Paginated)- , module Network.AWS.Kinesis.DescribeStream-- -- * Types-- -- ** EncryptionType- , EncryptionType (..)-- -- ** MetricsName- , MetricsName (..)-- -- ** ScalingType- , ScalingType (..)-- -- ** ShardIteratorType- , ShardIteratorType (..)-- -- ** StreamStatus- , StreamStatus (..)-- -- ** EnhancedMetrics- , EnhancedMetrics- , enhancedMetrics- , emShardLevelMetrics-- -- ** EnhancedMonitoringOutput- , EnhancedMonitoringOutput- , enhancedMonitoringOutput- , emoDesiredShardLevelMetrics- , emoCurrentShardLevelMetrics- , emoStreamName-- -- ** HashKeyRange- , HashKeyRange- , hashKeyRange- , hkrStartingHashKey- , hkrEndingHashKey-- -- ** PutRecordsRequestEntry- , PutRecordsRequestEntry- , putRecordsRequestEntry- , prreExplicitHashKey- , prreData- , prrePartitionKey-- -- ** PutRecordsResultEntry- , PutRecordsResultEntry- , putRecordsResultEntry- , prreSequenceNumber- , prreErrorCode- , prreErrorMessage- , prreShardId-- -- ** Record- , Record- , record- , rEncryptionType- , rApproximateArrivalTimestamp- , rSequenceNumber- , rData- , rPartitionKey-- -- ** SequenceNumberRange- , SequenceNumberRange- , sequenceNumberRange- , snrEndingSequenceNumber- , snrStartingSequenceNumber-- -- ** Shard- , Shard- , shard- , sAdjacentParentShardId- , sParentShardId- , sShardId- , sHashKeyRange- , sSequenceNumberRange-- -- ** StreamDescription- , StreamDescription- , streamDescription- , sdEncryptionType- , sdKeyId- , sdStreamName- , sdStreamARN- , sdStreamStatus- , sdShards- , sdHasMoreShards- , sdRetentionPeriodHours- , sdStreamCreationTimestamp- , sdEnhancedMonitoring-- -- ** StreamDescriptionSummary- , StreamDescriptionSummary- , streamDescriptionSummary- , sdsEncryptionType- , sdsKeyId- , sdsStreamName- , sdsStreamARN- , sdsStreamStatus- , sdsRetentionPeriodHours- , sdsStreamCreationTimestamp- , sdsEnhancedMonitoring- , sdsOpenShardCount-- -- ** Tag- , Tag- , tag- , tagValue- , tagKey- ) where--import Network.AWS.Kinesis.AddTagsToStream-import Network.AWS.Kinesis.CreateStream-import Network.AWS.Kinesis.DecreaseStreamRetentionPeriod-import Network.AWS.Kinesis.DeleteStream-import Network.AWS.Kinesis.DescribeLimits-import Network.AWS.Kinesis.DescribeStream-import Network.AWS.Kinesis.DescribeStreamSummary-import Network.AWS.Kinesis.DisableEnhancedMonitoring-import Network.AWS.Kinesis.EnableEnhancedMonitoring-import Network.AWS.Kinesis.GetRecords-import Network.AWS.Kinesis.GetShardIterator-import Network.AWS.Kinesis.IncreaseStreamRetentionPeriod-import Network.AWS.Kinesis.ListShards-import Network.AWS.Kinesis.ListStreams-import Network.AWS.Kinesis.ListTagsForStream-import Network.AWS.Kinesis.MergeShards-import Network.AWS.Kinesis.PutRecord-import Network.AWS.Kinesis.PutRecords-import Network.AWS.Kinesis.RemoveTagsFromStream-import Network.AWS.Kinesis.SplitShard-import Network.AWS.Kinesis.StartStreamEncryption-import Network.AWS.Kinesis.StopStreamEncryption-import Network.AWS.Kinesis.Types-import Network.AWS.Kinesis.UpdateShardCount-import Network.AWS.Kinesis.Waiters--{- $errors-Error matchers are designed for use with the functions provided by-<http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.-This allows catching (and rethrowing) service specific errors returned-by 'Kinesis'.--}--{- $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.--}--{- $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.--}
− gen/Network/AWS/Kinesis/AddTagsToStream.hs
@@ -1,126 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Kinesis.AddTagsToStream--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Adds or updates tags for the specified Kinesis data stream. Each stream can have up to 10 tags.--------- If tags have already been assigned to the stream, @AddTagsToStream@ overwrites any existing tags that correspond to the specified tag keys.------ 'AddTagsToStream' has a limit of five transactions per second per account.----module Network.AWS.Kinesis.AddTagsToStream- (- -- * Creating a Request- addTagsToStream- , AddTagsToStream- -- * Request Lenses- , attsStreamName- , attsTags-- -- * Destructuring the Response- , addTagsToStreamResponse- , AddTagsToStreamResponse- ) where--import Network.AWS.Kinesis.Types-import Network.AWS.Kinesis.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Represents the input for @AddTagsToStream@ .------------ /See:/ 'addTagsToStream' smart constructor.-data AddTagsToStream = AddTagsToStream'- { _attsStreamName :: !Text- , _attsTags :: !(Map Text Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'AddTagsToStream' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'attsStreamName' - The name of the stream.------ * 'attsTags' - The set of key-value pairs to use to create the tags.-addTagsToStream- :: Text -- ^ 'attsStreamName'- -> AddTagsToStream-addTagsToStream pStreamName_ =- AddTagsToStream' {_attsStreamName = pStreamName_, _attsTags = mempty}----- | The name of the stream.-attsStreamName :: Lens' AddTagsToStream Text-attsStreamName = lens _attsStreamName (\ s a -> s{_attsStreamName = a})---- | The set of key-value pairs to use to create the tags.-attsTags :: Lens' AddTagsToStream (HashMap Text Text)-attsTags = lens _attsTags (\ s a -> s{_attsTags = a}) . _Map--instance AWSRequest AddTagsToStream where- type Rs AddTagsToStream = AddTagsToStreamResponse- request = postJSON kinesis- response = receiveNull AddTagsToStreamResponse'--instance Hashable AddTagsToStream where--instance NFData AddTagsToStream where--instance ToHeaders AddTagsToStream where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("Kinesis_20131202.AddTagsToStream" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON AddTagsToStream where- toJSON AddTagsToStream'{..}- = object- (catMaybes- [Just ("StreamName" .= _attsStreamName),- Just ("Tags" .= _attsTags)])--instance ToPath AddTagsToStream where- toPath = const "/"--instance ToQuery AddTagsToStream where- toQuery = const mempty---- | /See:/ 'addTagsToStreamResponse' smart constructor.-data AddTagsToStreamResponse =- AddTagsToStreamResponse'- deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'AddTagsToStreamResponse' with the minimum fields required to make a request.----addTagsToStreamResponse- :: AddTagsToStreamResponse-addTagsToStreamResponse = AddTagsToStreamResponse'---instance NFData AddTagsToStreamResponse where
− gen/Network/AWS/Kinesis/CreateStream.hs
@@ -1,144 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Kinesis.CreateStream--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a Kinesis data stream. A stream captures and transports data records that are continuously emitted from different data sources or /producers/ . Scale-out within a stream is explicitly supported by means of shards, which are uniquely identified groups of data records in a stream.--------- You specify and control the number of shards that a stream is composed of. Each shard can support reads up to five transactions per second, up to a maximum data read total of 2 MB per second. Each shard can support writes up to 1,000 records per second, up to a maximum data write total of 1 MB per second. If the amount of data input increases or decreases, you can add or remove shards.------ The stream name identifies the stream. The name is scoped to the AWS account used by the application. It is also scoped by AWS Region. That is, two streams in two different accounts can have the same name, and two streams in the same account, but in two different Regions, can have the same name.------ @CreateStream@ is an asynchronous operation. Upon receiving a @CreateStream@ request, Kinesis Data Streams immediately returns and sets the stream status to @CREATING@ . After the stream is created, Kinesis Data Streams sets the stream status to @ACTIVE@ . You should perform read and write operations only on an @ACTIVE@ stream.------ You receive a @LimitExceededException@ when making a @CreateStream@ request when you try to do one of the following:------ * Have more than five streams in the @CREATING@ state at any point in time.------ * Create more shards than are authorized for your account.------------ For the default shard limit for an AWS account, see <http://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html Amazon Kinesis Data Streams Limits> in the /Amazon Kinesis Data Streams Developer Guide/ . To increase this limit, <http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html contact AWS Support> .------ You can use @DescribeStream@ to check the stream status, which is returned in @StreamStatus@ .------ 'CreateStream' has a limit of five transactions per second per account.----module Network.AWS.Kinesis.CreateStream- (- -- * Creating a Request- createStream- , CreateStream- -- * Request Lenses- , csStreamName- , csShardCount-- -- * Destructuring the Response- , createStreamResponse- , CreateStreamResponse- ) where--import Network.AWS.Kinesis.Types-import Network.AWS.Kinesis.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Represents the input for @CreateStream@ .------------ /See:/ 'createStream' smart constructor.-data CreateStream = CreateStream'- { _csStreamName :: !Text- , _csShardCount :: !Nat- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateStream' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'csStreamName' - A name to identify the stream. The stream name is scoped to the AWS account used by the application that creates the stream. It is also scoped by AWS Region. That is, two streams in two different AWS accounts can have the same name. Two streams in the same AWS account but in two different Regions can also have the same name.------ * 'csShardCount' - The number of shards that the stream will use. The throughput of the stream is a function of the number of shards; more shards are required for greater provisioned throughput. DefaultShardLimit;-createStream- :: Text -- ^ 'csStreamName'- -> Natural -- ^ 'csShardCount'- -> CreateStream-createStream pStreamName_ pShardCount_ =- CreateStream'- {_csStreamName = pStreamName_, _csShardCount = _Nat # pShardCount_}----- | A name to identify the stream. The stream name is scoped to the AWS account used by the application that creates the stream. It is also scoped by AWS Region. That is, two streams in two different AWS accounts can have the same name. Two streams in the same AWS account but in two different Regions can also have the same name.-csStreamName :: Lens' CreateStream Text-csStreamName = lens _csStreamName (\ s a -> s{_csStreamName = a})---- | The number of shards that the stream will use. The throughput of the stream is a function of the number of shards; more shards are required for greater provisioned throughput. DefaultShardLimit;-csShardCount :: Lens' CreateStream Natural-csShardCount = lens _csShardCount (\ s a -> s{_csShardCount = a}) . _Nat--instance AWSRequest CreateStream where- type Rs CreateStream = CreateStreamResponse- request = postJSON kinesis- response = receiveNull CreateStreamResponse'--instance Hashable CreateStream where--instance NFData CreateStream where--instance ToHeaders CreateStream where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("Kinesis_20131202.CreateStream" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CreateStream where- toJSON CreateStream'{..}- = object- (catMaybes- [Just ("StreamName" .= _csStreamName),- Just ("ShardCount" .= _csShardCount)])--instance ToPath CreateStream where- toPath = const "/"--instance ToQuery CreateStream where- toQuery = const mempty---- | /See:/ 'createStreamResponse' smart constructor.-data CreateStreamResponse =- CreateStreamResponse'- deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateStreamResponse' with the minimum fields required to make a request.----createStreamResponse- :: CreateStreamResponse-createStreamResponse = CreateStreamResponse'---instance NFData CreateStreamResponse where
− gen/Network/AWS/Kinesis/DecreaseStreamRetentionPeriod.hs
@@ -1,136 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Kinesis.DecreaseStreamRetentionPeriod--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Decreases the Kinesis data stream's retention period, which is the length of time data records are accessible after they are added to the stream. The minimum value of a stream's retention period is 24 hours.--------- This operation may result in lost data. For example, if the stream's retention period is 48 hours and is decreased to 24 hours, any data already in the stream that is older than 24 hours is inaccessible.----module Network.AWS.Kinesis.DecreaseStreamRetentionPeriod- (- -- * Creating a Request- decreaseStreamRetentionPeriod- , DecreaseStreamRetentionPeriod- -- * Request Lenses- , dsrpStreamName- , dsrpRetentionPeriodHours-- -- * Destructuring the Response- , decreaseStreamRetentionPeriodResponse- , DecreaseStreamRetentionPeriodResponse- ) where--import Network.AWS.Kinesis.Types-import Network.AWS.Kinesis.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Represents the input for 'DecreaseStreamRetentionPeriod' .------------ /See:/ 'decreaseStreamRetentionPeriod' smart constructor.-data DecreaseStreamRetentionPeriod = DecreaseStreamRetentionPeriod'- { _dsrpStreamName :: !Text- , _dsrpRetentionPeriodHours :: !Nat- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DecreaseStreamRetentionPeriod' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dsrpStreamName' - The name of the stream to modify.------ * 'dsrpRetentionPeriodHours' - The new retention period of the stream, in hours. Must be less than the current retention period.-decreaseStreamRetentionPeriod- :: Text -- ^ 'dsrpStreamName'- -> Natural -- ^ 'dsrpRetentionPeriodHours'- -> DecreaseStreamRetentionPeriod-decreaseStreamRetentionPeriod pStreamName_ pRetentionPeriodHours_ =- DecreaseStreamRetentionPeriod'- { _dsrpStreamName = pStreamName_- , _dsrpRetentionPeriodHours = _Nat # pRetentionPeriodHours_- }----- | The name of the stream to modify.-dsrpStreamName :: Lens' DecreaseStreamRetentionPeriod Text-dsrpStreamName = lens _dsrpStreamName (\ s a -> s{_dsrpStreamName = a})---- | The new retention period of the stream, in hours. Must be less than the current retention period.-dsrpRetentionPeriodHours :: Lens' DecreaseStreamRetentionPeriod Natural-dsrpRetentionPeriodHours = lens _dsrpRetentionPeriodHours (\ s a -> s{_dsrpRetentionPeriodHours = a}) . _Nat--instance AWSRequest DecreaseStreamRetentionPeriod- where- type Rs DecreaseStreamRetentionPeriod =- DecreaseStreamRetentionPeriodResponse- request = postJSON kinesis- response- = receiveNull DecreaseStreamRetentionPeriodResponse'--instance Hashable DecreaseStreamRetentionPeriod where--instance NFData DecreaseStreamRetentionPeriod where--instance ToHeaders DecreaseStreamRetentionPeriod- where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("Kinesis_20131202.DecreaseStreamRetentionPeriod" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DecreaseStreamRetentionPeriod where- toJSON DecreaseStreamRetentionPeriod'{..}- = object- (catMaybes- [Just ("StreamName" .= _dsrpStreamName),- Just- ("RetentionPeriodHours" .=- _dsrpRetentionPeriodHours)])--instance ToPath DecreaseStreamRetentionPeriod where- toPath = const "/"--instance ToQuery DecreaseStreamRetentionPeriod where- toQuery = const mempty---- | /See:/ 'decreaseStreamRetentionPeriodResponse' smart constructor.-data DecreaseStreamRetentionPeriodResponse =- DecreaseStreamRetentionPeriodResponse'- deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DecreaseStreamRetentionPeriodResponse' with the minimum fields required to make a request.----decreaseStreamRetentionPeriodResponse- :: DecreaseStreamRetentionPeriodResponse-decreaseStreamRetentionPeriodResponse = DecreaseStreamRetentionPeriodResponse'---instance NFData DecreaseStreamRetentionPeriodResponse- where
− gen/Network/AWS/Kinesis/DeleteStream.hs
@@ -1,121 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Kinesis.DeleteStream--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes a Kinesis data stream and all its shards and data. You must shut down any applications that are operating on the stream before you delete the stream. If an application attempts to operate on a deleted stream, it receives the exception @ResourceNotFoundException@ .--------- If the stream is in the @ACTIVE@ state, you can delete it. After a @DeleteStream@ request, the specified stream is in the @DELETING@ state until Kinesis Data Streams completes the deletion.------ __Note:__ Kinesis Data Streams might continue to accept data read and write operations, such as 'PutRecord' , 'PutRecords' , and 'GetRecords' , on a stream in the @DELETING@ state until the stream deletion is complete.------ When you delete a stream, any shards in that stream are also deleted, and any tags are dissociated from the stream.------ You can use the 'DescribeStream' operation to check the state of the stream, which is returned in @StreamStatus@ .------ 'DeleteStream' has a limit of five transactions per second per account.----module Network.AWS.Kinesis.DeleteStream- (- -- * Creating a Request- deleteStream- , DeleteStream- -- * Request Lenses- , dsStreamName-- -- * Destructuring the Response- , deleteStreamResponse- , DeleteStreamResponse- ) where--import Network.AWS.Kinesis.Types-import Network.AWS.Kinesis.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Represents the input for 'DeleteStream' .------------ /See:/ 'deleteStream' smart constructor.-newtype DeleteStream = DeleteStream'- { _dsStreamName :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteStream' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dsStreamName' - The name of the stream to delete.-deleteStream- :: Text -- ^ 'dsStreamName'- -> DeleteStream-deleteStream pStreamName_ = DeleteStream' {_dsStreamName = pStreamName_}----- | The name of the stream to delete.-dsStreamName :: Lens' DeleteStream Text-dsStreamName = lens _dsStreamName (\ s a -> s{_dsStreamName = a})--instance AWSRequest DeleteStream where- type Rs DeleteStream = DeleteStreamResponse- request = postJSON kinesis- response = receiveNull DeleteStreamResponse'--instance Hashable DeleteStream where--instance NFData DeleteStream where--instance ToHeaders DeleteStream where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("Kinesis_20131202.DeleteStream" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteStream where- toJSON DeleteStream'{..}- = object- (catMaybes [Just ("StreamName" .= _dsStreamName)])--instance ToPath DeleteStream where- toPath = const "/"--instance ToQuery DeleteStream where- toQuery = const mempty---- | /See:/ 'deleteStreamResponse' smart constructor.-data DeleteStreamResponse =- DeleteStreamResponse'- deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteStreamResponse' with the minimum fields required to make a request.----deleteStreamResponse- :: DeleteStreamResponse-deleteStreamResponse = DeleteStreamResponse'---instance NFData DeleteStreamResponse where
− gen/Network/AWS/Kinesis/DescribeLimits.hs
@@ -1,137 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Kinesis.DescribeLimits--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Describes the shard limits and usage for the account.--------- If you update your account limits, the old limits might be returned for a few minutes.------ This operation has a limit of one transaction per second per account.----module Network.AWS.Kinesis.DescribeLimits- (- -- * Creating a Request- describeLimits- , DescribeLimits-- -- * Destructuring the Response- , describeLimitsResponse- , DescribeLimitsResponse- -- * Response Lenses- , dlrsResponseStatus- , dlrsShardLimit- , dlrsOpenShardCount- ) where--import Network.AWS.Kinesis.Types-import Network.AWS.Kinesis.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeLimits' smart constructor.-data DescribeLimits =- DescribeLimits'- deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeLimits' with the minimum fields required to make a request.----describeLimits- :: DescribeLimits-describeLimits = DescribeLimits'---instance AWSRequest DescribeLimits where- type Rs DescribeLimits = DescribeLimitsResponse- request = postJSON kinesis- response- = receiveJSON- (\ s h x ->- DescribeLimitsResponse' <$>- (pure (fromEnum s)) <*> (x .:> "ShardLimit") <*>- (x .:> "OpenShardCount"))--instance Hashable DescribeLimits where--instance NFData DescribeLimits where--instance ToHeaders DescribeLimits where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("Kinesis_20131202.DescribeLimits" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeLimits where- toJSON = const (Object mempty)--instance ToPath DescribeLimits where- toPath = const "/"--instance ToQuery DescribeLimits where- toQuery = const mempty---- | /See:/ 'describeLimitsResponse' smart constructor.-data DescribeLimitsResponse = DescribeLimitsResponse'- { _dlrsResponseStatus :: !Int- , _dlrsShardLimit :: !Nat- , _dlrsOpenShardCount :: !Nat- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeLimitsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dlrsResponseStatus' - -- | The response status code.------ * 'dlrsShardLimit' - The maximum number of shards.------ * 'dlrsOpenShardCount' - The number of open shards.-describeLimitsResponse- :: Int -- ^ 'dlrsResponseStatus'- -> Natural -- ^ 'dlrsShardLimit'- -> Natural -- ^ 'dlrsOpenShardCount'- -> DescribeLimitsResponse-describeLimitsResponse pResponseStatus_ pShardLimit_ pOpenShardCount_ =- DescribeLimitsResponse'- { _dlrsResponseStatus = pResponseStatus_- , _dlrsShardLimit = _Nat # pShardLimit_- , _dlrsOpenShardCount = _Nat # pOpenShardCount_- }----- | -- | The response status code.-dlrsResponseStatus :: Lens' DescribeLimitsResponse Int-dlrsResponseStatus = lens _dlrsResponseStatus (\ s a -> s{_dlrsResponseStatus = a})---- | The maximum number of shards.-dlrsShardLimit :: Lens' DescribeLimitsResponse Natural-dlrsShardLimit = lens _dlrsShardLimit (\ s a -> s{_dlrsShardLimit = a}) . _Nat---- | The number of open shards.-dlrsOpenShardCount :: Lens' DescribeLimitsResponse Natural-dlrsOpenShardCount = lens _dlrsOpenShardCount (\ s a -> s{_dlrsOpenShardCount = a}) . _Nat--instance NFData DescribeLimitsResponse where
− gen/Network/AWS/Kinesis/DescribeStream.hs
@@ -1,193 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Kinesis.DescribeStream--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Describes the specified Kinesis data stream.--------- The information returned includes the stream name, Amazon Resource Name (ARN), creation time, enhanced metric configuration, and shard map. The shard map is an array of shard objects. For each shard object, there is the hash key and sequence number ranges that the shard spans, and the IDs of any earlier shards that played in a role in creating the shard. Every record ingested in the stream is identified by a sequence number, which is assigned when the record is put into the stream.------ You can limit the number of shards returned by each call. For more information, see <http://docs.aws.amazon.com/kinesis/latest/dev/kinesis-using-sdk-java-retrieve-shards.html Retrieving Shards from a Stream> in the /Amazon Kinesis Data Streams Developer Guide/ .------ There are no guarantees about the chronological order shards returned. To process shards in chronological order, use the ID of the parent shard to track the lineage to the oldest shard.------ This operation has a limit of 10 transactions per second per account.--------- This operation returns paginated results.-module Network.AWS.Kinesis.DescribeStream- (- -- * Creating a Request- describeStream- , DescribeStream- -- * Request Lenses- , dExclusiveStartShardId- , dLimit- , dStreamName-- -- * Destructuring the Response- , describeStreamResponse- , DescribeStreamResponse- -- * Response Lenses- , dsrsResponseStatus- , dsrsStreamDescription- ) where--import Network.AWS.Kinesis.Types-import Network.AWS.Kinesis.Types.Product-import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Represents the input for @DescribeStream@ .------------ /See:/ 'describeStream' smart constructor.-data DescribeStream = DescribeStream'- { _dExclusiveStartShardId :: !(Maybe Text)- , _dLimit :: !(Maybe Nat)- , _dStreamName :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeStream' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dExclusiveStartShardId' - The shard ID of the shard to start with.------ * 'dLimit' - The maximum number of shards to return in a single call. The default value is 100. If you specify a value greater than 100, at most 100 shards are returned.------ * 'dStreamName' - The name of the stream to describe.-describeStream- :: Text -- ^ 'dStreamName'- -> DescribeStream-describeStream pStreamName_ =- DescribeStream'- { _dExclusiveStartShardId = Nothing- , _dLimit = Nothing- , _dStreamName = pStreamName_- }----- | The shard ID of the shard to start with.-dExclusiveStartShardId :: Lens' DescribeStream (Maybe Text)-dExclusiveStartShardId = lens _dExclusiveStartShardId (\ s a -> s{_dExclusiveStartShardId = a})---- | The maximum number of shards to return in a single call. The default value is 100. If you specify a value greater than 100, at most 100 shards are returned.-dLimit :: Lens' DescribeStream (Maybe Natural)-dLimit = lens _dLimit (\ s a -> s{_dLimit = a}) . mapping _Nat---- | The name of the stream to describe.-dStreamName :: Lens' DescribeStream Text-dStreamName = lens _dStreamName (\ s a -> s{_dStreamName = a})--instance AWSPager DescribeStream where- page rq rs- | stop- (rs ^. dsrsStreamDescription . sdHasMoreShards)- = Nothing- | isNothing- (rs ^?- dsrsStreamDescription . sdShards . _last . sShardId)- = Nothing- | otherwise =- Just $ rq &- dExclusiveStartShardId .~- rs ^?- dsrsStreamDescription . sdShards . _last . sShardId--instance AWSRequest DescribeStream where- type Rs DescribeStream = DescribeStreamResponse- request = postJSON kinesis- response- = receiveJSON- (\ s h x ->- DescribeStreamResponse' <$>- (pure (fromEnum s)) <*> (x .:> "StreamDescription"))--instance Hashable DescribeStream where--instance NFData DescribeStream where--instance ToHeaders DescribeStream where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("Kinesis_20131202.DescribeStream" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeStream where- toJSON DescribeStream'{..}- = object- (catMaybes- [("ExclusiveStartShardId" .=) <$>- _dExclusiveStartShardId,- ("Limit" .=) <$> _dLimit,- Just ("StreamName" .= _dStreamName)])--instance ToPath DescribeStream where- toPath = const "/"--instance ToQuery DescribeStream where- toQuery = const mempty---- | Represents the output for @DescribeStream@ .------------ /See:/ 'describeStreamResponse' smart constructor.-data DescribeStreamResponse = DescribeStreamResponse'- { _dsrsResponseStatus :: !Int- , _dsrsStreamDescription :: !StreamDescription- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeStreamResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dsrsResponseStatus' - -- | The response status code.------ * 'dsrsStreamDescription' - The current status of the stream, the stream Amazon Resource Name (ARN), an array of shard objects that comprise the stream, and whether there are more shards available.-describeStreamResponse- :: Int -- ^ 'dsrsResponseStatus'- -> StreamDescription -- ^ 'dsrsStreamDescription'- -> DescribeStreamResponse-describeStreamResponse pResponseStatus_ pStreamDescription_ =- DescribeStreamResponse'- { _dsrsResponseStatus = pResponseStatus_- , _dsrsStreamDescription = pStreamDescription_- }----- | -- | The response status code.-dsrsResponseStatus :: Lens' DescribeStreamResponse Int-dsrsResponseStatus = lens _dsrsResponseStatus (\ s a -> s{_dsrsResponseStatus = a})---- | The current status of the stream, the stream Amazon Resource Name (ARN), an array of shard objects that comprise the stream, and whether there are more shards available.-dsrsStreamDescription :: Lens' DescribeStreamResponse StreamDescription-dsrsStreamDescription = lens _dsrsStreamDescription (\ s a -> s{_dsrsStreamDescription = a})--instance NFData DescribeStreamResponse where
− gen/Network/AWS/Kinesis/DescribeStreamSummary.hs
@@ -1,140 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Kinesis.DescribeStreamSummary--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Provides a summarized description of the specified Kinesis data stream without the shard list.--------- The information returned includes the stream name, Amazon Resource Name (ARN), status, record retention period, approximate creation time, monitoring, encryption details, and open shard count.----module Network.AWS.Kinesis.DescribeStreamSummary- (- -- * Creating a Request- describeStreamSummary- , DescribeStreamSummary- -- * Request Lenses- , dssStreamName-- -- * Destructuring the Response- , describeStreamSummaryResponse- , DescribeStreamSummaryResponse- -- * Response Lenses- , dssrsResponseStatus- , dssrsStreamDescriptionSummary- ) where--import Network.AWS.Kinesis.Types-import Network.AWS.Kinesis.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeStreamSummary' smart constructor.-newtype DescribeStreamSummary = DescribeStreamSummary'- { _dssStreamName :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeStreamSummary' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dssStreamName' - The name of the stream to describe.-describeStreamSummary- :: Text -- ^ 'dssStreamName'- -> DescribeStreamSummary-describeStreamSummary pStreamName_ =- DescribeStreamSummary' {_dssStreamName = pStreamName_}----- | The name of the stream to describe.-dssStreamName :: Lens' DescribeStreamSummary Text-dssStreamName = lens _dssStreamName (\ s a -> s{_dssStreamName = a})--instance AWSRequest DescribeStreamSummary where- type Rs DescribeStreamSummary =- DescribeStreamSummaryResponse- request = postJSON kinesis- response- = receiveJSON- (\ s h x ->- DescribeStreamSummaryResponse' <$>- (pure (fromEnum s)) <*>- (x .:> "StreamDescriptionSummary"))--instance Hashable DescribeStreamSummary where--instance NFData DescribeStreamSummary where--instance ToHeaders DescribeStreamSummary where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("Kinesis_20131202.DescribeStreamSummary" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeStreamSummary where- toJSON DescribeStreamSummary'{..}- = object- (catMaybes [Just ("StreamName" .= _dssStreamName)])--instance ToPath DescribeStreamSummary where- toPath = const "/"--instance ToQuery DescribeStreamSummary where- toQuery = const mempty---- | /See:/ 'describeStreamSummaryResponse' smart constructor.-data DescribeStreamSummaryResponse = DescribeStreamSummaryResponse'- { _dssrsResponseStatus :: !Int- , _dssrsStreamDescriptionSummary :: !StreamDescriptionSummary- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeStreamSummaryResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dssrsResponseStatus' - -- | The response status code.------ * 'dssrsStreamDescriptionSummary' - A 'StreamDescriptionSummary' containing information about the stream.-describeStreamSummaryResponse- :: Int -- ^ 'dssrsResponseStatus'- -> StreamDescriptionSummary -- ^ 'dssrsStreamDescriptionSummary'- -> DescribeStreamSummaryResponse-describeStreamSummaryResponse pResponseStatus_ pStreamDescriptionSummary_ =- DescribeStreamSummaryResponse'- { _dssrsResponseStatus = pResponseStatus_- , _dssrsStreamDescriptionSummary = pStreamDescriptionSummary_- }----- | -- | The response status code.-dssrsResponseStatus :: Lens' DescribeStreamSummaryResponse Int-dssrsResponseStatus = lens _dssrsResponseStatus (\ s a -> s{_dssrsResponseStatus = a})---- | A 'StreamDescriptionSummary' containing information about the stream.-dssrsStreamDescriptionSummary :: Lens' DescribeStreamSummaryResponse StreamDescriptionSummary-dssrsStreamDescriptionSummary = lens _dssrsStreamDescriptionSummary (\ s a -> s{_dssrsStreamDescriptionSummary = a})--instance NFData DescribeStreamSummaryResponse where
− gen/Network/AWS/Kinesis/DisableEnhancedMonitoring.hs
@@ -1,114 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Kinesis.DisableEnhancedMonitoring--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Disables enhanced monitoring.-------module Network.AWS.Kinesis.DisableEnhancedMonitoring- (- -- * Creating a Request- disableEnhancedMonitoring- , DisableEnhancedMonitoring- -- * Request Lenses- , demStreamName- , demShardLevelMetrics-- -- * Destructuring the Response- , enhancedMonitoringOutput- , EnhancedMonitoringOutput- -- * Response Lenses- , emoDesiredShardLevelMetrics- , emoCurrentShardLevelMetrics- , emoStreamName- ) where--import Network.AWS.Kinesis.Types-import Network.AWS.Kinesis.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Represents the input for 'DisableEnhancedMonitoring' .------------ /See:/ 'disableEnhancedMonitoring' smart constructor.-data DisableEnhancedMonitoring = DisableEnhancedMonitoring'- { _demStreamName :: !Text- , _demShardLevelMetrics :: ![MetricsName]- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DisableEnhancedMonitoring' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'demStreamName' - The name of the Kinesis data stream for which to disable enhanced monitoring.------ * 'demShardLevelMetrics' - List of shard-level metrics to disable. The following are the valid shard-level metrics. The value "@ALL@ " disables every metric. * @IncomingBytes@ * @IncomingRecords@ * @OutgoingBytes@ * @OutgoingRecords@ * @WriteProvisionedThroughputExceeded@ * @ReadProvisionedThroughputExceeded@ * @IteratorAgeMilliseconds@ * @ALL@ For more information, see <http://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch> in the /Amazon Kinesis Data Streams Developer Guide/ .-disableEnhancedMonitoring- :: Text -- ^ 'demStreamName'- -> DisableEnhancedMonitoring-disableEnhancedMonitoring pStreamName_ =- DisableEnhancedMonitoring'- {_demStreamName = pStreamName_, _demShardLevelMetrics = mempty}----- | The name of the Kinesis data stream for which to disable enhanced monitoring.-demStreamName :: Lens' DisableEnhancedMonitoring Text-demStreamName = lens _demStreamName (\ s a -> s{_demStreamName = a})---- | List of shard-level metrics to disable. The following are the valid shard-level metrics. The value "@ALL@ " disables every metric. * @IncomingBytes@ * @IncomingRecords@ * @OutgoingBytes@ * @OutgoingRecords@ * @WriteProvisionedThroughputExceeded@ * @ReadProvisionedThroughputExceeded@ * @IteratorAgeMilliseconds@ * @ALL@ For more information, see <http://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch> in the /Amazon Kinesis Data Streams Developer Guide/ .-demShardLevelMetrics :: Lens' DisableEnhancedMonitoring [MetricsName]-demShardLevelMetrics = lens _demShardLevelMetrics (\ s a -> s{_demShardLevelMetrics = a}) . _Coerce--instance AWSRequest DisableEnhancedMonitoring where- type Rs DisableEnhancedMonitoring =- EnhancedMonitoringOutput- request = postJSON kinesis- response = receiveJSON (\ s h x -> eitherParseJSON x)--instance Hashable DisableEnhancedMonitoring where--instance NFData DisableEnhancedMonitoring where--instance ToHeaders DisableEnhancedMonitoring where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("Kinesis_20131202.DisableEnhancedMonitoring" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DisableEnhancedMonitoring where- toJSON DisableEnhancedMonitoring'{..}- = object- (catMaybes- [Just ("StreamName" .= _demStreamName),- Just ("ShardLevelMetrics" .= _demShardLevelMetrics)])--instance ToPath DisableEnhancedMonitoring where- toPath = const "/"--instance ToQuery DisableEnhancedMonitoring where- toQuery = const mempty
− gen/Network/AWS/Kinesis/EnableEnhancedMonitoring.hs
@@ -1,114 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Kinesis.EnableEnhancedMonitoring--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Enables enhanced Kinesis data stream monitoring for shard-level metrics.-------module Network.AWS.Kinesis.EnableEnhancedMonitoring- (- -- * Creating a Request- enableEnhancedMonitoring- , EnableEnhancedMonitoring- -- * Request Lenses- , eemStreamName- , eemShardLevelMetrics-- -- * Destructuring the Response- , enhancedMonitoringOutput- , EnhancedMonitoringOutput- -- * Response Lenses- , emoDesiredShardLevelMetrics- , emoCurrentShardLevelMetrics- , emoStreamName- ) where--import Network.AWS.Kinesis.Types-import Network.AWS.Kinesis.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Represents the input for 'EnableEnhancedMonitoring' .------------ /See:/ 'enableEnhancedMonitoring' smart constructor.-data EnableEnhancedMonitoring = EnableEnhancedMonitoring'- { _eemStreamName :: !Text- , _eemShardLevelMetrics :: ![MetricsName]- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'EnableEnhancedMonitoring' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'eemStreamName' - The name of the stream for which to enable enhanced monitoring.------ * 'eemShardLevelMetrics' - List of shard-level metrics to enable. The following are the valid shard-level metrics. The value "@ALL@ " enables every metric. * @IncomingBytes@ * @IncomingRecords@ * @OutgoingBytes@ * @OutgoingRecords@ * @WriteProvisionedThroughputExceeded@ * @ReadProvisionedThroughputExceeded@ * @IteratorAgeMilliseconds@ * @ALL@ For more information, see <http://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch> in the /Amazon Kinesis Data Streams Developer Guide/ .-enableEnhancedMonitoring- :: Text -- ^ 'eemStreamName'- -> EnableEnhancedMonitoring-enableEnhancedMonitoring pStreamName_ =- EnableEnhancedMonitoring'- {_eemStreamName = pStreamName_, _eemShardLevelMetrics = mempty}----- | The name of the stream for which to enable enhanced monitoring.-eemStreamName :: Lens' EnableEnhancedMonitoring Text-eemStreamName = lens _eemStreamName (\ s a -> s{_eemStreamName = a})---- | List of shard-level metrics to enable. The following are the valid shard-level metrics. The value "@ALL@ " enables every metric. * @IncomingBytes@ * @IncomingRecords@ * @OutgoingBytes@ * @OutgoingRecords@ * @WriteProvisionedThroughputExceeded@ * @ReadProvisionedThroughputExceeded@ * @IteratorAgeMilliseconds@ * @ALL@ For more information, see <http://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch> in the /Amazon Kinesis Data Streams Developer Guide/ .-eemShardLevelMetrics :: Lens' EnableEnhancedMonitoring [MetricsName]-eemShardLevelMetrics = lens _eemShardLevelMetrics (\ s a -> s{_eemShardLevelMetrics = a}) . _Coerce--instance AWSRequest EnableEnhancedMonitoring where- type Rs EnableEnhancedMonitoring =- EnhancedMonitoringOutput- request = postJSON kinesis- response = receiveJSON (\ s h x -> eitherParseJSON x)--instance Hashable EnableEnhancedMonitoring where--instance NFData EnableEnhancedMonitoring where--instance ToHeaders EnableEnhancedMonitoring where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("Kinesis_20131202.EnableEnhancedMonitoring" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON EnableEnhancedMonitoring where- toJSON EnableEnhancedMonitoring'{..}- = object- (catMaybes- [Just ("StreamName" .= _eemStreamName),- Just ("ShardLevelMetrics" .= _eemShardLevelMetrics)])--instance ToPath EnableEnhancedMonitoring where- toPath = const "/"--instance ToQuery EnableEnhancedMonitoring where- toQuery = const mempty
− gen/Network/AWS/Kinesis/GetRecords.hs
@@ -1,185 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Kinesis.GetRecords--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Gets data records from a Kinesis data stream's shard.--------- Specify a shard iterator using the @ShardIterator@ parameter. The shard iterator specifies the position in the shard from which you want to start reading data records sequentially. If there are no records available in the portion of the shard that the iterator points to, 'GetRecords' returns an empty list. It might take multiple calls to get to a portion of the shard that contains records.------ You can scale by provisioning multiple shards per stream while considering service limits (for more information, see <http://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html Amazon Kinesis Data Streams Limits> in the /Amazon Kinesis Data Streams Developer Guide/ ). Your application should have one thread per shard, each reading continuously from its stream. To read from a stream continually, call 'GetRecords' in a loop. Use 'GetShardIterator' to get the shard iterator to specify in the first 'GetRecords' call. 'GetRecords' returns a new shard iterator in @NextShardIterator@ . Specify the shard iterator returned in @NextShardIterator@ in subsequent calls to 'GetRecords' . If the shard has been closed, the shard iterator can't return more data and 'GetRecords' returns @null@ in @NextShardIterator@ . You can terminate the loop when the shard is closed, or when the shard iterator reaches the record with the sequence number or other attribute that marks it as the last record to process.------ Each data record can be up to 1 MB in size, and each shard can read up to 2 MB per second. You can ensure that your calls don't exceed the maximum supported size or throughput by using the @Limit@ parameter to specify the maximum number of records that 'GetRecords' can return. Consider your average record size when determining this limit.------ The size of the data returned by 'GetRecords' varies depending on the utilization of the shard. The maximum size of data that 'GetRecords' can return is 10 MB. If a call returns this amount of data, subsequent calls made within the next five seconds throw @ProvisionedThroughputExceededException@ . If there is insufficient provisioned throughput on the stream, subsequent calls made within the next one second throw @ProvisionedThroughputExceededException@ . 'GetRecords' won't return any data when it throws an exception. For this reason, we recommend that you wait one second between calls to 'GetRecords' ; however, it's possible that the application will get exceptions for longer than 1 second.------ To detect whether the application is falling behind in processing, you can use the @MillisBehindLatest@ response attribute. You can also monitor the stream using CloudWatch metrics and other mechanisms (see <http://docs.aws.amazon.com/kinesis/latest/dev/monitoring.html Monitoring> in the /Amazon Kinesis Data Streams Developer Guide/ ).------ Each Amazon Kinesis record includes a value, @ApproximateArrivalTimestamp@ , that is set when a stream successfully receives and stores a record. This is commonly referred to as a server-side time stamp, whereas a client-side time stamp is set when a data producer creates or sends the record to a stream (a data producer is any data source putting data records into a stream, for example with 'PutRecords' ). The time stamp has millisecond precision. There are no guarantees about the time stamp accuracy, or that the time stamp is always increasing. For example, records in a shard or across a stream might have time stamps that are out of order.----module Network.AWS.Kinesis.GetRecords- (- -- * Creating a Request- getRecords- , GetRecords- -- * Request Lenses- , grLimit- , grShardIterator-- -- * Destructuring the Response- , getRecordsResponse- , GetRecordsResponse- -- * Response Lenses- , grrsNextShardIterator- , grrsMillisBehindLatest- , grrsResponseStatus- , grrsRecords- ) where--import Network.AWS.Kinesis.Types-import Network.AWS.Kinesis.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Represents the input for 'GetRecords' .------------ /See:/ 'getRecords' smart constructor.-data GetRecords = GetRecords'- { _grLimit :: !(Maybe Nat)- , _grShardIterator :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetRecords' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'grLimit' - The maximum number of records to return. Specify a value of up to 10,000. If you specify a value that is greater than 10,000, 'GetRecords' throws @InvalidArgumentException@ .------ * 'grShardIterator' - The position in the shard from which you want to start sequentially reading data records. A shard iterator specifies this position using the sequence number of a data record in the shard.-getRecords- :: Text -- ^ 'grShardIterator'- -> GetRecords-getRecords pShardIterator_ =- GetRecords' {_grLimit = Nothing, _grShardIterator = pShardIterator_}----- | The maximum number of records to return. Specify a value of up to 10,000. If you specify a value that is greater than 10,000, 'GetRecords' throws @InvalidArgumentException@ .-grLimit :: Lens' GetRecords (Maybe Natural)-grLimit = lens _grLimit (\ s a -> s{_grLimit = a}) . mapping _Nat---- | The position in the shard from which you want to start sequentially reading data records. A shard iterator specifies this position using the sequence number of a data record in the shard.-grShardIterator :: Lens' GetRecords Text-grShardIterator = lens _grShardIterator (\ s a -> s{_grShardIterator = a})--instance AWSRequest GetRecords where- type Rs GetRecords = GetRecordsResponse- request = postJSON kinesis- response- = receiveJSON- (\ s h x ->- GetRecordsResponse' <$>- (x .?> "NextShardIterator") <*>- (x .?> "MillisBehindLatest")- <*> (pure (fromEnum s))- <*> (x .?> "Records" .!@ mempty))--instance Hashable GetRecords where--instance NFData GetRecords where--instance ToHeaders GetRecords where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("Kinesis_20131202.GetRecords" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON GetRecords where- toJSON GetRecords'{..}- = object- (catMaybes- [("Limit" .=) <$> _grLimit,- Just ("ShardIterator" .= _grShardIterator)])--instance ToPath GetRecords where- toPath = const "/"--instance ToQuery GetRecords where- toQuery = const mempty---- | Represents the output for 'GetRecords' .------------ /See:/ 'getRecordsResponse' smart constructor.-data GetRecordsResponse = GetRecordsResponse'- { _grrsNextShardIterator :: !(Maybe Text)- , _grrsMillisBehindLatest :: !(Maybe Nat)- , _grrsResponseStatus :: !Int- , _grrsRecords :: ![Record]- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetRecordsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'grrsNextShardIterator' - The next position in the shard from which to start sequentially reading data records. If set to @null@ , the shard has been closed and the requested iterator does not return any more data.------ * 'grrsMillisBehindLatest' - The number of milliseconds the 'GetRecords' response is from the tip of the stream, indicating how far behind current time the consumer is. A value of zero indicates that record processing is caught up, and there are no new records to process at this moment.------ * 'grrsResponseStatus' - -- | The response status code.------ * 'grrsRecords' - The data records retrieved from the shard.-getRecordsResponse- :: Int -- ^ 'grrsResponseStatus'- -> GetRecordsResponse-getRecordsResponse pResponseStatus_ =- GetRecordsResponse'- { _grrsNextShardIterator = Nothing- , _grrsMillisBehindLatest = Nothing- , _grrsResponseStatus = pResponseStatus_- , _grrsRecords = mempty- }----- | The next position in the shard from which to start sequentially reading data records. If set to @null@ , the shard has been closed and the requested iterator does not return any more data.-grrsNextShardIterator :: Lens' GetRecordsResponse (Maybe Text)-grrsNextShardIterator = lens _grrsNextShardIterator (\ s a -> s{_grrsNextShardIterator = a})---- | The number of milliseconds the 'GetRecords' response is from the tip of the stream, indicating how far behind current time the consumer is. A value of zero indicates that record processing is caught up, and there are no new records to process at this moment.-grrsMillisBehindLatest :: Lens' GetRecordsResponse (Maybe Natural)-grrsMillisBehindLatest = lens _grrsMillisBehindLatest (\ s a -> s{_grrsMillisBehindLatest = a}) . mapping _Nat---- | -- | The response status code.-grrsResponseStatus :: Lens' GetRecordsResponse Int-grrsResponseStatus = lens _grrsResponseStatus (\ s a -> s{_grrsResponseStatus = a})---- | The data records retrieved from the shard.-grrsRecords :: Lens' GetRecordsResponse [Record]-grrsRecords = lens _grrsRecords (\ s a -> s{_grrsRecords = a}) . _Coerce--instance NFData GetRecordsResponse where
− gen/Network/AWS/Kinesis/GetShardIterator.hs
@@ -1,198 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Kinesis.GetShardIterator--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Gets an Amazon Kinesis shard iterator. A shard iterator expires five minutes after it is returned to the requester.--------- A shard iterator specifies the shard position from which to start reading data records sequentially. The position is specified using the sequence number of a data record in a shard. A sequence number is the identifier associated with every record ingested in the stream, and is assigned when a record is put into the stream. Each stream has one or more shards.------ You must specify the shard iterator type. For example, you can set the @ShardIteratorType@ parameter to read exactly from the position denoted by a specific sequence number by using the @AT_SEQUENCE_NUMBER@ shard iterator type. Alternatively, the parameter can read right after the sequence number by using the @AFTER_SEQUENCE_NUMBER@ shard iterator type, using sequence numbers returned by earlier calls to 'PutRecord' , 'PutRecords' , 'GetRecords' , or 'DescribeStream' . In the request, you can specify the shard iterator type @AT_TIMESTAMP@ to read records from an arbitrary point in time, @TRIM_HORIZON@ to cause @ShardIterator@ to point to the last untrimmed record in the shard in the system (the oldest data record in the shard), or @LATEST@ so that you always read the most recent data in the shard.------ When you read repeatedly from a stream, use a 'GetShardIterator' request to get the first shard iterator for use in your first 'GetRecords' request and for subsequent reads use the shard iterator returned by the 'GetRecords' request in @NextShardIterator@ . A new shard iterator is returned by every 'GetRecords' request in @NextShardIterator@ , which you use in the @ShardIterator@ parameter of the next 'GetRecords' request.------ If a 'GetShardIterator' request is made too often, you receive a @ProvisionedThroughputExceededException@ . For more information about throughput limits, see 'GetRecords' , and <http://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html Streams Limits> in the /Amazon Kinesis Data Streams Developer Guide/ .------ If the shard is closed, 'GetShardIterator' returns a valid iterator for the last sequence number of the shard. A shard can be closed as a result of using 'SplitShard' or 'MergeShards' .------ 'GetShardIterator' has a limit of five transactions per second per account per open shard.----module Network.AWS.Kinesis.GetShardIterator- (- -- * Creating a Request- getShardIterator- , GetShardIterator- -- * Request Lenses- , gsiStartingSequenceNumber- , gsiTimestamp- , gsiStreamName- , gsiShardId- , gsiShardIteratorType-- -- * Destructuring the Response- , getShardIteratorResponse- , GetShardIteratorResponse- -- * Response Lenses- , gsirsShardIterator- , gsirsResponseStatus- ) where--import Network.AWS.Kinesis.Types-import Network.AWS.Kinesis.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Represents the input for @GetShardIterator@ .------------ /See:/ 'getShardIterator' smart constructor.-data GetShardIterator = GetShardIterator'- { _gsiStartingSequenceNumber :: !(Maybe Text)- , _gsiTimestamp :: !(Maybe POSIX)- , _gsiStreamName :: !Text- , _gsiShardId :: !Text- , _gsiShardIteratorType :: !ShardIteratorType- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetShardIterator' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gsiStartingSequenceNumber' - The sequence number of the data record in the shard from which to start reading. Used with shard iterator type AT_SEQUENCE_NUMBER and AFTER_SEQUENCE_NUMBER.------ * 'gsiTimestamp' - The time stamp of the data record from which to start reading. Used with shard iterator type AT_TIMESTAMP. A time stamp is the Unix epoch date with precision in milliseconds. For example, @2016-04-04T19:58:46.480-00:00@ or @1459799926.480@ . If a record with this exact time stamp does not exist, the iterator returned is for the next (later) record. If the time stamp is older than the current trim horizon, the iterator returned is for the oldest untrimmed data record (TRIM_HORIZON).------ * 'gsiStreamName' - The name of the Amazon Kinesis data stream.------ * 'gsiShardId' - The shard ID of the Kinesis Data Streams shard to get the iterator for.------ * 'gsiShardIteratorType' - Determines how the shard iterator is used to start reading data records from the shard. The following are the valid Amazon Kinesis shard iterator types: * AT_SEQUENCE_NUMBER - Start reading from the position denoted by a specific sequence number, provided in the value @StartingSequenceNumber@ . * AFTER_SEQUENCE_NUMBER - Start reading right after the position denoted by a specific sequence number, provided in the value @StartingSequenceNumber@ . * AT_TIMESTAMP - Start reading from the position denoted by a specific time stamp, provided in the value @Timestamp@ . * TRIM_HORIZON - Start reading at the last untrimmed record in the shard in the system, which is the oldest data record in the shard. * LATEST - Start reading just after the most recent record in the shard, so that you always read the most recent data in the shard.-getShardIterator- :: Text -- ^ 'gsiStreamName'- -> Text -- ^ 'gsiShardId'- -> ShardIteratorType -- ^ 'gsiShardIteratorType'- -> GetShardIterator-getShardIterator pStreamName_ pShardId_ pShardIteratorType_ =- GetShardIterator'- { _gsiStartingSequenceNumber = Nothing- , _gsiTimestamp = Nothing- , _gsiStreamName = pStreamName_- , _gsiShardId = pShardId_- , _gsiShardIteratorType = pShardIteratorType_- }----- | The sequence number of the data record in the shard from which to start reading. Used with shard iterator type AT_SEQUENCE_NUMBER and AFTER_SEQUENCE_NUMBER.-gsiStartingSequenceNumber :: Lens' GetShardIterator (Maybe Text)-gsiStartingSequenceNumber = lens _gsiStartingSequenceNumber (\ s a -> s{_gsiStartingSequenceNumber = a})---- | The time stamp of the data record from which to start reading. Used with shard iterator type AT_TIMESTAMP. A time stamp is the Unix epoch date with precision in milliseconds. For example, @2016-04-04T19:58:46.480-00:00@ or @1459799926.480@ . If a record with this exact time stamp does not exist, the iterator returned is for the next (later) record. If the time stamp is older than the current trim horizon, the iterator returned is for the oldest untrimmed data record (TRIM_HORIZON).-gsiTimestamp :: Lens' GetShardIterator (Maybe UTCTime)-gsiTimestamp = lens _gsiTimestamp (\ s a -> s{_gsiTimestamp = a}) . mapping _Time---- | The name of the Amazon Kinesis data stream.-gsiStreamName :: Lens' GetShardIterator Text-gsiStreamName = lens _gsiStreamName (\ s a -> s{_gsiStreamName = a})---- | The shard ID of the Kinesis Data Streams shard to get the iterator for.-gsiShardId :: Lens' GetShardIterator Text-gsiShardId = lens _gsiShardId (\ s a -> s{_gsiShardId = a})---- | Determines how the shard iterator is used to start reading data records from the shard. The following are the valid Amazon Kinesis shard iterator types: * AT_SEQUENCE_NUMBER - Start reading from the position denoted by a specific sequence number, provided in the value @StartingSequenceNumber@ . * AFTER_SEQUENCE_NUMBER - Start reading right after the position denoted by a specific sequence number, provided in the value @StartingSequenceNumber@ . * AT_TIMESTAMP - Start reading from the position denoted by a specific time stamp, provided in the value @Timestamp@ . * TRIM_HORIZON - Start reading at the last untrimmed record in the shard in the system, which is the oldest data record in the shard. * LATEST - Start reading just after the most recent record in the shard, so that you always read the most recent data in the shard.-gsiShardIteratorType :: Lens' GetShardIterator ShardIteratorType-gsiShardIteratorType = lens _gsiShardIteratorType (\ s a -> s{_gsiShardIteratorType = a})--instance AWSRequest GetShardIterator where- type Rs GetShardIterator = GetShardIteratorResponse- request = postJSON kinesis- response- = receiveJSON- (\ s h x ->- GetShardIteratorResponse' <$>- (x .?> "ShardIterator") <*> (pure (fromEnum s)))--instance Hashable GetShardIterator where--instance NFData GetShardIterator where--instance ToHeaders GetShardIterator where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("Kinesis_20131202.GetShardIterator" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON GetShardIterator where- toJSON GetShardIterator'{..}- = object- (catMaybes- [("StartingSequenceNumber" .=) <$>- _gsiStartingSequenceNumber,- ("Timestamp" .=) <$> _gsiTimestamp,- Just ("StreamName" .= _gsiStreamName),- Just ("ShardId" .= _gsiShardId),- Just ("ShardIteratorType" .= _gsiShardIteratorType)])--instance ToPath GetShardIterator where- toPath = const "/"--instance ToQuery GetShardIterator where- toQuery = const mempty---- | Represents the output for @GetShardIterator@ .------------ /See:/ 'getShardIteratorResponse' smart constructor.-data GetShardIteratorResponse = GetShardIteratorResponse'- { _gsirsShardIterator :: !(Maybe Text)- , _gsirsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetShardIteratorResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gsirsShardIterator' - The position in the shard from which to start reading data records sequentially. A shard iterator specifies this position using the sequence number of a data record in a shard.------ * 'gsirsResponseStatus' - -- | The response status code.-getShardIteratorResponse- :: Int -- ^ 'gsirsResponseStatus'- -> GetShardIteratorResponse-getShardIteratorResponse pResponseStatus_ =- GetShardIteratorResponse'- {_gsirsShardIterator = Nothing, _gsirsResponseStatus = pResponseStatus_}----- | The position in the shard from which to start reading data records sequentially. A shard iterator specifies this position using the sequence number of a data record in a shard.-gsirsShardIterator :: Lens' GetShardIteratorResponse (Maybe Text)-gsirsShardIterator = lens _gsirsShardIterator (\ s a -> s{_gsirsShardIterator = a})---- | -- | The response status code.-gsirsResponseStatus :: Lens' GetShardIteratorResponse Int-gsirsResponseStatus = lens _gsirsResponseStatus (\ s a -> s{_gsirsResponseStatus = a})--instance NFData GetShardIteratorResponse where
− gen/Network/AWS/Kinesis/IncreaseStreamRetentionPeriod.hs
@@ -1,136 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Kinesis.IncreaseStreamRetentionPeriod--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Increases the Kinesis data stream's retention period, which is the length of time data records are accessible after they are added to the stream. The maximum value of a stream's retention period is 168 hours (7 days).--------- If you choose a longer stream retention period, this operation increases the time period during which records that have not yet expired are accessible. However, it does not make previous, expired data (older than the stream's previous retention period) accessible after the operation has been called. For example, if a stream's retention period is set to 24 hours and is increased to 168 hours, any data that is older than 24 hours remains inaccessible to consumer applications.----module Network.AWS.Kinesis.IncreaseStreamRetentionPeriod- (- -- * Creating a Request- increaseStreamRetentionPeriod- , IncreaseStreamRetentionPeriod- -- * Request Lenses- , isrpStreamName- , isrpRetentionPeriodHours-- -- * Destructuring the Response- , increaseStreamRetentionPeriodResponse- , IncreaseStreamRetentionPeriodResponse- ) where--import Network.AWS.Kinesis.Types-import Network.AWS.Kinesis.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Represents the input for 'IncreaseStreamRetentionPeriod' .------------ /See:/ 'increaseStreamRetentionPeriod' smart constructor.-data IncreaseStreamRetentionPeriod = IncreaseStreamRetentionPeriod'- { _isrpStreamName :: !Text- , _isrpRetentionPeriodHours :: !Nat- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'IncreaseStreamRetentionPeriod' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'isrpStreamName' - The name of the stream to modify.------ * 'isrpRetentionPeriodHours' - The new retention period of the stream, in hours. Must be more than the current retention period.-increaseStreamRetentionPeriod- :: Text -- ^ 'isrpStreamName'- -> Natural -- ^ 'isrpRetentionPeriodHours'- -> IncreaseStreamRetentionPeriod-increaseStreamRetentionPeriod pStreamName_ pRetentionPeriodHours_ =- IncreaseStreamRetentionPeriod'- { _isrpStreamName = pStreamName_- , _isrpRetentionPeriodHours = _Nat # pRetentionPeriodHours_- }----- | The name of the stream to modify.-isrpStreamName :: Lens' IncreaseStreamRetentionPeriod Text-isrpStreamName = lens _isrpStreamName (\ s a -> s{_isrpStreamName = a})---- | The new retention period of the stream, in hours. Must be more than the current retention period.-isrpRetentionPeriodHours :: Lens' IncreaseStreamRetentionPeriod Natural-isrpRetentionPeriodHours = lens _isrpRetentionPeriodHours (\ s a -> s{_isrpRetentionPeriodHours = a}) . _Nat--instance AWSRequest IncreaseStreamRetentionPeriod- where- type Rs IncreaseStreamRetentionPeriod =- IncreaseStreamRetentionPeriodResponse- request = postJSON kinesis- response- = receiveNull IncreaseStreamRetentionPeriodResponse'--instance Hashable IncreaseStreamRetentionPeriod where--instance NFData IncreaseStreamRetentionPeriod where--instance ToHeaders IncreaseStreamRetentionPeriod- where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("Kinesis_20131202.IncreaseStreamRetentionPeriod" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON IncreaseStreamRetentionPeriod where- toJSON IncreaseStreamRetentionPeriod'{..}- = object- (catMaybes- [Just ("StreamName" .= _isrpStreamName),- Just- ("RetentionPeriodHours" .=- _isrpRetentionPeriodHours)])--instance ToPath IncreaseStreamRetentionPeriod where- toPath = const "/"--instance ToQuery IncreaseStreamRetentionPeriod where- toQuery = const mempty---- | /See:/ 'increaseStreamRetentionPeriodResponse' smart constructor.-data IncreaseStreamRetentionPeriodResponse =- IncreaseStreamRetentionPeriodResponse'- deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'IncreaseStreamRetentionPeriodResponse' with the minimum fields required to make a request.----increaseStreamRetentionPeriodResponse- :: IncreaseStreamRetentionPeriodResponse-increaseStreamRetentionPeriodResponse = IncreaseStreamRetentionPeriodResponse'---instance NFData IncreaseStreamRetentionPeriodResponse- where
− gen/Network/AWS/Kinesis/ListShards.hs
@@ -1,190 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Kinesis.ListShards--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Lists the shards in a stream and provides information about each shard.--------- /Important:/ This API is a new operation that is used by the Amazon Kinesis Client Library (KCL). If you have a fine-grained IAM policy that only allows specific operations, you must update your policy to allow calls to this API. For more information, see <https://docs.aws.amazon.com/streams/latest/dev/controlling-access.html Controlling Access to Amazon Kinesis Data Streams Resources Using IAM> .----module Network.AWS.Kinesis.ListShards- (- -- * Creating a Request- listShards- , ListShards- -- * Request Lenses- , lsNextToken- , lsExclusiveStartShardId- , lsStreamCreationTimestamp- , lsStreamName- , lsMaxResults-- -- * Destructuring the Response- , listShardsResponse- , ListShardsResponse- -- * Response Lenses- , lrsNextToken- , lrsShards- , lrsResponseStatus- ) where--import Network.AWS.Kinesis.Types-import Network.AWS.Kinesis.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'listShards' smart constructor.-data ListShards = ListShards'- { _lsNextToken :: !(Maybe Text)- , _lsExclusiveStartShardId :: !(Maybe Text)- , _lsStreamCreationTimestamp :: !(Maybe POSIX)- , _lsStreamName :: !(Maybe Text)- , _lsMaxResults :: !(Maybe Nat)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListShards' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lsNextToken' - When the number of shards in the data stream is greater than the default value for the @MaxResults@ parameter, or if you explicitly specify a value for @MaxResults@ that is less than the number of shards in the data stream, the response includes a pagination token named @NextToken@ . You can specify this @NextToken@ value in a subsequent call to @ListShards@ to list the next set of shards. Don't specify @StreamName@ or @StreamCreationTimestamp@ if you specify @NextToken@ because the latter unambiguously identifies the stream. You can optionally specify a value for the @MaxResults@ parameter when you specify @NextToken@ . If you specify a @MaxResults@ value that is less than the number of shards that the operation returns if you don't specify @MaxResults@ , the response will contain a new @NextToken@ value. You can use the new @NextToken@ value in a subsequent call to the @ListShards@ operation. /Important:/ Tokens expire after 300 seconds. When you obtain a value for @NextToken@ in the response to a call to @ListShards@ , you have 300 seconds to use that value. If you specify an expired token in a call to @ListShards@ , you get @ExpiredNextTokenException@ .------ * 'lsExclusiveStartShardId' - The ID of the shard to start the list with. If you don't specify this parameter, the default behavior is for @ListShards@ to list the shards starting with the first one in the stream. You cannot specify this parameter if you specify @NextToken@ .------ * 'lsStreamCreationTimestamp' - Specify this input parameter to distinguish data streams that have the same name. For example, if you create a data stream and then delete it, and you later create another data stream with the same name, you can use this input parameter to specify which of the two streams you want to list the shards for. You cannot specify this parameter if you specify the @NextToken@ parameter.------ * 'lsStreamName' - The name of the data stream whose shards you want to list. You cannot specify this parameter if you specify the @NextToken@ parameter.------ * 'lsMaxResults' - The maximum number of shards to return in a single call to @ListShards@ . The minimum value you can specify for this parameter is 1, and the maximum is 1,000, which is also the default. When the number of shards to be listed is greater than the value of @MaxResults@ , the response contains a @NextToken@ value that you can use in a subsequent call to @ListShards@ to list the next set of shards.-listShards- :: ListShards-listShards =- ListShards'- { _lsNextToken = Nothing- , _lsExclusiveStartShardId = Nothing- , _lsStreamCreationTimestamp = Nothing- , _lsStreamName = Nothing- , _lsMaxResults = Nothing- }----- | When the number of shards in the data stream is greater than the default value for the @MaxResults@ parameter, or if you explicitly specify a value for @MaxResults@ that is less than the number of shards in the data stream, the response includes a pagination token named @NextToken@ . You can specify this @NextToken@ value in a subsequent call to @ListShards@ to list the next set of shards. Don't specify @StreamName@ or @StreamCreationTimestamp@ if you specify @NextToken@ because the latter unambiguously identifies the stream. You can optionally specify a value for the @MaxResults@ parameter when you specify @NextToken@ . If you specify a @MaxResults@ value that is less than the number of shards that the operation returns if you don't specify @MaxResults@ , the response will contain a new @NextToken@ value. You can use the new @NextToken@ value in a subsequent call to the @ListShards@ operation. /Important:/ Tokens expire after 300 seconds. When you obtain a value for @NextToken@ in the response to a call to @ListShards@ , you have 300 seconds to use that value. If you specify an expired token in a call to @ListShards@ , you get @ExpiredNextTokenException@ .-lsNextToken :: Lens' ListShards (Maybe Text)-lsNextToken = lens _lsNextToken (\ s a -> s{_lsNextToken = a})---- | The ID of the shard to start the list with. If you don't specify this parameter, the default behavior is for @ListShards@ to list the shards starting with the first one in the stream. You cannot specify this parameter if you specify @NextToken@ .-lsExclusiveStartShardId :: Lens' ListShards (Maybe Text)-lsExclusiveStartShardId = lens _lsExclusiveStartShardId (\ s a -> s{_lsExclusiveStartShardId = a})---- | Specify this input parameter to distinguish data streams that have the same name. For example, if you create a data stream and then delete it, and you later create another data stream with the same name, you can use this input parameter to specify which of the two streams you want to list the shards for. You cannot specify this parameter if you specify the @NextToken@ parameter.-lsStreamCreationTimestamp :: Lens' ListShards (Maybe UTCTime)-lsStreamCreationTimestamp = lens _lsStreamCreationTimestamp (\ s a -> s{_lsStreamCreationTimestamp = a}) . mapping _Time---- | The name of the data stream whose shards you want to list. You cannot specify this parameter if you specify the @NextToken@ parameter.-lsStreamName :: Lens' ListShards (Maybe Text)-lsStreamName = lens _lsStreamName (\ s a -> s{_lsStreamName = a})---- | The maximum number of shards to return in a single call to @ListShards@ . The minimum value you can specify for this parameter is 1, and the maximum is 1,000, which is also the default. When the number of shards to be listed is greater than the value of @MaxResults@ , the response contains a @NextToken@ value that you can use in a subsequent call to @ListShards@ to list the next set of shards.-lsMaxResults :: Lens' ListShards (Maybe Natural)-lsMaxResults = lens _lsMaxResults (\ s a -> s{_lsMaxResults = a}) . mapping _Nat--instance AWSRequest ListShards where- type Rs ListShards = ListShardsResponse- request = postJSON kinesis- response- = receiveJSON- (\ s h x ->- ListShardsResponse' <$>- (x .?> "NextToken") <*> (x .?> "Shards" .!@ mempty)- <*> (pure (fromEnum s)))--instance Hashable ListShards where--instance NFData ListShards where--instance ToHeaders ListShards where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("Kinesis_20131202.ListShards" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListShards where- toJSON ListShards'{..}- = object- (catMaybes- [("NextToken" .=) <$> _lsNextToken,- ("ExclusiveStartShardId" .=) <$>- _lsExclusiveStartShardId,- ("StreamCreationTimestamp" .=) <$>- _lsStreamCreationTimestamp,- ("StreamName" .=) <$> _lsStreamName,- ("MaxResults" .=) <$> _lsMaxResults])--instance ToPath ListShards where- toPath = const "/"--instance ToQuery ListShards where- toQuery = const mempty---- | /See:/ 'listShardsResponse' smart constructor.-data ListShardsResponse = ListShardsResponse'- { _lrsNextToken :: !(Maybe Text)- , _lrsShards :: !(Maybe [Shard])- , _lrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListShardsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lrsNextToken' - When the number of shards in the data stream is greater than the default value for the @MaxResults@ parameter, or if you explicitly specify a value for @MaxResults@ that is less than the number of shards in the data stream, the response includes a pagination token named @NextToken@ . You can specify this @NextToken@ value in a subsequent call to @ListShards@ to list the next set of shards. For more information about the use of this pagination token when calling the @ListShards@ operation, see 'ListShardsInput$NextToken' . /Important:/ Tokens expire after 300 seconds. When you obtain a value for @NextToken@ in the response to a call to @ListShards@ , you have 300 seconds to use that value. If you specify an expired token in a call to @ListShards@ , you get @ExpiredNextTokenException@ .------ * 'lrsShards' - An array of JSON objects. Each object represents one shard and specifies the IDs of the shard, the shard's parent, and the shard that's adjacent to the shard's parent. Each object also contains the starting and ending hash keys and the starting and ending sequence numbers for the shard.------ * 'lrsResponseStatus' - -- | The response status code.-listShardsResponse- :: Int -- ^ 'lrsResponseStatus'- -> ListShardsResponse-listShardsResponse pResponseStatus_ =- ListShardsResponse'- { _lrsNextToken = Nothing- , _lrsShards = Nothing- , _lrsResponseStatus = pResponseStatus_- }----- | When the number of shards in the data stream is greater than the default value for the @MaxResults@ parameter, or if you explicitly specify a value for @MaxResults@ that is less than the number of shards in the data stream, the response includes a pagination token named @NextToken@ . You can specify this @NextToken@ value in a subsequent call to @ListShards@ to list the next set of shards. For more information about the use of this pagination token when calling the @ListShards@ operation, see 'ListShardsInput$NextToken' . /Important:/ Tokens expire after 300 seconds. When you obtain a value for @NextToken@ in the response to a call to @ListShards@ , you have 300 seconds to use that value. If you specify an expired token in a call to @ListShards@ , you get @ExpiredNextTokenException@ .-lrsNextToken :: Lens' ListShardsResponse (Maybe Text)-lrsNextToken = lens _lrsNextToken (\ s a -> s{_lrsNextToken = a})---- | An array of JSON objects. Each object represents one shard and specifies the IDs of the shard, the shard's parent, and the shard that's adjacent to the shard's parent. Each object also contains the starting and ending hash keys and the starting and ending sequence numbers for the shard.-lrsShards :: Lens' ListShardsResponse [Shard]-lrsShards = lens _lrsShards (\ s a -> s{_lrsShards = a}) . _Default . _Coerce---- | -- | The response status code.-lrsResponseStatus :: Lens' ListShardsResponse Int-lrsResponseStatus = lens _lrsResponseStatus (\ s a -> s{_lrsResponseStatus = a})--instance NFData ListShardsResponse where
− gen/Network/AWS/Kinesis/ListStreams.hs
@@ -1,182 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Kinesis.ListStreams--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Lists your Kinesis data streams.--------- The number of streams may be too large to return from a single call to @ListStreams@ . You can limit the number of returned streams using the @Limit@ parameter. If you do not specify a value for the @Limit@ parameter, Kinesis Data Streams uses the default limit, which is currently 10.------ You can detect if there are more streams available to list by using the @HasMoreStreams@ flag from the returned output. If there are more streams available, you can request more streams by using the name of the last stream returned by the @ListStreams@ request in the @ExclusiveStartStreamName@ parameter in a subsequent request to @ListStreams@ . The group of stream names returned by the subsequent request is then added to the list. You can continue this process until all the stream names have been collected in the list.------ 'ListStreams' has a limit of five transactions per second per account.--------- This operation returns paginated results.-module Network.AWS.Kinesis.ListStreams- (- -- * Creating a Request- listStreams- , ListStreams- -- * Request Lenses- , lsLimit- , lsExclusiveStartStreamName-- -- * Destructuring the Response- , listStreamsResponse- , ListStreamsResponse- -- * Response Lenses- , lsrsResponseStatus- , lsrsStreamNames- , lsrsHasMoreStreams- ) where--import Network.AWS.Kinesis.Types-import Network.AWS.Kinesis.Types.Product-import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Represents the input for @ListStreams@ .------------ /See:/ 'listStreams' smart constructor.-data ListStreams = ListStreams'- { _lsLimit :: !(Maybe Nat)- , _lsExclusiveStartStreamName :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListStreams' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lsLimit' - The maximum number of streams to list.------ * 'lsExclusiveStartStreamName' - The name of the stream to start the list with.-listStreams- :: ListStreams-listStreams =- ListStreams' {_lsLimit = Nothing, _lsExclusiveStartStreamName = Nothing}----- | The maximum number of streams to list.-lsLimit :: Lens' ListStreams (Maybe Natural)-lsLimit = lens _lsLimit (\ s a -> s{_lsLimit = a}) . mapping _Nat---- | The name of the stream to start the list with.-lsExclusiveStartStreamName :: Lens' ListStreams (Maybe Text)-lsExclusiveStartStreamName = lens _lsExclusiveStartStreamName (\ s a -> s{_lsExclusiveStartStreamName = a})--instance AWSPager ListStreams where- page rq rs- | stop (rs ^. lsrsHasMoreStreams) = Nothing- | isNothing (rs ^? lsrsStreamNames . _last) = Nothing- | otherwise =- Just $ rq &- lsExclusiveStartStreamName .~- rs ^? lsrsStreamNames . _last--instance AWSRequest ListStreams where- type Rs ListStreams = ListStreamsResponse- request = postJSON kinesis- response- = receiveJSON- (\ s h x ->- ListStreamsResponse' <$>- (pure (fromEnum s)) <*>- (x .?> "StreamNames" .!@ mempty)- <*> (x .:> "HasMoreStreams"))--instance Hashable ListStreams where--instance NFData ListStreams where--instance ToHeaders ListStreams where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("Kinesis_20131202.ListStreams" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListStreams where- toJSON ListStreams'{..}- = object- (catMaybes- [("Limit" .=) <$> _lsLimit,- ("ExclusiveStartStreamName" .=) <$>- _lsExclusiveStartStreamName])--instance ToPath ListStreams where- toPath = const "/"--instance ToQuery ListStreams where- toQuery = const mempty---- | Represents the output for @ListStreams@ .------------ /See:/ 'listStreamsResponse' smart constructor.-data ListStreamsResponse = ListStreamsResponse'- { _lsrsResponseStatus :: !Int- , _lsrsStreamNames :: ![Text]- , _lsrsHasMoreStreams :: !Bool- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListStreamsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lsrsResponseStatus' - -- | The response status code.------ * 'lsrsStreamNames' - The names of the streams that are associated with the AWS account making the @ListStreams@ request.------ * 'lsrsHasMoreStreams' - If set to @true@ , there are more streams available to list.-listStreamsResponse- :: Int -- ^ 'lsrsResponseStatus'- -> Bool -- ^ 'lsrsHasMoreStreams'- -> ListStreamsResponse-listStreamsResponse pResponseStatus_ pHasMoreStreams_ =- ListStreamsResponse'- { _lsrsResponseStatus = pResponseStatus_- , _lsrsStreamNames = mempty- , _lsrsHasMoreStreams = pHasMoreStreams_- }----- | -- | The response status code.-lsrsResponseStatus :: Lens' ListStreamsResponse Int-lsrsResponseStatus = lens _lsrsResponseStatus (\ s a -> s{_lsrsResponseStatus = a})---- | The names of the streams that are associated with the AWS account making the @ListStreams@ request.-lsrsStreamNames :: Lens' ListStreamsResponse [Text]-lsrsStreamNames = lens _lsrsStreamNames (\ s a -> s{_lsrsStreamNames = a}) . _Coerce---- | If set to @true@ , there are more streams available to list.-lsrsHasMoreStreams :: Lens' ListStreamsResponse Bool-lsrsHasMoreStreams = lens _lsrsHasMoreStreams (\ s a -> s{_lsrsHasMoreStreams = a})--instance NFData ListStreamsResponse where
− gen/Network/AWS/Kinesis/ListTagsForStream.hs
@@ -1,177 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Kinesis.ListTagsForStream--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Lists the tags for the specified Kinesis data stream. This operation has a limit of five transactions per second per account.-------module Network.AWS.Kinesis.ListTagsForStream- (- -- * Creating a Request- listTagsForStream- , ListTagsForStream- -- * Request Lenses- , ltfsLimit- , ltfsExclusiveStartTagKey- , ltfsStreamName-- -- * Destructuring the Response- , listTagsForStreamResponse- , ListTagsForStreamResponse- -- * Response Lenses- , ltfsrsResponseStatus- , ltfsrsTags- , ltfsrsHasMoreTags- ) where--import Network.AWS.Kinesis.Types-import Network.AWS.Kinesis.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Represents the input for @ListTagsForStream@ .------------ /See:/ 'listTagsForStream' smart constructor.-data ListTagsForStream = ListTagsForStream'- { _ltfsLimit :: !(Maybe Nat)- , _ltfsExclusiveStartTagKey :: !(Maybe Text)- , _ltfsStreamName :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListTagsForStream' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ltfsLimit' - The number of tags to return. If this number is less than the total number of tags associated with the stream, @HasMoreTags@ is set to @true@ . To list additional tags, set @ExclusiveStartTagKey@ to the last key in the response.------ * 'ltfsExclusiveStartTagKey' - The key to use as the starting point for the list of tags. If this parameter is set, @ListTagsForStream@ gets all tags that occur after @ExclusiveStartTagKey@ .------ * 'ltfsStreamName' - The name of the stream.-listTagsForStream- :: Text -- ^ 'ltfsStreamName'- -> ListTagsForStream-listTagsForStream pStreamName_ =- ListTagsForStream'- { _ltfsLimit = Nothing- , _ltfsExclusiveStartTagKey = Nothing- , _ltfsStreamName = pStreamName_- }----- | The number of tags to return. If this number is less than the total number of tags associated with the stream, @HasMoreTags@ is set to @true@ . To list additional tags, set @ExclusiveStartTagKey@ to the last key in the response.-ltfsLimit :: Lens' ListTagsForStream (Maybe Natural)-ltfsLimit = lens _ltfsLimit (\ s a -> s{_ltfsLimit = a}) . mapping _Nat---- | The key to use as the starting point for the list of tags. If this parameter is set, @ListTagsForStream@ gets all tags that occur after @ExclusiveStartTagKey@ .-ltfsExclusiveStartTagKey :: Lens' ListTagsForStream (Maybe Text)-ltfsExclusiveStartTagKey = lens _ltfsExclusiveStartTagKey (\ s a -> s{_ltfsExclusiveStartTagKey = a})---- | The name of the stream.-ltfsStreamName :: Lens' ListTagsForStream Text-ltfsStreamName = lens _ltfsStreamName (\ s a -> s{_ltfsStreamName = a})--instance AWSRequest ListTagsForStream where- type Rs ListTagsForStream = ListTagsForStreamResponse- request = postJSON kinesis- response- = receiveJSON- (\ s h x ->- ListTagsForStreamResponse' <$>- (pure (fromEnum s)) <*> (x .?> "Tags" .!@ mempty) <*>- (x .:> "HasMoreTags"))--instance Hashable ListTagsForStream where--instance NFData ListTagsForStream where--instance ToHeaders ListTagsForStream where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("Kinesis_20131202.ListTagsForStream" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListTagsForStream where- toJSON ListTagsForStream'{..}- = object- (catMaybes- [("Limit" .=) <$> _ltfsLimit,- ("ExclusiveStartTagKey" .=) <$>- _ltfsExclusiveStartTagKey,- Just ("StreamName" .= _ltfsStreamName)])--instance ToPath ListTagsForStream where- toPath = const "/"--instance ToQuery ListTagsForStream where- toQuery = const mempty---- | Represents the output for @ListTagsForStream@ .------------ /See:/ 'listTagsForStreamResponse' smart constructor.-data ListTagsForStreamResponse = ListTagsForStreamResponse'- { _ltfsrsResponseStatus :: !Int- , _ltfsrsTags :: ![Tag]- , _ltfsrsHasMoreTags :: !Bool- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListTagsForStreamResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ltfsrsResponseStatus' - -- | The response status code.------ * 'ltfsrsTags' - A list of tags associated with @StreamName@ , starting with the first tag after @ExclusiveStartTagKey@ and up to the specified @Limit@ .------ * 'ltfsrsHasMoreTags' - If set to @true@ , more tags are available. To request additional tags, set @ExclusiveStartTagKey@ to the key of the last tag returned.-listTagsForStreamResponse- :: Int -- ^ 'ltfsrsResponseStatus'- -> Bool -- ^ 'ltfsrsHasMoreTags'- -> ListTagsForStreamResponse-listTagsForStreamResponse pResponseStatus_ pHasMoreTags_ =- ListTagsForStreamResponse'- { _ltfsrsResponseStatus = pResponseStatus_- , _ltfsrsTags = mempty- , _ltfsrsHasMoreTags = pHasMoreTags_- }----- | -- | The response status code.-ltfsrsResponseStatus :: Lens' ListTagsForStreamResponse Int-ltfsrsResponseStatus = lens _ltfsrsResponseStatus (\ s a -> s{_ltfsrsResponseStatus = a})---- | A list of tags associated with @StreamName@ , starting with the first tag after @ExclusiveStartTagKey@ and up to the specified @Limit@ .-ltfsrsTags :: Lens' ListTagsForStreamResponse [Tag]-ltfsrsTags = lens _ltfsrsTags (\ s a -> s{_ltfsrsTags = a}) . _Coerce---- | If set to @true@ , more tags are available. To request additional tags, set @ExclusiveStartTagKey@ to the key of the last tag returned.-ltfsrsHasMoreTags :: Lens' ListTagsForStreamResponse Bool-ltfsrsHasMoreTags = lens _ltfsrsHasMoreTags (\ s a -> s{_ltfsrsHasMoreTags = a})--instance NFData ListTagsForStreamResponse where
− gen/Network/AWS/Kinesis/MergeShards.hs
@@ -1,152 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Kinesis.MergeShards--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Merges two adjacent shards in a Kinesis data stream and combines them into a single shard to reduce the stream's capacity to ingest and transport data. Two shards are considered adjacent if the union of the hash key ranges for the two shards form a contiguous set with no gaps. For example, if you have two shards, one with a hash key range of 276...381 and the other with a hash key range of 382...454, then you could merge these two shards into a single shard that would have a hash key range of 276...454. After the merge, the single child shard receives data for all hash key values covered by the two parent shards.--------- @MergeShards@ is called when there is a need to reduce the overall capacity of a stream because of excess capacity that is not being used. You must specify the shard to be merged and the adjacent shard for a stream. For more information about merging shards, see <http://docs.aws.amazon.com/kinesis/latest/dev/kinesis-using-sdk-java-resharding-merge.html Merge Two Shards> in the /Amazon Kinesis Data Streams Developer Guide/ .------ If the stream is in the @ACTIVE@ state, you can call @MergeShards@ . If a stream is in the @CREATING@ , @UPDATING@ , or @DELETING@ state, @MergeShards@ returns a @ResourceInUseException@ . If the specified stream does not exist, @MergeShards@ returns a @ResourceNotFoundException@ .------ You can use 'DescribeStream' to check the state of the stream, which is returned in @StreamStatus@ .------ @MergeShards@ is an asynchronous operation. Upon receiving a @MergeShards@ request, Amazon Kinesis Data Streams immediately returns a response and sets the @StreamStatus@ to @UPDATING@ . After the operation is completed, Kinesis Data Streams sets the @StreamStatus@ to @ACTIVE@ . Read and write operations continue to work while the stream is in the @UPDATING@ state.------ You use 'DescribeStream' to determine the shard IDs that are specified in the @MergeShards@ request.------ If you try to operate on too many streams in parallel using 'CreateStream' , 'DeleteStream' , @MergeShards@ , or 'SplitShard' , you receive a @LimitExceededException@ .------ @MergeShards@ has a limit of five transactions per second per account.----module Network.AWS.Kinesis.MergeShards- (- -- * Creating a Request- mergeShards- , MergeShards- -- * Request Lenses- , msStreamName- , msShardToMerge- , msAdjacentShardToMerge-- -- * Destructuring the Response- , mergeShardsResponse- , MergeShardsResponse- ) where--import Network.AWS.Kinesis.Types-import Network.AWS.Kinesis.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Represents the input for @MergeShards@ .------------ /See:/ 'mergeShards' smart constructor.-data MergeShards = MergeShards'- { _msStreamName :: !Text- , _msShardToMerge :: !Text- , _msAdjacentShardToMerge :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'MergeShards' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'msStreamName' - The name of the stream for the merge.------ * 'msShardToMerge' - The shard ID of the shard to combine with the adjacent shard for the merge.------ * 'msAdjacentShardToMerge' - The shard ID of the adjacent shard for the merge.-mergeShards- :: Text -- ^ 'msStreamName'- -> Text -- ^ 'msShardToMerge'- -> Text -- ^ 'msAdjacentShardToMerge'- -> MergeShards-mergeShards pStreamName_ pShardToMerge_ pAdjacentShardToMerge_ =- MergeShards'- { _msStreamName = pStreamName_- , _msShardToMerge = pShardToMerge_- , _msAdjacentShardToMerge = pAdjacentShardToMerge_- }----- | The name of the stream for the merge.-msStreamName :: Lens' MergeShards Text-msStreamName = lens _msStreamName (\ s a -> s{_msStreamName = a})---- | The shard ID of the shard to combine with the adjacent shard for the merge.-msShardToMerge :: Lens' MergeShards Text-msShardToMerge = lens _msShardToMerge (\ s a -> s{_msShardToMerge = a})---- | The shard ID of the adjacent shard for the merge.-msAdjacentShardToMerge :: Lens' MergeShards Text-msAdjacentShardToMerge = lens _msAdjacentShardToMerge (\ s a -> s{_msAdjacentShardToMerge = a})--instance AWSRequest MergeShards where- type Rs MergeShards = MergeShardsResponse- request = postJSON kinesis- response = receiveNull MergeShardsResponse'--instance Hashable MergeShards where--instance NFData MergeShards where--instance ToHeaders MergeShards where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("Kinesis_20131202.MergeShards" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON MergeShards where- toJSON MergeShards'{..}- = object- (catMaybes- [Just ("StreamName" .= _msStreamName),- Just ("ShardToMerge" .= _msShardToMerge),- Just- ("AdjacentShardToMerge" .= _msAdjacentShardToMerge)])--instance ToPath MergeShards where- toPath = const "/"--instance ToQuery MergeShards where- toQuery = const mempty---- | /See:/ 'mergeShardsResponse' smart constructor.-data MergeShardsResponse =- MergeShardsResponse'- deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'MergeShardsResponse' with the minimum fields required to make a request.----mergeShardsResponse- :: MergeShardsResponse-mergeShardsResponse = MergeShardsResponse'---instance NFData MergeShardsResponse where
− gen/Network/AWS/Kinesis/PutRecord.hs
@@ -1,226 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Kinesis.PutRecord--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Writes a single data record into an Amazon Kinesis data stream. Call @PutRecord@ to send data into the stream for real-time ingestion and subsequent processing, one record at a time. Each shard can support writes up to 1,000 records per second, up to a maximum data write total of 1 MB per second.--------- You must specify the name of the stream that captures, stores, and transports the data; a partition key; and the data blob itself.------ The data blob can be any type of data; for example, a segment from a log file, geographic/location data, website clickstream data, and so on.------ The partition key is used by Kinesis Data Streams to distribute data across shards. Kinesis Data Streams segregates the data records that belong to a stream into multiple shards, using the partition key associated with each data record to determine the shard to which a given data record belongs.------ Partition keys are Unicode strings, with a maximum length limit of 256 characters for each key. An MD5 hash function is used to map partition keys to 128-bit integer values and to map associated data records to shards using the hash key ranges of the shards. You can override hashing the partition key to determine the shard by explicitly specifying a hash value using the @ExplicitHashKey@ parameter. For more information, see <http://docs.aws.amazon.com/kinesis/latest/dev/developing-producers-with-sdk.html#kinesis-using-sdk-java-add-data-to-stream Adding Data to a Stream> in the /Amazon Kinesis Data Streams Developer Guide/ .------ @PutRecord@ returns the shard ID of where the data record was placed and the sequence number that was assigned to the data record.------ Sequence numbers increase over time and are specific to a shard within a stream, not across all shards within a stream. To guarantee strictly increasing ordering, write serially to a shard and use the @SequenceNumberForOrdering@ parameter. For more information, see <http://docs.aws.amazon.com/kinesis/latest/dev/developing-producers-with-sdk.html#kinesis-using-sdk-java-add-data-to-stream Adding Data to a Stream> in the /Amazon Kinesis Data Streams Developer Guide/ .------ If a @PutRecord@ request cannot be processed because of insufficient provisioned throughput on the shard involved in the request, @PutRecord@ throws @ProvisionedThroughputExceededException@ .------ By default, data records are accessible for 24 hours from the time that they are added to a stream. You can use 'IncreaseStreamRetentionPeriod' or 'DecreaseStreamRetentionPeriod' to modify this retention period.----module Network.AWS.Kinesis.PutRecord- (- -- * Creating a Request- putRecord- , PutRecord- -- * Request Lenses- , prExplicitHashKey- , prSequenceNumberForOrdering- , prStreamName- , prData- , prPartitionKey-- -- * Destructuring the Response- , putRecordResponse- , PutRecordResponse- -- * Response Lenses- , prrsEncryptionType- , prrsResponseStatus- , prrsShardId- , prrsSequenceNumber- ) where--import Network.AWS.Kinesis.Types-import Network.AWS.Kinesis.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Represents the input for @PutRecord@ .------------ /See:/ 'putRecord' smart constructor.-data PutRecord = PutRecord'- { _prExplicitHashKey :: !(Maybe Text)- , _prSequenceNumberForOrdering :: !(Maybe Text)- , _prStreamName :: !Text- , _prData :: !Base64- , _prPartitionKey :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PutRecord' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prExplicitHashKey' - The hash value used to explicitly determine the shard the data record is assigned to by overriding the partition key hash.------ * 'prSequenceNumberForOrdering' - Guarantees strictly increasing sequence numbers, for puts from the same client and to the same partition key. Usage: set the @SequenceNumberForOrdering@ of record /n/ to the sequence number of record /n-1/ (as returned in the result when putting record /n-1/ ). If this parameter is not set, records are coarsely ordered based on arrival time.------ * 'prStreamName' - The name of the stream to put the data record into.------ * 'prData' - 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.------ * 'prPartitionKey' - 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.-putRecord- :: Text -- ^ 'prStreamName'- -> ByteString -- ^ 'prData'- -> Text -- ^ 'prPartitionKey'- -> PutRecord-putRecord pStreamName_ pData_ pPartitionKey_ =- PutRecord'- { _prExplicitHashKey = Nothing- , _prSequenceNumberForOrdering = Nothing- , _prStreamName = pStreamName_- , _prData = _Base64 # pData_- , _prPartitionKey = pPartitionKey_- }----- | The hash value used to explicitly determine the shard the data record is assigned to by overriding the partition key hash.-prExplicitHashKey :: Lens' PutRecord (Maybe Text)-prExplicitHashKey = lens _prExplicitHashKey (\ s a -> s{_prExplicitHashKey = a})---- | Guarantees strictly increasing sequence numbers, for puts from the same client and to the same partition key. Usage: set the @SequenceNumberForOrdering@ of record /n/ to the sequence number of record /n-1/ (as returned in the result when putting record /n-1/ ). If this parameter is not set, records are coarsely ordered based on arrival time.-prSequenceNumberForOrdering :: Lens' PutRecord (Maybe Text)-prSequenceNumberForOrdering = lens _prSequenceNumberForOrdering (\ s a -> s{_prSequenceNumberForOrdering = a})---- | The name of the stream to put the data record into.-prStreamName :: Lens' PutRecord Text-prStreamName = lens _prStreamName (\ s a -> s{_prStreamName = a})---- | 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.-prData :: Lens' PutRecord ByteString-prData = lens _prData (\ s a -> s{_prData = a}) . _Base64---- | 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.-prPartitionKey :: Lens' PutRecord Text-prPartitionKey = lens _prPartitionKey (\ s a -> s{_prPartitionKey = a})--instance AWSRequest PutRecord where- type Rs PutRecord = PutRecordResponse- request = postJSON kinesis- response- = receiveJSON- (\ s h x ->- PutRecordResponse' <$>- (x .?> "EncryptionType") <*> (pure (fromEnum s)) <*>- (x .:> "ShardId")- <*> (x .:> "SequenceNumber"))--instance Hashable PutRecord where--instance NFData PutRecord where--instance ToHeaders PutRecord where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("Kinesis_20131202.PutRecord" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON PutRecord where- toJSON PutRecord'{..}- = object- (catMaybes- [("ExplicitHashKey" .=) <$> _prExplicitHashKey,- ("SequenceNumberForOrdering" .=) <$>- _prSequenceNumberForOrdering,- Just ("StreamName" .= _prStreamName),- Just ("Data" .= _prData),- Just ("PartitionKey" .= _prPartitionKey)])--instance ToPath PutRecord where- toPath = const "/"--instance ToQuery PutRecord where- toQuery = const mempty---- | Represents the output for @PutRecord@ .------------ /See:/ 'putRecordResponse' smart constructor.-data PutRecordResponse = PutRecordResponse'- { _prrsEncryptionType :: !(Maybe EncryptionType)- , _prrsResponseStatus :: !Int- , _prrsShardId :: !Text- , _prrsSequenceNumber :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PutRecordResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prrsEncryptionType' - The encryption type to use 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.------ * 'prrsResponseStatus' - -- | The response status code.------ * 'prrsShardId' - The shard ID of the shard where the data record was placed.------ * 'prrsSequenceNumber' - The sequence number identifier that was assigned to the put data record. The sequence number for the record is unique across all records in the stream. A sequence number is the identifier associated with every record put into the stream.-putRecordResponse- :: Int -- ^ 'prrsResponseStatus'- -> Text -- ^ 'prrsShardId'- -> Text -- ^ 'prrsSequenceNumber'- -> PutRecordResponse-putRecordResponse pResponseStatus_ pShardId_ pSequenceNumber_ =- PutRecordResponse'- { _prrsEncryptionType = Nothing- , _prrsResponseStatus = pResponseStatus_- , _prrsShardId = pShardId_- , _prrsSequenceNumber = pSequenceNumber_- }----- | The encryption type to use 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.-prrsEncryptionType :: Lens' PutRecordResponse (Maybe EncryptionType)-prrsEncryptionType = lens _prrsEncryptionType (\ s a -> s{_prrsEncryptionType = a})---- | -- | The response status code.-prrsResponseStatus :: Lens' PutRecordResponse Int-prrsResponseStatus = lens _prrsResponseStatus (\ s a -> s{_prrsResponseStatus = a})---- | The shard ID of the shard where the data record was placed.-prrsShardId :: Lens' PutRecordResponse Text-prrsShardId = lens _prrsShardId (\ s a -> s{_prrsShardId = a})---- | The sequence number identifier that was assigned to the put data record. The sequence number for the record is unique across all records in the stream. A sequence number is the identifier associated with every record put into the stream.-prrsSequenceNumber :: Lens' PutRecordResponse Text-prrsSequenceNumber = lens _prrsSequenceNumber (\ s a -> s{_prrsSequenceNumber = a})--instance NFData PutRecordResponse where
− gen/Network/AWS/Kinesis/PutRecords.hs
@@ -1,196 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Kinesis.PutRecords--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Writes multiple data records into a Kinesis data stream in a single call (also referred to as a @PutRecords@ request). Use this operation to send data into the stream for data ingestion and processing.--------- Each @PutRecords@ request can support up to 500 records. Each record in the request can be as large as 1 MB, up to a limit of 5 MB for the entire request, including partition keys. Each shard can support writes up to 1,000 records per second, up to a maximum data write total of 1 MB per second.------ You must specify the name of the stream that captures, stores, and transports the data; and an array of request @Records@ , with each record in the array requiring a partition key and data blob. The record size limit applies to the total size of the partition key and data blob.------ The data blob can be any type of data; for example, a segment from a log file, geographic/location data, website clickstream data, and so on.------ The partition key is used by Kinesis Data Streams as input to a hash function that maps the partition key and associated data to a specific shard. 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. For more information, see <http://docs.aws.amazon.com/kinesis/latest/dev/developing-producers-with-sdk.html#kinesis-using-sdk-java-add-data-to-stream Adding Data to a Stream> in the /Amazon Kinesis Data Streams Developer Guide/ .------ Each record in the @Records@ array may include an optional parameter, @ExplicitHashKey@ , which overrides the partition key to shard mapping. This parameter allows a data producer to determine explicitly the shard where the record is stored. For more information, see <http://docs.aws.amazon.com/kinesis/latest/dev/developing-producers-with-sdk.html#kinesis-using-sdk-java-putrecords Adding Multiple Records with PutRecords> in the /Amazon Kinesis Data Streams Developer Guide/ .------ The @PutRecords@ response includes an array of response @Records@ . Each record in the response array directly correlates with a record in the request array using natural ordering, from the top to the bottom of the request and response. The response @Records@ array always includes the same number of records as the request array.------ The response @Records@ array includes both successfully and unsuccessfully processed records. Kinesis Data Streams attempts to process all records in each @PutRecords@ request. A single record failure does not stop the processing of subsequent records.------ A successfully processed record includes @ShardId@ and @SequenceNumber@ values. The @ShardId@ parameter identifies the shard in the stream where the record is stored. The @SequenceNumber@ parameter is an identifier assigned to the put record, unique to all records in the stream.------ An unsuccessfully processed record includes @ErrorCode@ and @ErrorMessage@ values. @ErrorCode@ reflects the type of error and can be one of the following values: @ProvisionedThroughputExceededException@ or @InternalFailure@ . @ErrorMessage@ provides more detailed information about the @ProvisionedThroughputExceededException@ exception including the account ID, stream name, and shard ID of the record that was throttled. For more information about partially successful responses, see <http://docs.aws.amazon.com/kinesis/latest/dev/kinesis-using-sdk-java-add-data-to-stream.html#kinesis-using-sdk-java-putrecords Adding Multiple Records with PutRecords> in the /Amazon Kinesis Data Streams Developer Guide/ .------ By default, data records are accessible for 24 hours from the time that they are added to a stream. You can use 'IncreaseStreamRetentionPeriod' or 'DecreaseStreamRetentionPeriod' to modify this retention period.----module Network.AWS.Kinesis.PutRecords- (- -- * Creating a Request- putRecords- , PutRecords- -- * Request Lenses- , pRecordEntries- , pStreamName-- -- * Destructuring the Response- , putRecordsResponse- , PutRecordsResponse- -- * Response Lenses- , prsEncryptionType- , prsFailedRecordCount- , prsResponseStatus- , prsRecords- ) where--import Network.AWS.Kinesis.Types-import Network.AWS.Kinesis.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | A @PutRecords@ request.------------ /See:/ 'putRecords' smart constructor.-data PutRecords = PutRecords'- { _pRecordEntries :: !(List1 PutRecordsRequestEntry)- , _pStreamName :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PutRecords' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pRecordEntries' - The records associated with the request.------ * 'pStreamName' - The stream name associated with the request.-putRecords- :: NonEmpty PutRecordsRequestEntry -- ^ 'pRecordEntries'- -> Text -- ^ 'pStreamName'- -> PutRecords-putRecords pRecordEntries_ pStreamName_ =- PutRecords'- {_pRecordEntries = _List1 # pRecordEntries_, _pStreamName = pStreamName_}----- | The records associated with the request.-pRecordEntries :: Lens' PutRecords (NonEmpty PutRecordsRequestEntry)-pRecordEntries = lens _pRecordEntries (\ s a -> s{_pRecordEntries = a}) . _List1---- | The stream name associated with the request.-pStreamName :: Lens' PutRecords Text-pStreamName = lens _pStreamName (\ s a -> s{_pStreamName = a})--instance AWSRequest PutRecords where- type Rs PutRecords = PutRecordsResponse- request = postJSON kinesis- response- = receiveJSON- (\ s h x ->- PutRecordsResponse' <$>- (x .?> "EncryptionType") <*>- (x .?> "FailedRecordCount")- <*> (pure (fromEnum s))- <*> (x .:> "Records"))--instance Hashable PutRecords where--instance NFData PutRecords where--instance ToHeaders PutRecords where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("Kinesis_20131202.PutRecords" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON PutRecords where- toJSON PutRecords'{..}- = object- (catMaybes- [Just ("Records" .= _pRecordEntries),- Just ("StreamName" .= _pStreamName)])--instance ToPath PutRecords where- toPath = const "/"--instance ToQuery PutRecords where- toQuery = const mempty---- | @PutRecords@ results.------------ /See:/ 'putRecordsResponse' smart constructor.-data PutRecordsResponse = PutRecordsResponse'- { _prsEncryptionType :: !(Maybe EncryptionType)- , _prsFailedRecordCount :: !(Maybe Nat)- , _prsResponseStatus :: !Int- , _prsRecords :: !(List1 PutRecordsResultEntry)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PutRecordsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prsEncryptionType' - The encryption type used on the records. This parameter can be one of the following values: * @NONE@ : Do not encrypt the records. * @KMS@ : Use server-side encryption on the records using a customer-managed AWS KMS key.------ * 'prsFailedRecordCount' - The number of unsuccessfully processed records in a @PutRecords@ request.------ * 'prsResponseStatus' - -- | The response status code.------ * 'prsRecords' - An array of successfully and unsuccessfully processed record results, correlated with the request by natural ordering. A record that is successfully added to a stream includes @SequenceNumber@ and @ShardId@ in the result. A record that fails to be added to a stream includes @ErrorCode@ and @ErrorMessage@ in the result.-putRecordsResponse- :: Int -- ^ 'prsResponseStatus'- -> NonEmpty PutRecordsResultEntry -- ^ 'prsRecords'- -> PutRecordsResponse-putRecordsResponse pResponseStatus_ pRecords_ =- PutRecordsResponse'- { _prsEncryptionType = Nothing- , _prsFailedRecordCount = Nothing- , _prsResponseStatus = pResponseStatus_- , _prsRecords = _List1 # pRecords_- }----- | The encryption type used on the records. This parameter can be one of the following values: * @NONE@ : Do not encrypt the records. * @KMS@ : Use server-side encryption on the records using a customer-managed AWS KMS key.-prsEncryptionType :: Lens' PutRecordsResponse (Maybe EncryptionType)-prsEncryptionType = lens _prsEncryptionType (\ s a -> s{_prsEncryptionType = a})---- | The number of unsuccessfully processed records in a @PutRecords@ request.-prsFailedRecordCount :: Lens' PutRecordsResponse (Maybe Natural)-prsFailedRecordCount = lens _prsFailedRecordCount (\ s a -> s{_prsFailedRecordCount = a}) . mapping _Nat---- | -- | The response status code.-prsResponseStatus :: Lens' PutRecordsResponse Int-prsResponseStatus = lens _prsResponseStatus (\ s a -> s{_prsResponseStatus = a})---- | An array of successfully and unsuccessfully processed record results, correlated with the request by natural ordering. A record that is successfully added to a stream includes @SequenceNumber@ and @ShardId@ in the result. A record that fails to be added to a stream includes @ErrorCode@ and @ErrorMessage@ in the result.-prsRecords :: Lens' PutRecordsResponse (NonEmpty PutRecordsResultEntry)-prsRecords = lens _prsRecords (\ s a -> s{_prsRecords = a}) . _List1--instance NFData PutRecordsResponse where
− gen/Network/AWS/Kinesis/RemoveTagsFromStream.hs
@@ -1,130 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Kinesis.RemoveTagsFromStream--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Removes tags from the specified Kinesis data stream. Removed tags are deleted and cannot be recovered after this operation successfully completes.--------- If you specify a tag that does not exist, it is ignored.------ 'RemoveTagsFromStream' has a limit of five transactions per second per account.----module Network.AWS.Kinesis.RemoveTagsFromStream- (- -- * Creating a Request- removeTagsFromStream- , RemoveTagsFromStream- -- * Request Lenses- , rtfsStreamName- , rtfsTagKeys-- -- * Destructuring the Response- , removeTagsFromStreamResponse- , RemoveTagsFromStreamResponse- ) where--import Network.AWS.Kinesis.Types-import Network.AWS.Kinesis.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Represents the input for @RemoveTagsFromStream@ .------------ /See:/ 'removeTagsFromStream' smart constructor.-data RemoveTagsFromStream = RemoveTagsFromStream'- { _rtfsStreamName :: !Text- , _rtfsTagKeys :: !(List1 Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RemoveTagsFromStream' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rtfsStreamName' - The name of the stream.------ * 'rtfsTagKeys' - A list of tag keys. Each corresponding tag is removed from the stream.-removeTagsFromStream- :: Text -- ^ 'rtfsStreamName'- -> NonEmpty Text -- ^ 'rtfsTagKeys'- -> RemoveTagsFromStream-removeTagsFromStream pStreamName_ pTagKeys_ =- RemoveTagsFromStream'- {_rtfsStreamName = pStreamName_, _rtfsTagKeys = _List1 # pTagKeys_}----- | The name of the stream.-rtfsStreamName :: Lens' RemoveTagsFromStream Text-rtfsStreamName = lens _rtfsStreamName (\ s a -> s{_rtfsStreamName = a})---- | A list of tag keys. Each corresponding tag is removed from the stream.-rtfsTagKeys :: Lens' RemoveTagsFromStream (NonEmpty Text)-rtfsTagKeys = lens _rtfsTagKeys (\ s a -> s{_rtfsTagKeys = a}) . _List1--instance AWSRequest RemoveTagsFromStream where- type Rs RemoveTagsFromStream =- RemoveTagsFromStreamResponse- request = postJSON kinesis- response = receiveNull RemoveTagsFromStreamResponse'--instance Hashable RemoveTagsFromStream where--instance NFData RemoveTagsFromStream where--instance ToHeaders RemoveTagsFromStream where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("Kinesis_20131202.RemoveTagsFromStream" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON RemoveTagsFromStream where- toJSON RemoveTagsFromStream'{..}- = object- (catMaybes- [Just ("StreamName" .= _rtfsStreamName),- Just ("TagKeys" .= _rtfsTagKeys)])--instance ToPath RemoveTagsFromStream where- toPath = const "/"--instance ToQuery RemoveTagsFromStream where- toQuery = const mempty---- | /See:/ 'removeTagsFromStreamResponse' smart constructor.-data RemoveTagsFromStreamResponse =- RemoveTagsFromStreamResponse'- deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RemoveTagsFromStreamResponse' with the minimum fields required to make a request.----removeTagsFromStreamResponse- :: RemoveTagsFromStreamResponse-removeTagsFromStreamResponse = RemoveTagsFromStreamResponse'---instance NFData RemoveTagsFromStreamResponse where
− gen/Network/AWS/Kinesis/SplitShard.hs
@@ -1,156 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Kinesis.SplitShard--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Splits a shard into two new shards in the Kinesis data stream, to increase the stream's capacity to ingest and transport data. @SplitShard@ is called when there is a need to increase the overall capacity of a stream because of an expected increase in the volume of data records being ingested.--------- You can also use @SplitShard@ when a shard appears to be approaching its maximum utilization; for example, the producers sending data into the specific shard are suddenly sending more than previously anticipated. You can also call @SplitShard@ to increase stream capacity, so that more Kinesis Data Streams applications can simultaneously read data from the stream for real-time processing.------ You must specify the shard to be split and the new hash key, which is the position in the shard where the shard gets split in two. In many cases, the new hash key might be the average of the beginning and ending hash key, but it can be any hash key value in the range being mapped into the shard. For more information, see <http://docs.aws.amazon.com/kinesis/latest/dev/kinesis-using-sdk-java-resharding-split.html Split a Shard> in the /Amazon Kinesis Data Streams Developer Guide/ .------ You can use 'DescribeStream' to determine the shard ID and hash key values for the @ShardToSplit@ and @NewStartingHashKey@ parameters that are specified in the @SplitShard@ request.------ @SplitShard@ is an asynchronous operation. Upon receiving a @SplitShard@ request, Kinesis Data Streams immediately returns a response and sets the stream status to @UPDATING@ . After the operation is completed, Kinesis Data Streams sets the stream status to @ACTIVE@ . Read and write operations continue to work while the stream is in the @UPDATING@ state.------ You can use @DescribeStream@ to check the status of the stream, which is returned in @StreamStatus@ . If the stream is in the @ACTIVE@ state, you can call @SplitShard@ . If a stream is in @CREATING@ or @UPDATING@ or @DELETING@ states, @DescribeStream@ returns a @ResourceInUseException@ .------ If the specified stream does not exist, @DescribeStream@ returns a @ResourceNotFoundException@ . If you try to create more shards than are authorized for your account, you receive a @LimitExceededException@ .------ For the default shard limit for an AWS account, see <http://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html Streams Limits> in the /Amazon Kinesis Data Streams Developer Guide/ . To increase this limit, <http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html contact AWS Support> .------ If you try to operate on too many streams simultaneously using 'CreateStream' , 'DeleteStream' , 'MergeShards' , and/or 'SplitShard' , you receive a @LimitExceededException@ .------ @SplitShard@ has a limit of five transactions per second per account.----module Network.AWS.Kinesis.SplitShard- (- -- * Creating a Request- splitShard- , SplitShard- -- * Request Lenses- , ssStreamName- , ssShardToSplit- , ssNewStartingHashKey-- -- * Destructuring the Response- , splitShardResponse- , SplitShardResponse- ) where--import Network.AWS.Kinesis.Types-import Network.AWS.Kinesis.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Represents the input for @SplitShard@ .------------ /See:/ 'splitShard' smart constructor.-data SplitShard = SplitShard'- { _ssStreamName :: !Text- , _ssShardToSplit :: !Text- , _ssNewStartingHashKey :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'SplitShard' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ssStreamName' - The name of the stream for the shard split.------ * 'ssShardToSplit' - The shard ID of the shard to split.------ * 'ssNewStartingHashKey' - A hash key value for the starting hash key of one of the child shards created by the split. The hash key range for a given shard constitutes a set of ordered contiguous positive integers. The value for @NewStartingHashKey@ must be in the range of hash keys being mapped into the shard. The @NewStartingHashKey@ hash key value and all higher hash key values in hash key range are distributed to one of the child shards. All the lower hash key values in the range are distributed to the other child shard.-splitShard- :: Text -- ^ 'ssStreamName'- -> Text -- ^ 'ssShardToSplit'- -> Text -- ^ 'ssNewStartingHashKey'- -> SplitShard-splitShard pStreamName_ pShardToSplit_ pNewStartingHashKey_ =- SplitShard'- { _ssStreamName = pStreamName_- , _ssShardToSplit = pShardToSplit_- , _ssNewStartingHashKey = pNewStartingHashKey_- }----- | The name of the stream for the shard split.-ssStreamName :: Lens' SplitShard Text-ssStreamName = lens _ssStreamName (\ s a -> s{_ssStreamName = a})---- | The shard ID of the shard to split.-ssShardToSplit :: Lens' SplitShard Text-ssShardToSplit = lens _ssShardToSplit (\ s a -> s{_ssShardToSplit = a})---- | A hash key value for the starting hash key of one of the child shards created by the split. The hash key range for a given shard constitutes a set of ordered contiguous positive integers. The value for @NewStartingHashKey@ must be in the range of hash keys being mapped into the shard. The @NewStartingHashKey@ hash key value and all higher hash key values in hash key range are distributed to one of the child shards. All the lower hash key values in the range are distributed to the other child shard.-ssNewStartingHashKey :: Lens' SplitShard Text-ssNewStartingHashKey = lens _ssNewStartingHashKey (\ s a -> s{_ssNewStartingHashKey = a})--instance AWSRequest SplitShard where- type Rs SplitShard = SplitShardResponse- request = postJSON kinesis- response = receiveNull SplitShardResponse'--instance Hashable SplitShard where--instance NFData SplitShard where--instance ToHeaders SplitShard where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("Kinesis_20131202.SplitShard" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON SplitShard where- toJSON SplitShard'{..}- = object- (catMaybes- [Just ("StreamName" .= _ssStreamName),- Just ("ShardToSplit" .= _ssShardToSplit),- Just- ("NewStartingHashKey" .= _ssNewStartingHashKey)])--instance ToPath SplitShard where- toPath = const "/"--instance ToQuery SplitShard where- toQuery = const mempty---- | /See:/ 'splitShardResponse' smart constructor.-data SplitShardResponse =- SplitShardResponse'- deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'SplitShardResponse' with the minimum fields required to make a request.----splitShardResponse- :: SplitShardResponse-splitShardResponse = SplitShardResponse'---instance NFData SplitShardResponse where
− gen/Network/AWS/Kinesis/StartStreamEncryption.hs
@@ -1,141 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Kinesis.StartStreamEncryption--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Enables or updates server-side encryption using an AWS KMS key for a specified stream.--------- Starting encryption is an asynchronous operation. Upon receiving the request, Kinesis Data Streams returns immediately and sets the status of the stream to @UPDATING@ . After the update is complete, Kinesis Data Streams sets the status of the stream back to @ACTIVE@ . Updating or applying encryption normally takes a few seconds to complete, but it can take minutes. You can continue to read and write data to your stream while its status is @UPDATING@ . Once the status of the stream is @ACTIVE@ , encryption begins for records written to the stream.------ API Limits: You can successfully apply a new AWS KMS key for server-side encryption 25 times in a rolling 24-hour period.------ Note: It can take up to five seconds after the stream is in an @ACTIVE@ status before all records written to the stream are encrypted. After you enable encryption, you can verify that encryption is applied by inspecting the API response from @PutRecord@ or @PutRecords@ .----module Network.AWS.Kinesis.StartStreamEncryption- (- -- * Creating a Request- startStreamEncryption- , StartStreamEncryption- -- * Request Lenses- , sStreamName- , sEncryptionType- , sKeyId-- -- * Destructuring the Response- , startStreamEncryptionResponse- , StartStreamEncryptionResponse- ) where--import Network.AWS.Kinesis.Types-import Network.AWS.Kinesis.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'startStreamEncryption' smart constructor.-data StartStreamEncryption = StartStreamEncryption'- { _sStreamName :: !Text- , _sEncryptionType :: !EncryptionType- , _sKeyId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'StartStreamEncryption' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sStreamName' - The name of the stream for which to start encrypting records.------ * 'sEncryptionType' - The encryption type to use. The only valid value is @KMS@ .------ * 'sKeyId' - The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified Amazon Resource Name (ARN) to either an alias or a key, or an alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by specifying the alias @aws/kinesis@ . * Key ARN example: @arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012@ * Alias ARN example: @arn:aws:kms:us-east-1:123456789012:alias/MyAliasName@ * Globally unique key ID example: @12345678-1234-1234-1234-123456789012@ * Alias name example: @alias/MyAliasName@ * Master key owned by Kinesis Data Streams: @alias/aws/kinesis@-startStreamEncryption- :: Text -- ^ 'sStreamName'- -> EncryptionType -- ^ 'sEncryptionType'- -> Text -- ^ 'sKeyId'- -> StartStreamEncryption-startStreamEncryption pStreamName_ pEncryptionType_ pKeyId_ =- StartStreamEncryption'- { _sStreamName = pStreamName_- , _sEncryptionType = pEncryptionType_- , _sKeyId = pKeyId_- }----- | The name of the stream for which to start encrypting records.-sStreamName :: Lens' StartStreamEncryption Text-sStreamName = lens _sStreamName (\ s a -> s{_sStreamName = a})---- | The encryption type to use. The only valid value is @KMS@ .-sEncryptionType :: Lens' StartStreamEncryption EncryptionType-sEncryptionType = lens _sEncryptionType (\ s a -> s{_sEncryptionType = a})---- | The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified Amazon Resource Name (ARN) to either an alias or a key, or an alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by specifying the alias @aws/kinesis@ . * Key ARN example: @arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012@ * Alias ARN example: @arn:aws:kms:us-east-1:123456789012:alias/MyAliasName@ * Globally unique key ID example: @12345678-1234-1234-1234-123456789012@ * Alias name example: @alias/MyAliasName@ * Master key owned by Kinesis Data Streams: @alias/aws/kinesis@-sKeyId :: Lens' StartStreamEncryption Text-sKeyId = lens _sKeyId (\ s a -> s{_sKeyId = a})--instance AWSRequest StartStreamEncryption where- type Rs StartStreamEncryption =- StartStreamEncryptionResponse- request = postJSON kinesis- response = receiveNull StartStreamEncryptionResponse'--instance Hashable StartStreamEncryption where--instance NFData StartStreamEncryption where--instance ToHeaders StartStreamEncryption where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("Kinesis_20131202.StartStreamEncryption" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON StartStreamEncryption where- toJSON StartStreamEncryption'{..}- = object- (catMaybes- [Just ("StreamName" .= _sStreamName),- Just ("EncryptionType" .= _sEncryptionType),- Just ("KeyId" .= _sKeyId)])--instance ToPath StartStreamEncryption where- toPath = const "/"--instance ToQuery StartStreamEncryption where- toQuery = const mempty---- | /See:/ 'startStreamEncryptionResponse' smart constructor.-data StartStreamEncryptionResponse =- StartStreamEncryptionResponse'- deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'StartStreamEncryptionResponse' with the minimum fields required to make a request.----startStreamEncryptionResponse- :: StartStreamEncryptionResponse-startStreamEncryptionResponse = StartStreamEncryptionResponse'---instance NFData StartStreamEncryptionResponse where
− gen/Network/AWS/Kinesis/StopStreamEncryption.hs
@@ -1,141 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Kinesis.StopStreamEncryption--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Disables server-side encryption for a specified stream.--------- Stopping encryption is an asynchronous operation. Upon receiving the request, Kinesis Data Streams returns immediately and sets the status of the stream to @UPDATING@ . After the update is complete, Kinesis Data Streams sets the status of the stream back to @ACTIVE@ . Stopping encryption normally takes a few seconds to complete, but it can take minutes. You can continue to read and write data to your stream while its status is @UPDATING@ . Once the status of the stream is @ACTIVE@ , records written to the stream are no longer encrypted by Kinesis Data Streams.------ API Limits: You can successfully disable server-side encryption 25 times in a rolling 24-hour period.------ Note: It can take up to five seconds after the stream is in an @ACTIVE@ status before all records written to the stream are no longer subject to encryption. After you disabled encryption, you can verify that encryption is not applied by inspecting the API response from @PutRecord@ or @PutRecords@ .----module Network.AWS.Kinesis.StopStreamEncryption- (- -- * Creating a Request- stopStreamEncryption- , StopStreamEncryption- -- * Request Lenses- , sseStreamName- , sseEncryptionType- , sseKeyId-- -- * Destructuring the Response- , stopStreamEncryptionResponse- , StopStreamEncryptionResponse- ) where--import Network.AWS.Kinesis.Types-import Network.AWS.Kinesis.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'stopStreamEncryption' smart constructor.-data StopStreamEncryption = StopStreamEncryption'- { _sseStreamName :: !Text- , _sseEncryptionType :: !EncryptionType- , _sseKeyId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'StopStreamEncryption' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sseStreamName' - The name of the stream on which to stop encrypting records.------ * 'sseEncryptionType' - The encryption type. The only valid value is @KMS@ .------ * 'sseKeyId' - The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified Amazon Resource Name (ARN) to either an alias or a key, or an alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by specifying the alias @aws/kinesis@ . * Key ARN example: @arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012@ * Alias ARN example: @arn:aws:kms:us-east-1:123456789012:alias/MyAliasName@ * Globally unique key ID example: @12345678-1234-1234-1234-123456789012@ * Alias name example: @alias/MyAliasName@ * Master key owned by Kinesis Data Streams: @alias/aws/kinesis@-stopStreamEncryption- :: Text -- ^ 'sseStreamName'- -> EncryptionType -- ^ 'sseEncryptionType'- -> Text -- ^ 'sseKeyId'- -> StopStreamEncryption-stopStreamEncryption pStreamName_ pEncryptionType_ pKeyId_ =- StopStreamEncryption'- { _sseStreamName = pStreamName_- , _sseEncryptionType = pEncryptionType_- , _sseKeyId = pKeyId_- }----- | The name of the stream on which to stop encrypting records.-sseStreamName :: Lens' StopStreamEncryption Text-sseStreamName = lens _sseStreamName (\ s a -> s{_sseStreamName = a})---- | The encryption type. The only valid value is @KMS@ .-sseEncryptionType :: Lens' StopStreamEncryption EncryptionType-sseEncryptionType = lens _sseEncryptionType (\ s a -> s{_sseEncryptionType = a})---- | The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified Amazon Resource Name (ARN) to either an alias or a key, or an alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by specifying the alias @aws/kinesis@ . * Key ARN example: @arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012@ * Alias ARN example: @arn:aws:kms:us-east-1:123456789012:alias/MyAliasName@ * Globally unique key ID example: @12345678-1234-1234-1234-123456789012@ * Alias name example: @alias/MyAliasName@ * Master key owned by Kinesis Data Streams: @alias/aws/kinesis@-sseKeyId :: Lens' StopStreamEncryption Text-sseKeyId = lens _sseKeyId (\ s a -> s{_sseKeyId = a})--instance AWSRequest StopStreamEncryption where- type Rs StopStreamEncryption =- StopStreamEncryptionResponse- request = postJSON kinesis- response = receiveNull StopStreamEncryptionResponse'--instance Hashable StopStreamEncryption where--instance NFData StopStreamEncryption where--instance ToHeaders StopStreamEncryption where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("Kinesis_20131202.StopStreamEncryption" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON StopStreamEncryption where- toJSON StopStreamEncryption'{..}- = object- (catMaybes- [Just ("StreamName" .= _sseStreamName),- Just ("EncryptionType" .= _sseEncryptionType),- Just ("KeyId" .= _sseKeyId)])--instance ToPath StopStreamEncryption where- toPath = const "/"--instance ToQuery StopStreamEncryption where- toQuery = const mempty---- | /See:/ 'stopStreamEncryptionResponse' smart constructor.-data StopStreamEncryptionResponse =- StopStreamEncryptionResponse'- deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'StopStreamEncryptionResponse' with the minimum fields required to make a request.----stopStreamEncryptionResponse- :: StopStreamEncryptionResponse-stopStreamEncryptionResponse = StopStreamEncryptionResponse'---instance NFData StopStreamEncryptionResponse where
− gen/Network/AWS/Kinesis/Types.hs
@@ -1,280 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Kinesis.Types--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.Kinesis.Types- (- -- * Service Configuration- kinesis-- -- * Errors- , _KMSInvalidStateException- , _KMSThrottlingException- , _ExpiredIteratorException- , _InvalidArgumentException- , _KMSOptInRequired- , _ProvisionedThroughputExceededException- , _KMSNotFoundException- , _ExpiredNextTokenException- , _KMSDisabledException- , _ResourceNotFoundException- , _KMSAccessDeniedException- , _LimitExceededException- , _ResourceInUseException-- -- * EncryptionType- , EncryptionType (..)-- -- * MetricsName- , MetricsName (..)-- -- * ScalingType- , ScalingType (..)-- -- * ShardIteratorType- , ShardIteratorType (..)-- -- * StreamStatus- , StreamStatus (..)-- -- * EnhancedMetrics- , EnhancedMetrics- , enhancedMetrics- , emShardLevelMetrics-- -- * EnhancedMonitoringOutput- , EnhancedMonitoringOutput- , enhancedMonitoringOutput- , emoDesiredShardLevelMetrics- , emoCurrentShardLevelMetrics- , emoStreamName-- -- * HashKeyRange- , HashKeyRange- , hashKeyRange- , hkrStartingHashKey- , hkrEndingHashKey-- -- * PutRecordsRequestEntry- , PutRecordsRequestEntry- , putRecordsRequestEntry- , prreExplicitHashKey- , prreData- , prrePartitionKey-- -- * PutRecordsResultEntry- , PutRecordsResultEntry- , putRecordsResultEntry- , prreSequenceNumber- , prreErrorCode- , prreErrorMessage- , prreShardId-- -- * Record- , Record- , record- , rEncryptionType- , rApproximateArrivalTimestamp- , rSequenceNumber- , rData- , rPartitionKey-- -- * SequenceNumberRange- , SequenceNumberRange- , sequenceNumberRange- , snrEndingSequenceNumber- , snrStartingSequenceNumber-- -- * Shard- , Shard- , shard- , sAdjacentParentShardId- , sParentShardId- , sShardId- , sHashKeyRange- , sSequenceNumberRange-- -- * StreamDescription- , StreamDescription- , streamDescription- , sdEncryptionType- , sdKeyId- , sdStreamName- , sdStreamARN- , sdStreamStatus- , sdShards- , sdHasMoreShards- , sdRetentionPeriodHours- , sdStreamCreationTimestamp- , sdEnhancedMonitoring-- -- * StreamDescriptionSummary- , StreamDescriptionSummary- , streamDescriptionSummary- , sdsEncryptionType- , sdsKeyId- , sdsStreamName- , sdsStreamARN- , sdsStreamStatus- , sdsRetentionPeriodHours- , sdsStreamCreationTimestamp- , sdsEnhancedMonitoring- , sdsOpenShardCount-- -- * Tag- , Tag- , tag- , tagValue- , tagKey- ) where--import Network.AWS.Kinesis.Types.Product-import Network.AWS.Kinesis.Types.Sum-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Sign.V4---- | API version @2013-12-02@ of the Amazon Kinesis SDK configuration.-kinesis :: Service-kinesis =- Service- { _svcAbbrev = "Kinesis"- , _svcSigner = v4- , _svcPrefix = "kinesis"- , _svcVersion = "2013-12-02"- , _svcEndpoint = defaultEndpoint kinesis- , _svcTimeout = Just 70- , _svcCheck = statusSuccess- , _svcError = parseJSONError "Kinesis"- , _svcRetry = retry- }- where- retry =- Exponential- { _retryBase = 5.0e-2- , _retryGrowth = 2- , _retryAttempts = 5- , _retryCheck = check- }- check e- | has (hasCode "ThrottledException" . hasStatus 400) e =- Just "throttled_exception"- | has (hasStatus 429) e = Just "too_many_requests"- | has (hasCode "ThrottlingException" . hasStatus 400) e =- Just "throttling_exception"- | has (hasCode "Throttling" . hasStatus 400) e = Just "throttling"- | has (hasStatus 504) e = Just "gateway_timeout"- | has (hasCode "RequestThrottledException" . hasStatus 400) e =- Just "request_throttled_exception"- | has (hasStatus 502) e = Just "bad_gateway"- | has (hasStatus 503) e = Just "service_unavailable"- | has (hasStatus 500) e = Just "general_server_error"- | has (hasStatus 509) e = Just "limit_exceeded"- | otherwise = Nothing----- | The request was rejected because the state of the specified resource isn't valid for this request. For more information, see <http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html How Key State Affects Use of a Customer Master Key> in the /AWS Key Management Service Developer Guide/ .-------_KMSInvalidStateException :: AsError a => Getting (First ServiceError) a ServiceError-_KMSInvalidStateException =- _MatchServiceError kinesis "KMSInvalidStateException"----- | The request was denied due to request throttling. For more information about throttling, see <http://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second Limits> in the /AWS Key Management Service Developer Guide/ .-------_KMSThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError-_KMSThrottlingException = _MatchServiceError kinesis "KMSThrottlingException"----- | The provided iterator exceeds the maximum age allowed.-------_ExpiredIteratorException :: AsError a => Getting (First ServiceError) a ServiceError-_ExpiredIteratorException =- _MatchServiceError kinesis "ExpiredIteratorException"----- | A specified parameter exceeds its restrictions, is not supported, or can't be used. For more information, see the returned message.-------_InvalidArgumentException :: AsError a => Getting (First ServiceError) a ServiceError-_InvalidArgumentException =- _MatchServiceError kinesis "InvalidArgumentException"----- | The AWS access key ID needs a subscription for the service.-------_KMSOptInRequired :: AsError a => Getting (First ServiceError) a ServiceError-_KMSOptInRequired = _MatchServiceError kinesis "KMSOptInRequired"----- | 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 <http://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html Streams Limits> in the /Amazon Kinesis Data Streams Developer Guide/ , and <http://docs.aws.amazon.com/general/latest/gr/api-retries.html Error Retries and Exponential Backoff in AWS> in the /AWS General Reference/ .-------_ProvisionedThroughputExceededException :: AsError a => Getting (First ServiceError) a ServiceError-_ProvisionedThroughputExceededException =- _MatchServiceError kinesis "ProvisionedThroughputExceededException"----- | The request was rejected because the specified entity or resource can't be found.-------_KMSNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError-_KMSNotFoundException = _MatchServiceError kinesis "KMSNotFoundException"----- | The pagination token passed to the @ListShards@ operation is expired. For more information, see 'ListShardsInput$NextToken' .-------_ExpiredNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError-_ExpiredNextTokenException =- _MatchServiceError kinesis "ExpiredNextTokenException"----- | The request was rejected because the specified customer master key (CMK) isn't enabled.-------_KMSDisabledException :: AsError a => Getting (First ServiceError) a ServiceError-_KMSDisabledException = _MatchServiceError kinesis "KMSDisabledException"----- | The requested resource could not be found. The stream might not be specified correctly.-------_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError-_ResourceNotFoundException =- _MatchServiceError kinesis "ResourceNotFoundException"----- | The ciphertext references a key that doesn't exist or that you don't have access to.-------_KMSAccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError-_KMSAccessDeniedException =- _MatchServiceError kinesis "KMSAccessDeniedException"----- | The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.-------_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError-_LimitExceededException = _MatchServiceError kinesis "LimitExceededException"----- | The resource is not available for this operation. For successful operation, the resource must be in the @ACTIVE@ state.-------_ResourceInUseException :: AsError a => Getting (First ServiceError) a ServiceError-_ResourceInUseException = _MatchServiceError kinesis "ResourceInUseException"-
− gen/Network/AWS/Kinesis/Types/Product.hs
@@ -1,764 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Kinesis.Types.Product--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.Kinesis.Types.Product where--import Network.AWS.Kinesis.Types.Sum-import Network.AWS.Lens-import Network.AWS.Prelude---- | Represents enhanced metrics types.------------ /See:/ 'enhancedMetrics' smart constructor.-newtype EnhancedMetrics = EnhancedMetrics'- { _emShardLevelMetrics :: Maybe [MetricsName]- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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 <http://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch> in the /Amazon Kinesis Data Streams Developer Guide/ .-enhancedMetrics- :: EnhancedMetrics-enhancedMetrics = EnhancedMetrics' {_emShardLevelMetrics = Nothing}----- | 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 <http://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch> in the /Amazon Kinesis Data Streams Developer Guide/ .-emShardLevelMetrics :: Lens' EnhancedMetrics [MetricsName]-emShardLevelMetrics = lens _emShardLevelMetrics (\ s a -> s{_emShardLevelMetrics = a}) . _Default . _Coerce--instance FromJSON EnhancedMetrics where- parseJSON- = withObject "EnhancedMetrics"- (\ x ->- EnhancedMetrics' <$>- (x .:? "ShardLevelMetrics" .!= mempty))--instance Hashable EnhancedMetrics where--instance NFData EnhancedMetrics where---- | Represents the output for 'EnableEnhancedMonitoring' and 'DisableEnhancedMonitoring' .------------ /See:/ 'enhancedMonitoringOutput' smart constructor.-data EnhancedMonitoringOutput = EnhancedMonitoringOutput'- { _emoDesiredShardLevelMetrics :: !(Maybe [MetricsName])- , _emoCurrentShardLevelMetrics :: !(Maybe [MetricsName])- , _emoStreamName :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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' - Represents the list of all the metrics that would be in the enhanced state after the operation.------ * 'emoCurrentShardLevelMetrics' - Represents the current state of the metrics that are in the enhanced state before the operation.------ * 'emoStreamName' - The name of the Kinesis data stream.-enhancedMonitoringOutput- :: EnhancedMonitoringOutput-enhancedMonitoringOutput =- EnhancedMonitoringOutput'- { _emoDesiredShardLevelMetrics = Nothing- , _emoCurrentShardLevelMetrics = Nothing- , _emoStreamName = Nothing- }----- | Represents the list of all the metrics that would be in the enhanced state after the operation.-emoDesiredShardLevelMetrics :: Lens' EnhancedMonitoringOutput [MetricsName]-emoDesiredShardLevelMetrics = lens _emoDesiredShardLevelMetrics (\ s a -> s{_emoDesiredShardLevelMetrics = a}) . _Default . _Coerce---- | Represents the current state of the metrics that are in the enhanced state before the operation.-emoCurrentShardLevelMetrics :: Lens' EnhancedMonitoringOutput [MetricsName]-emoCurrentShardLevelMetrics = lens _emoCurrentShardLevelMetrics (\ s a -> s{_emoCurrentShardLevelMetrics = a}) . _Default . _Coerce---- | The name of the Kinesis data stream.-emoStreamName :: Lens' EnhancedMonitoringOutput (Maybe Text)-emoStreamName = lens _emoStreamName (\ s a -> s{_emoStreamName = a})--instance FromJSON EnhancedMonitoringOutput where- parseJSON- = withObject "EnhancedMonitoringOutput"- (\ x ->- EnhancedMonitoringOutput' <$>- (x .:? "DesiredShardLevelMetrics" .!= mempty) <*>- (x .:? "CurrentShardLevelMetrics" .!= mempty)- <*> (x .:? "StreamName"))--instance Hashable EnhancedMonitoringOutput where--instance NFData EnhancedMonitoringOutput where---- | The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.------------ /See:/ 'hashKeyRange' smart constructor.-data HashKeyRange = HashKeyRange'- { _hkrStartingHashKey :: !Text- , _hkrEndingHashKey :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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' - The starting hash key of the hash key range.------ * 'hkrEndingHashKey' - The ending hash key of the hash key range.-hashKeyRange- :: Text -- ^ 'hkrStartingHashKey'- -> Text -- ^ 'hkrEndingHashKey'- -> HashKeyRange-hashKeyRange pStartingHashKey_ pEndingHashKey_ =- HashKeyRange'- { _hkrStartingHashKey = pStartingHashKey_- , _hkrEndingHashKey = pEndingHashKey_- }----- | The starting hash key of the hash key range.-hkrStartingHashKey :: Lens' HashKeyRange Text-hkrStartingHashKey = lens _hkrStartingHashKey (\ s a -> s{_hkrStartingHashKey = a})---- | The ending hash key of the hash key range.-hkrEndingHashKey :: Lens' HashKeyRange Text-hkrEndingHashKey = lens _hkrEndingHashKey (\ s a -> s{_hkrEndingHashKey = a})--instance FromJSON HashKeyRange where- parseJSON- = withObject "HashKeyRange"- (\ x ->- HashKeyRange' <$>- (x .: "StartingHashKey") <*> (x .: "EndingHashKey"))--instance Hashable HashKeyRange where--instance NFData HashKeyRange where---- | Represents the output for @PutRecords@ .------------ /See:/ 'putRecordsRequestEntry' smart constructor.-data PutRecordsRequestEntry = PutRecordsRequestEntry'- { _prreExplicitHashKey :: !(Maybe Text)- , _prreData :: !Base64- , _prrePartitionKey :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-putRecordsRequestEntry- :: ByteString -- ^ 'prreData'- -> Text -- ^ 'prrePartitionKey'- -> PutRecordsRequestEntry-putRecordsRequestEntry pData_ pPartitionKey_ =- PutRecordsRequestEntry'- { _prreExplicitHashKey = Nothing- , _prreData = _Base64 # pData_- , _prrePartitionKey = pPartitionKey_- }----- | The hash value used to determine explicitly the shard that the data record is assigned to by overriding the partition key hash.-prreExplicitHashKey :: Lens' PutRecordsRequestEntry (Maybe Text)-prreExplicitHashKey = lens _prreExplicitHashKey (\ s a -> s{_prreExplicitHashKey = a})---- | 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.-prreData :: Lens' PutRecordsRequestEntry ByteString-prreData = lens _prreData (\ s a -> s{_prreData = a}) . _Base64---- | 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.-prrePartitionKey :: Lens' PutRecordsRequestEntry Text-prrePartitionKey = lens _prrePartitionKey (\ s a -> s{_prrePartitionKey = a})--instance Hashable PutRecordsRequestEntry where--instance NFData PutRecordsRequestEntry where--instance ToJSON PutRecordsRequestEntry where- toJSON PutRecordsRequestEntry'{..}- = object- (catMaybes- [("ExplicitHashKey" .=) <$> _prreExplicitHashKey,- Just ("Data" .= _prreData),- Just ("PartitionKey" .= _prrePartitionKey)])---- | 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.-data PutRecordsResultEntry = PutRecordsResultEntry'- { _prreSequenceNumber :: !(Maybe Text)- , _prreErrorCode :: !(Maybe Text)- , _prreErrorMessage :: !(Maybe Text)- , _prreShardId :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-putRecordsResultEntry- :: PutRecordsResultEntry-putRecordsResultEntry =- PutRecordsResultEntry'- { _prreSequenceNumber = Nothing- , _prreErrorCode = Nothing- , _prreErrorMessage = Nothing- , _prreShardId = Nothing- }----- | The sequence number for an individual record result.-prreSequenceNumber :: Lens' PutRecordsResultEntry (Maybe Text)-prreSequenceNumber = lens _prreSequenceNumber (\ s a -> s{_prreSequenceNumber = a})---- | The error code for an individual record result. @ErrorCodes@ can be either @ProvisionedThroughputExceededException@ or @InternalFailure@ .-prreErrorCode :: Lens' PutRecordsResultEntry (Maybe Text)-prreErrorCode = lens _prreErrorCode (\ s a -> s{_prreErrorCode = a})---- | 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"@ .-prreErrorMessage :: Lens' PutRecordsResultEntry (Maybe Text)-prreErrorMessage = lens _prreErrorMessage (\ s a -> s{_prreErrorMessage = a})---- | The shard ID for an individual record result.-prreShardId :: Lens' PutRecordsResultEntry (Maybe Text)-prreShardId = lens _prreShardId (\ s a -> s{_prreShardId = a})--instance FromJSON PutRecordsResultEntry where- parseJSON- = withObject "PutRecordsResultEntry"- (\ x ->- PutRecordsResultEntry' <$>- (x .:? "SequenceNumber") <*> (x .:? "ErrorCode") <*>- (x .:? "ErrorMessage")- <*> (x .:? "ShardId"))--instance Hashable PutRecordsResultEntry where--instance NFData PutRecordsResultEntry where---- | 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.-data Record = Record'- { _rEncryptionType :: !(Maybe EncryptionType)- , _rApproximateArrivalTimestamp :: !(Maybe POSIX)- , _rSequenceNumber :: !Text- , _rData :: !Base64- , _rPartitionKey :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-record- :: Text -- ^ 'rSequenceNumber'- -> ByteString -- ^ 'rData'- -> Text -- ^ 'rPartitionKey'- -> Record-record pSequenceNumber_ pData_ pPartitionKey_ =- Record'- { _rEncryptionType = Nothing- , _rApproximateArrivalTimestamp = Nothing- , _rSequenceNumber = pSequenceNumber_- , _rData = _Base64 # pData_- , _rPartitionKey = pPartitionKey_- }----- | 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.-rEncryptionType :: Lens' Record (Maybe EncryptionType)-rEncryptionType = lens _rEncryptionType (\ s a -> s{_rEncryptionType = a})---- | The approximate time that the record was inserted into the stream.-rApproximateArrivalTimestamp :: Lens' Record (Maybe UTCTime)-rApproximateArrivalTimestamp = lens _rApproximateArrivalTimestamp (\ s a -> s{_rApproximateArrivalTimestamp = a}) . mapping _Time---- | The unique identifier of the record within its shard.-rSequenceNumber :: Lens' Record Text-rSequenceNumber = lens _rSequenceNumber (\ s a -> s{_rSequenceNumber = a})---- | 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.-rData :: Lens' Record ByteString-rData = lens _rData (\ s a -> s{_rData = a}) . _Base64---- | Identifies which shard in the stream the data record is assigned to.-rPartitionKey :: Lens' Record Text-rPartitionKey = lens _rPartitionKey (\ s a -> s{_rPartitionKey = a})--instance FromJSON Record where- parseJSON- = withObject "Record"- (\ x ->- Record' <$>- (x .:? "EncryptionType") <*>- (x .:? "ApproximateArrivalTimestamp")- <*> (x .: "SequenceNumber")- <*> (x .: "Data")- <*> (x .: "PartitionKey"))--instance Hashable Record where--instance NFData Record where---- | The range of possible sequence numbers for the shard.------------ /See:/ 'sequenceNumberRange' smart constructor.-data SequenceNumberRange = SequenceNumberRange'- { _snrEndingSequenceNumber :: !(Maybe Text)- , _snrStartingSequenceNumber :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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' - The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence number of @null@ .------ * 'snrStartingSequenceNumber' - The starting sequence number for the range.-sequenceNumberRange- :: Text -- ^ 'snrStartingSequenceNumber'- -> SequenceNumberRange-sequenceNumberRange pStartingSequenceNumber_ =- SequenceNumberRange'- { _snrEndingSequenceNumber = Nothing- , _snrStartingSequenceNumber = pStartingSequenceNumber_- }----- | The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence number of @null@ .-snrEndingSequenceNumber :: Lens' SequenceNumberRange (Maybe Text)-snrEndingSequenceNumber = lens _snrEndingSequenceNumber (\ s a -> s{_snrEndingSequenceNumber = a})---- | The starting sequence number for the range.-snrStartingSequenceNumber :: Lens' SequenceNumberRange Text-snrStartingSequenceNumber = lens _snrStartingSequenceNumber (\ s a -> s{_snrStartingSequenceNumber = a})--instance FromJSON SequenceNumberRange where- parseJSON- = withObject "SequenceNumberRange"- (\ x ->- SequenceNumberRange' <$>- (x .:? "EndingSequenceNumber") <*>- (x .: "StartingSequenceNumber"))--instance Hashable SequenceNumberRange where--instance NFData SequenceNumberRange where---- | A uniquely identified group of data records in a Kinesis data stream.------------ /See:/ 'shard' smart constructor.-data Shard = Shard'- { _sAdjacentParentShardId :: !(Maybe Text)- , _sParentShardId :: !(Maybe Text)- , _sShardId :: !Text- , _sHashKeyRange :: !HashKeyRange- , _sSequenceNumberRange :: !SequenceNumberRange- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-shard- :: Text -- ^ 'sShardId'- -> HashKeyRange -- ^ 'sHashKeyRange'- -> SequenceNumberRange -- ^ 'sSequenceNumberRange'- -> Shard-shard pShardId_ pHashKeyRange_ pSequenceNumberRange_ =- Shard'- { _sAdjacentParentShardId = Nothing- , _sParentShardId = Nothing- , _sShardId = pShardId_- , _sHashKeyRange = pHashKeyRange_- , _sSequenceNumberRange = pSequenceNumberRange_- }----- | The shard ID of the shard adjacent to the shard's parent.-sAdjacentParentShardId :: Lens' Shard (Maybe Text)-sAdjacentParentShardId = lens _sAdjacentParentShardId (\ s a -> s{_sAdjacentParentShardId = a})---- | The shard ID of the shard's parent.-sParentShardId :: Lens' Shard (Maybe Text)-sParentShardId = lens _sParentShardId (\ s a -> s{_sParentShardId = a})---- | The unique identifier of the shard within the stream.-sShardId :: Lens' Shard Text-sShardId = lens _sShardId (\ s a -> s{_sShardId = a})---- | The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.-sHashKeyRange :: Lens' Shard HashKeyRange-sHashKeyRange = lens _sHashKeyRange (\ s a -> s{_sHashKeyRange = a})---- | The range of possible sequence numbers for the shard.-sSequenceNumberRange :: Lens' Shard SequenceNumberRange-sSequenceNumberRange = lens _sSequenceNumberRange (\ s a -> s{_sSequenceNumberRange = a})--instance FromJSON Shard where- parseJSON- = withObject "Shard"- (\ x ->- Shard' <$>- (x .:? "AdjacentParentShardId") <*>- (x .:? "ParentShardId")- <*> (x .: "ShardId")- <*> (x .: "HashKeyRange")- <*> (x .: "SequenceNumberRange"))--instance Hashable Shard where--instance NFData Shard where---- | Represents the output for 'DescribeStream' .------------ /See:/ 'streamDescription' smart constructor.-data StreamDescription = StreamDescription'- { _sdEncryptionType :: !(Maybe EncryptionType)- , _sdKeyId :: !(Maybe Text)- , _sdStreamName :: !Text- , _sdStreamARN :: !Text- , _sdStreamStatus :: !StreamStatus- , _sdShards :: ![Shard]- , _sdHasMoreShards :: !Bool- , _sdRetentionPeriodHours :: !Nat- , _sdStreamCreationTimestamp :: !POSIX- , _sdEnhancedMonitoring :: ![EnhancedMetrics]- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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 @aws/kinesis@ . * Key ARN example: @arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012@ * Alias ARN example: @arn:aws:kms:us-east-1:123456789012:alias/MyAliasName@ * Globally unique key ID example: @12345678-1234-1234-1234-123456789012@ * Alias name example: @alias/MyAliasName@ * Master key owned by Kinesis Data Streams: @alias/aws/kinesis@------ * '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.-streamDescription- :: Text -- ^ 'sdStreamName'- -> Text -- ^ 'sdStreamARN'- -> StreamStatus -- ^ 'sdStreamStatus'- -> Bool -- ^ 'sdHasMoreShards'- -> Natural -- ^ 'sdRetentionPeriodHours'- -> UTCTime -- ^ 'sdStreamCreationTimestamp'- -> StreamDescription-streamDescription pStreamName_ pStreamARN_ pStreamStatus_ pHasMoreShards_ pRetentionPeriodHours_ pStreamCreationTimestamp_ =- StreamDescription'- { _sdEncryptionType = Nothing- , _sdKeyId = Nothing- , _sdStreamName = pStreamName_- , _sdStreamARN = pStreamARN_- , _sdStreamStatus = pStreamStatus_- , _sdShards = mempty- , _sdHasMoreShards = pHasMoreShards_- , _sdRetentionPeriodHours = _Nat # pRetentionPeriodHours_- , _sdStreamCreationTimestamp = _Time # pStreamCreationTimestamp_- , _sdEnhancedMonitoring = mempty- }----- | 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.-sdEncryptionType :: Lens' StreamDescription (Maybe EncryptionType)-sdEncryptionType = lens _sdEncryptionType (\ s a -> s{_sdEncryptionType = a})---- | The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by specifying the alias @aws/kinesis@ . * Key ARN example: @arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012@ * Alias ARN example: @arn:aws:kms:us-east-1:123456789012:alias/MyAliasName@ * Globally unique key ID example: @12345678-1234-1234-1234-123456789012@ * Alias name example: @alias/MyAliasName@ * Master key owned by Kinesis Data Streams: @alias/aws/kinesis@-sdKeyId :: Lens' StreamDescription (Maybe Text)-sdKeyId = lens _sdKeyId (\ s a -> s{_sdKeyId = a})---- | The name of the stream being described.-sdStreamName :: Lens' StreamDescription Text-sdStreamName = lens _sdStreamName (\ s a -> s{_sdStreamName = a})---- | The Amazon Resource Name (ARN) for the stream being described.-sdStreamARN :: Lens' StreamDescription Text-sdStreamARN = lens _sdStreamARN (\ s a -> s{_sdStreamARN = a})---- | 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.-sdStreamStatus :: Lens' StreamDescription StreamStatus-sdStreamStatus = lens _sdStreamStatus (\ s a -> s{_sdStreamStatus = a})---- | The shards that comprise the stream.-sdShards :: Lens' StreamDescription [Shard]-sdShards = lens _sdShards (\ s a -> s{_sdShards = a}) . _Coerce---- | If set to @true@ , more shards in the stream are available to describe.-sdHasMoreShards :: Lens' StreamDescription Bool-sdHasMoreShards = lens _sdHasMoreShards (\ s a -> s{_sdHasMoreShards = a})---- | The current retention period, in hours.-sdRetentionPeriodHours :: Lens' StreamDescription Natural-sdRetentionPeriodHours = lens _sdRetentionPeriodHours (\ s a -> s{_sdRetentionPeriodHours = a}) . _Nat---- | The approximate time that the stream was created.-sdStreamCreationTimestamp :: Lens' StreamDescription UTCTime-sdStreamCreationTimestamp = lens _sdStreamCreationTimestamp (\ s a -> s{_sdStreamCreationTimestamp = a}) . _Time---- | Represents the current enhanced monitoring settings of the stream.-sdEnhancedMonitoring :: Lens' StreamDescription [EnhancedMetrics]-sdEnhancedMonitoring = lens _sdEnhancedMonitoring (\ s a -> s{_sdEnhancedMonitoring = a}) . _Coerce--instance FromJSON StreamDescription where- parseJSON- = withObject "StreamDescription"- (\ x ->- StreamDescription' <$>- (x .:? "EncryptionType") <*> (x .:? "KeyId") <*>- (x .: "StreamName")- <*> (x .: "StreamARN")- <*> (x .: "StreamStatus")- <*> (x .:? "Shards" .!= mempty)- <*> (x .: "HasMoreShards")- <*> (x .: "RetentionPeriodHours")- <*> (x .: "StreamCreationTimestamp")- <*> (x .:? "EnhancedMonitoring" .!= mempty))--instance Hashable StreamDescription where--instance NFData StreamDescription where---- | Represents the output for 'DescribeStreamSummary'------------ /See:/ 'streamDescriptionSummary' smart constructor.-data StreamDescriptionSummary = StreamDescriptionSummary'- { _sdsEncryptionType :: !(Maybe EncryptionType)- , _sdsKeyId :: !(Maybe Text)- , _sdsStreamName :: !Text- , _sdsStreamARN :: !Text- , _sdsStreamStatus :: !StreamStatus- , _sdsRetentionPeriodHours :: !Nat- , _sdsStreamCreationTimestamp :: !POSIX- , _sdsEnhancedMonitoring :: ![EnhancedMetrics]- , _sdsOpenShardCount :: !Nat- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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 @aws/kinesis@ . * Key ARN example: @arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012@ * Alias ARN example: @arn:aws:kms:us-east-1:123456789012:alias/MyAliasName@ * Globally unique key ID example: @12345678-1234-1234-1234-123456789012@ * Alias name example: @alias/MyAliasName@ * Master key owned by Kinesis Data Streams: @alias/aws/kinesis@------ * '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.-streamDescriptionSummary- :: Text -- ^ 'sdsStreamName'- -> Text -- ^ 'sdsStreamARN'- -> StreamStatus -- ^ 'sdsStreamStatus'- -> Natural -- ^ 'sdsRetentionPeriodHours'- -> UTCTime -- ^ 'sdsStreamCreationTimestamp'- -> Natural -- ^ 'sdsOpenShardCount'- -> StreamDescriptionSummary-streamDescriptionSummary pStreamName_ pStreamARN_ pStreamStatus_ pRetentionPeriodHours_ pStreamCreationTimestamp_ pOpenShardCount_ =- StreamDescriptionSummary'- { _sdsEncryptionType = Nothing- , _sdsKeyId = Nothing- , _sdsStreamName = pStreamName_- , _sdsStreamARN = pStreamARN_- , _sdsStreamStatus = pStreamStatus_- , _sdsRetentionPeriodHours = _Nat # pRetentionPeriodHours_- , _sdsStreamCreationTimestamp = _Time # pStreamCreationTimestamp_- , _sdsEnhancedMonitoring = mempty- , _sdsOpenShardCount = _Nat # pOpenShardCount_- }----- | The encryption type used. This value is one of the following: * @KMS@ * @NONE@-sdsEncryptionType :: Lens' StreamDescriptionSummary (Maybe EncryptionType)-sdsEncryptionType = lens _sdsEncryptionType (\ s a -> s{_sdsEncryptionType = a})---- | The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by specifying the alias @aws/kinesis@ . * Key ARN example: @arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012@ * Alias ARN example: @arn:aws:kms:us-east-1:123456789012:alias/MyAliasName@ * Globally unique key ID example: @12345678-1234-1234-1234-123456789012@ * Alias name example: @alias/MyAliasName@ * Master key owned by Kinesis Data Streams: @alias/aws/kinesis@-sdsKeyId :: Lens' StreamDescriptionSummary (Maybe Text)-sdsKeyId = lens _sdsKeyId (\ s a -> s{_sdsKeyId = a})---- | The name of the stream being described.-sdsStreamName :: Lens' StreamDescriptionSummary Text-sdsStreamName = lens _sdsStreamName (\ s a -> s{_sdsStreamName = a})---- | The Amazon Resource Name (ARN) for the stream being described.-sdsStreamARN :: Lens' StreamDescriptionSummary Text-sdsStreamARN = lens _sdsStreamARN (\ s a -> s{_sdsStreamARN = a})---- | 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.-sdsStreamStatus :: Lens' StreamDescriptionSummary StreamStatus-sdsStreamStatus = lens _sdsStreamStatus (\ s a -> s{_sdsStreamStatus = a})---- | The current retention period, in hours.-sdsRetentionPeriodHours :: Lens' StreamDescriptionSummary Natural-sdsRetentionPeriodHours = lens _sdsRetentionPeriodHours (\ s a -> s{_sdsRetentionPeriodHours = a}) . _Nat---- | The approximate time that the stream was created.-sdsStreamCreationTimestamp :: Lens' StreamDescriptionSummary UTCTime-sdsStreamCreationTimestamp = lens _sdsStreamCreationTimestamp (\ s a -> s{_sdsStreamCreationTimestamp = a}) . _Time---- | Represents the current enhanced monitoring settings of the stream.-sdsEnhancedMonitoring :: Lens' StreamDescriptionSummary [EnhancedMetrics]-sdsEnhancedMonitoring = lens _sdsEnhancedMonitoring (\ s a -> s{_sdsEnhancedMonitoring = a}) . _Coerce---- | The number of open shards in the stream.-sdsOpenShardCount :: Lens' StreamDescriptionSummary Natural-sdsOpenShardCount = lens _sdsOpenShardCount (\ s a -> s{_sdsOpenShardCount = a}) . _Nat--instance FromJSON StreamDescriptionSummary where- parseJSON- = withObject "StreamDescriptionSummary"- (\ x ->- StreamDescriptionSummary' <$>- (x .:? "EncryptionType") <*> (x .:? "KeyId") <*>- (x .: "StreamName")- <*> (x .: "StreamARN")- <*> (x .: "StreamStatus")- <*> (x .: "RetentionPeriodHours")- <*> (x .: "StreamCreationTimestamp")- <*> (x .:? "EnhancedMonitoring" .!= mempty)- <*> (x .: "OpenShardCount"))--instance Hashable StreamDescriptionSummary where--instance NFData StreamDescriptionSummary where---- | Metadata assigned to the stream, consisting of a key-value pair.------------ /See:/ 'tag' smart constructor.-data Tag = Tag'- { _tagValue :: !(Maybe Text)- , _tagKey :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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, _ . / = + - % @-tag- :: Text -- ^ 'tagKey'- -> Tag-tag pKey_ = Tag' {_tagValue = Nothing, _tagKey = pKey_}----- | An optional string, typically used to describe or define the tag. Maximum length: 256 characters. Valid characters: Unicode letters, digits, white space, _ . / = + - % @-tagValue :: Lens' Tag (Maybe Text)-tagValue = lens _tagValue (\ s a -> s{_tagValue = a})---- | A unique identifier for the tag. Maximum length: 128 characters. Valid characters: Unicode letters, digits, white space, _ . / = + - % @-tagKey :: Lens' Tag Text-tagKey = lens _tagKey (\ s a -> s{_tagKey = a})--instance FromJSON Tag where- parseJSON- = withObject "Tag"- (\ x -> Tag' <$> (x .:? "Value") <*> (x .: "Key"))--instance Hashable Tag where--instance NFData Tag where
− gen/Network/AWS/Kinesis/Types/Sum.hs
@@ -1,191 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE LambdaCase #-}-{-# LANGUAGE OverloadedStrings #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Kinesis.Types.Sum--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.Kinesis.Types.Sum where--import Network.AWS.Prelude--data EncryptionType- = KMS- | None- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText EncryptionType where- parser = takeLowerText >>= \case- "kms" -> pure KMS- "none" -> pure None- e -> fromTextError $ "Failure parsing EncryptionType from value: '" <> e- <> "'. Accepted values: kms, none"--instance ToText EncryptionType where- toText = \case- KMS -> "KMS"- None -> "NONE"--instance Hashable EncryptionType-instance NFData EncryptionType-instance ToByteString EncryptionType-instance ToQuery EncryptionType-instance ToHeader EncryptionType--instance ToJSON EncryptionType where- toJSON = toJSONText--instance FromJSON EncryptionType where- parseJSON = parseJSONText "EncryptionType"--data MetricsName- = All- | IncomingBytes- | IncomingRecords- | IteratorAgeMilliseconds- | OutgoingBytes- | OutgoingRecords- | ReadProvisionedThroughputExceeded- | WriteProvisionedThroughputExceeded- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText MetricsName where- parser = takeLowerText >>= \case- "all" -> pure All- "incomingbytes" -> pure IncomingBytes- "incomingrecords" -> pure IncomingRecords- "iteratoragemilliseconds" -> pure IteratorAgeMilliseconds- "outgoingbytes" -> pure OutgoingBytes- "outgoingrecords" -> pure OutgoingRecords- "readprovisionedthroughputexceeded" -> pure ReadProvisionedThroughputExceeded- "writeprovisionedthroughputexceeded" -> pure WriteProvisionedThroughputExceeded- e -> fromTextError $ "Failure parsing MetricsName from value: '" <> e- <> "'. Accepted values: all, incomingbytes, incomingrecords, iteratoragemilliseconds, outgoingbytes, outgoingrecords, readprovisionedthroughputexceeded, writeprovisionedthroughputexceeded"--instance ToText MetricsName where- toText = \case- All -> "ALL"- IncomingBytes -> "IncomingBytes"- IncomingRecords -> "IncomingRecords"- IteratorAgeMilliseconds -> "IteratorAgeMilliseconds"- OutgoingBytes -> "OutgoingBytes"- OutgoingRecords -> "OutgoingRecords"- ReadProvisionedThroughputExceeded -> "ReadProvisionedThroughputExceeded"- WriteProvisionedThroughputExceeded -> "WriteProvisionedThroughputExceeded"--instance Hashable MetricsName-instance NFData MetricsName-instance ToByteString MetricsName-instance ToQuery MetricsName-instance ToHeader MetricsName--instance ToJSON MetricsName where- toJSON = toJSONText--instance FromJSON MetricsName where- parseJSON = parseJSONText "MetricsName"--data ScalingType =- UniformScaling- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText ScalingType where- parser = takeLowerText >>= \case- "uniform_scaling" -> pure UniformScaling- e -> fromTextError $ "Failure parsing ScalingType from value: '" <> e- <> "'. Accepted values: uniform_scaling"--instance ToText ScalingType where- toText = \case- UniformScaling -> "UNIFORM_SCALING"--instance Hashable ScalingType-instance NFData ScalingType-instance ToByteString ScalingType-instance ToQuery ScalingType-instance ToHeader ScalingType--instance ToJSON ScalingType where- toJSON = toJSONText--data ShardIteratorType- = AfterSequenceNumber- | AtSequenceNumber- | AtTimestamp- | Latest- | TrimHorizon- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText ShardIteratorType where- parser = takeLowerText >>= \case- "after_sequence_number" -> pure AfterSequenceNumber- "at_sequence_number" -> pure AtSequenceNumber- "at_timestamp" -> pure AtTimestamp- "latest" -> pure Latest- "trim_horizon" -> pure TrimHorizon- e -> fromTextError $ "Failure parsing ShardIteratorType from value: '" <> e- <> "'. Accepted values: after_sequence_number, at_sequence_number, at_timestamp, latest, trim_horizon"--instance ToText ShardIteratorType where- toText = \case- AfterSequenceNumber -> "AFTER_SEQUENCE_NUMBER"- AtSequenceNumber -> "AT_SEQUENCE_NUMBER"- AtTimestamp -> "AT_TIMESTAMP"- Latest -> "LATEST"- TrimHorizon -> "TRIM_HORIZON"--instance Hashable ShardIteratorType-instance NFData ShardIteratorType-instance ToByteString ShardIteratorType-instance ToQuery ShardIteratorType-instance ToHeader ShardIteratorType--instance ToJSON ShardIteratorType where- toJSON = toJSONText--data StreamStatus- = Active- | Creating- | Deleting- | Updating- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText StreamStatus where- parser = takeLowerText >>= \case- "active" -> pure Active- "creating" -> pure Creating- "deleting" -> pure Deleting- "updating" -> pure Updating- e -> fromTextError $ "Failure parsing StreamStatus from value: '" <> e- <> "'. Accepted values: active, creating, deleting, updating"--instance ToText StreamStatus where- toText = \case- Active -> "ACTIVE"- Creating -> "CREATING"- Deleting -> "DELETING"- Updating -> "UPDATING"--instance Hashable StreamStatus-instance NFData StreamStatus-instance ToByteString StreamStatus-instance ToQuery StreamStatus-instance ToHeader StreamStatus--instance FromJSON StreamStatus where- parseJSON = parseJSONText "StreamStatus"
− gen/Network/AWS/Kinesis/UpdateShardCount.hs
@@ -1,201 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Kinesis.UpdateShardCount--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Updates the shard count of the specified stream to the specified number of shards.--------- Updating the shard count is an asynchronous operation. Upon receiving the request, Kinesis Data Streams returns immediately and sets the status of the stream to @UPDATING@ . After the update is complete, Kinesis Data Streams sets the status of the stream back to @ACTIVE@ . Depending on the size of the stream, the scaling action could take a few minutes to complete. You can continue to read and write data to your stream while its status is @UPDATING@ .------ To update the shard count, Kinesis Data Streams performs splits or merges on individual shards. This can cause short-lived shards to be created, in addition to the final shards. We recommend that you double or halve the shard count, as this results in the fewest number of splits or merges.------ This operation has the following limits. You cannot do the following:------ * Scale more than twice per rolling 24-hour period per stream------ * Scale up to more than double your current shard count for a stream------ * Scale down below half your current shard count for a stream------ * Scale up to more than 500 shards in a stream------ * Scale a stream with more than 500 shards down unless the result is less than 500 shards------ * Scale up to more than the shard limit for your account------------ For the default limits for an AWS account, see <http://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html Streams Limits> in the /Amazon Kinesis Data Streams Developer Guide/ . To request an increase in the call rate limit, the shard limit for this API, or your overall shard limit, use the <https://console.aws.amazon.com/support/v1#/case/create?issueType=service-limit-increase&limitType=service-code-kinesis limits form> .----module Network.AWS.Kinesis.UpdateShardCount- (- -- * Creating a Request- updateShardCount- , UpdateShardCount- -- * Request Lenses- , uscStreamName- , uscTargetShardCount- , uscScalingType-- -- * Destructuring the Response- , updateShardCountResponse- , UpdateShardCountResponse- -- * Response Lenses- , uscrsTargetShardCount- , uscrsStreamName- , uscrsCurrentShardCount- , uscrsResponseStatus- ) where--import Network.AWS.Kinesis.Types-import Network.AWS.Kinesis.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'updateShardCount' smart constructor.-data UpdateShardCount = UpdateShardCount'- { _uscStreamName :: !Text- , _uscTargetShardCount :: !Nat- , _uscScalingType :: !ScalingType- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateShardCount' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'uscStreamName' - The name of the stream.------ * 'uscTargetShardCount' - The new number of shards.------ * 'uscScalingType' - The scaling type. Uniform scaling creates shards of equal size.-updateShardCount- :: Text -- ^ 'uscStreamName'- -> Natural -- ^ 'uscTargetShardCount'- -> ScalingType -- ^ 'uscScalingType'- -> UpdateShardCount-updateShardCount pStreamName_ pTargetShardCount_ pScalingType_ =- UpdateShardCount'- { _uscStreamName = pStreamName_- , _uscTargetShardCount = _Nat # pTargetShardCount_- , _uscScalingType = pScalingType_- }----- | The name of the stream.-uscStreamName :: Lens' UpdateShardCount Text-uscStreamName = lens _uscStreamName (\ s a -> s{_uscStreamName = a})---- | The new number of shards.-uscTargetShardCount :: Lens' UpdateShardCount Natural-uscTargetShardCount = lens _uscTargetShardCount (\ s a -> s{_uscTargetShardCount = a}) . _Nat---- | The scaling type. Uniform scaling creates shards of equal size.-uscScalingType :: Lens' UpdateShardCount ScalingType-uscScalingType = lens _uscScalingType (\ s a -> s{_uscScalingType = a})--instance AWSRequest UpdateShardCount where- type Rs UpdateShardCount = UpdateShardCountResponse- request = postJSON kinesis- response- = receiveJSON- (\ s h x ->- UpdateShardCountResponse' <$>- (x .?> "TargetShardCount") <*> (x .?> "StreamName")- <*> (x .?> "CurrentShardCount")- <*> (pure (fromEnum s)))--instance Hashable UpdateShardCount where--instance NFData UpdateShardCount where--instance ToHeaders UpdateShardCount where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("Kinesis_20131202.UpdateShardCount" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON UpdateShardCount where- toJSON UpdateShardCount'{..}- = object- (catMaybes- [Just ("StreamName" .= _uscStreamName),- Just ("TargetShardCount" .= _uscTargetShardCount),- Just ("ScalingType" .= _uscScalingType)])--instance ToPath UpdateShardCount where- toPath = const "/"--instance ToQuery UpdateShardCount where- toQuery = const mempty---- | /See:/ 'updateShardCountResponse' smart constructor.-data UpdateShardCountResponse = UpdateShardCountResponse'- { _uscrsTargetShardCount :: !(Maybe Nat)- , _uscrsStreamName :: !(Maybe Text)- , _uscrsCurrentShardCount :: !(Maybe Nat)- , _uscrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateShardCountResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'uscrsTargetShardCount' - The updated number of shards.------ * 'uscrsStreamName' - The name of the stream.------ * 'uscrsCurrentShardCount' - The current number of shards.------ * 'uscrsResponseStatus' - -- | The response status code.-updateShardCountResponse- :: Int -- ^ 'uscrsResponseStatus'- -> UpdateShardCountResponse-updateShardCountResponse pResponseStatus_ =- UpdateShardCountResponse'- { _uscrsTargetShardCount = Nothing- , _uscrsStreamName = Nothing- , _uscrsCurrentShardCount = Nothing- , _uscrsResponseStatus = pResponseStatus_- }----- | The updated number of shards.-uscrsTargetShardCount :: Lens' UpdateShardCountResponse (Maybe Natural)-uscrsTargetShardCount = lens _uscrsTargetShardCount (\ s a -> s{_uscrsTargetShardCount = a}) . mapping _Nat---- | The name of the stream.-uscrsStreamName :: Lens' UpdateShardCountResponse (Maybe Text)-uscrsStreamName = lens _uscrsStreamName (\ s a -> s{_uscrsStreamName = a})---- | The current number of shards.-uscrsCurrentShardCount :: Lens' UpdateShardCountResponse (Maybe Natural)-uscrsCurrentShardCount = lens _uscrsCurrentShardCount (\ s a -> s{_uscrsCurrentShardCount = a}) . mapping _Nat---- | -- | The response status code.-uscrsResponseStatus :: Lens' UpdateShardCountResponse Int-uscrsResponseStatus = lens _uscrsResponseStatus (\ s a -> s{_uscrsResponseStatus = a})--instance NFData UpdateShardCountResponse where
− gen/Network/AWS/Kinesis/Waiters.hs
@@ -1,50 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Kinesis.Waiters--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.Kinesis.Waiters where--import Network.AWS.Kinesis.DescribeStream-import Network.AWS.Kinesis.DescribeStream-import Network.AWS.Kinesis.Types-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Waiter---- | Polls 'Network.AWS.Kinesis.DescribeStream' every 10 seconds until a successful state is reached. An error is returned after 18 failed checks.-streamExists :: Wait DescribeStream-streamExists =- Wait- { _waitName = "StreamExists"- , _waitAttempts = 18- , _waitDelay = 10- , _waitAcceptors =- [ matchAll- "ACTIVE"- AcceptSuccess- (dsrsStreamDescription . sdStreamStatus . to toTextCI)- ]- }----- | Polls 'Network.AWS.Kinesis.DescribeStream' every 10 seconds until a successful state is reached. An error is returned after 18 failed checks.-streamNotExists :: Wait DescribeStream-streamNotExists =- Wait- { _waitName = "StreamNotExists"- , _waitAttempts = 18- , _waitDelay = 10- , _waitAcceptors = [matchError "ResourceNotFoundException" AcceptSuccess]- }-
test/Main.hs view
@@ -2,20 +2,22 @@ -- | -- Module : Main--- Copyright : (c) 2013-2018 Brendan Hay+-- Copyright : (c) 2013-2023 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Maintainer : Brendan Hay -- Stability : auto-generated -- Portability : non-portable (GHC extensions)--- module Main (main) where +import Test.Amazonka.Kinesis+import Test.Amazonka.Kinesis.Internal import Test.Tasty-import Test.AWS.Kinesis-import Test.AWS.Kinesis.Internal main :: IO ()-main = defaultMain $ testGroup "Kinesis"- [ testGroup "tests" tests- , testGroup "fixtures" fixtures- ]+main =+ defaultMain $+ testGroup+ "Kinesis"+ [ testGroup "tests" tests,+ testGroup "fixtures" fixtures+ ]
− test/Test/AWS/Gen/Kinesis.hs
@@ -1,453 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Test.AWS.Gen.Kinesis--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Test.AWS.Gen.Kinesis where--import Data.Proxy-import Network.AWS.Kinesis-import Test.AWS.Fixture-import Test.AWS.Kinesis.Internal-import Test.AWS.Prelude-import Test.Tasty---- Auto-generated: the actual test selection needs to be manually placed into--- the top-level so that real test data can be incrementally added.------ This commented snippet is what the entire set should look like:---- fixtures :: TestTree--- fixtures =--- [ testGroup "request"--- [ requestPutRecord $--- putRecord------ , requestDecreaseStreamRetentionPeriod $--- decreaseStreamRetentionPeriod------ , requestMergeShards $--- mergeShards------ , requestDescribeStreamSummary $--- describeStreamSummary------ , requestGetShardIterator $--- getShardIterator------ , requestGetRecords $--- getRecords------ , requestStopStreamEncryption $--- stopStreamEncryption------ , requestEnableEnhancedMonitoring $--- enableEnhancedMonitoring------ , requestDescribeLimits $--- describeLimits------ , requestDisableEnhancedMonitoring $--- disableEnhancedMonitoring------ , requestUpdateShardCount $--- updateShardCount------ , requestListTagsForStream $--- listTagsForStream------ , requestAddTagsToStream $--- addTagsToStream------ , requestPutRecords $--- putRecords------ , requestListShards $--- listShards------ , requestDeleteStream $--- deleteStream------ , requestRemoveTagsFromStream $--- removeTagsFromStream------ , requestListStreams $--- listStreams------ , requestCreateStream $--- createStream------ , requestStartStreamEncryption $--- startStreamEncryption------ , requestSplitShard $--- splitShard------ , requestIncreaseStreamRetentionPeriod $--- increaseStreamRetentionPeriod------ , requestDescribeStream $--- describeStream------ ]---- , testGroup "response"--- [ responsePutRecord $--- putRecordResponse------ , responseDecreaseStreamRetentionPeriod $--- decreaseStreamRetentionPeriodResponse------ , responseMergeShards $--- mergeShardsResponse------ , responseDescribeStreamSummary $--- describeStreamSummaryResponse------ , responseGetShardIterator $--- getShardIteratorResponse------ , responseGetRecords $--- getRecordsResponse------ , responseStopStreamEncryption $--- stopStreamEncryptionResponse------ , responseEnableEnhancedMonitoring $--- enhancedMonitoringOutput------ , responseDescribeLimits $--- describeLimitsResponse------ , responseDisableEnhancedMonitoring $--- enhancedMonitoringOutput------ , responseUpdateShardCount $--- updateShardCountResponse------ , responseListTagsForStream $--- listTagsForStreamResponse------ , responseAddTagsToStream $--- addTagsToStreamResponse------ , responsePutRecords $--- putRecordsResponse------ , responseListShards $--- listShardsResponse------ , responseDeleteStream $--- deleteStreamResponse------ , responseRemoveTagsFromStream $--- removeTagsFromStreamResponse------ , responseListStreams $--- listStreamsResponse------ , responseCreateStream $--- createStreamResponse------ , responseStartStreamEncryption $--- startStreamEncryptionResponse------ , responseSplitShard $--- splitShardResponse------ , responseIncreaseStreamRetentionPeriod $--- increaseStreamRetentionPeriodResponse------ , responseDescribeStream $--- describeStreamResponse------ ]--- ]---- Requests--requestPutRecord :: PutRecord -> TestTree-requestPutRecord = req- "PutRecord"- "fixture/PutRecord.yaml"--requestDecreaseStreamRetentionPeriod :: DecreaseStreamRetentionPeriod -> TestTree-requestDecreaseStreamRetentionPeriod = req- "DecreaseStreamRetentionPeriod"- "fixture/DecreaseStreamRetentionPeriod.yaml"--requestMergeShards :: MergeShards -> TestTree-requestMergeShards = req- "MergeShards"- "fixture/MergeShards.yaml"--requestDescribeStreamSummary :: DescribeStreamSummary -> TestTree-requestDescribeStreamSummary = req- "DescribeStreamSummary"- "fixture/DescribeStreamSummary.yaml"--requestGetShardIterator :: GetShardIterator -> TestTree-requestGetShardIterator = req- "GetShardIterator"- "fixture/GetShardIterator.yaml"--requestGetRecords :: GetRecords -> TestTree-requestGetRecords = req- "GetRecords"- "fixture/GetRecords.yaml"--requestStopStreamEncryption :: StopStreamEncryption -> TestTree-requestStopStreamEncryption = req- "StopStreamEncryption"- "fixture/StopStreamEncryption.yaml"--requestEnableEnhancedMonitoring :: EnableEnhancedMonitoring -> TestTree-requestEnableEnhancedMonitoring = req- "EnableEnhancedMonitoring"- "fixture/EnableEnhancedMonitoring.yaml"--requestDescribeLimits :: DescribeLimits -> TestTree-requestDescribeLimits = req- "DescribeLimits"- "fixture/DescribeLimits.yaml"--requestDisableEnhancedMonitoring :: DisableEnhancedMonitoring -> TestTree-requestDisableEnhancedMonitoring = req- "DisableEnhancedMonitoring"- "fixture/DisableEnhancedMonitoring.yaml"--requestUpdateShardCount :: UpdateShardCount -> TestTree-requestUpdateShardCount = req- "UpdateShardCount"- "fixture/UpdateShardCount.yaml"--requestListTagsForStream :: ListTagsForStream -> TestTree-requestListTagsForStream = req- "ListTagsForStream"- "fixture/ListTagsForStream.yaml"--requestAddTagsToStream :: AddTagsToStream -> TestTree-requestAddTagsToStream = req- "AddTagsToStream"- "fixture/AddTagsToStream.yaml"--requestPutRecords :: PutRecords -> TestTree-requestPutRecords = req- "PutRecords"- "fixture/PutRecords.yaml"--requestListShards :: ListShards -> TestTree-requestListShards = req- "ListShards"- "fixture/ListShards.yaml"--requestDeleteStream :: DeleteStream -> TestTree-requestDeleteStream = req- "DeleteStream"- "fixture/DeleteStream.yaml"--requestRemoveTagsFromStream :: RemoveTagsFromStream -> TestTree-requestRemoveTagsFromStream = req- "RemoveTagsFromStream"- "fixture/RemoveTagsFromStream.yaml"--requestListStreams :: ListStreams -> TestTree-requestListStreams = req- "ListStreams"- "fixture/ListStreams.yaml"--requestCreateStream :: CreateStream -> TestTree-requestCreateStream = req- "CreateStream"- "fixture/CreateStream.yaml"--requestStartStreamEncryption :: StartStreamEncryption -> TestTree-requestStartStreamEncryption = req- "StartStreamEncryption"- "fixture/StartStreamEncryption.yaml"--requestSplitShard :: SplitShard -> TestTree-requestSplitShard = req- "SplitShard"- "fixture/SplitShard.yaml"--requestIncreaseStreamRetentionPeriod :: IncreaseStreamRetentionPeriod -> TestTree-requestIncreaseStreamRetentionPeriod = req- "IncreaseStreamRetentionPeriod"- "fixture/IncreaseStreamRetentionPeriod.yaml"--requestDescribeStream :: DescribeStream -> TestTree-requestDescribeStream = req- "DescribeStream"- "fixture/DescribeStream.yaml"---- Responses--responsePutRecord :: PutRecordResponse -> TestTree-responsePutRecord = res- "PutRecordResponse"- "fixture/PutRecordResponse.proto"- kinesis- (Proxy :: Proxy PutRecord)--responseDecreaseStreamRetentionPeriod :: DecreaseStreamRetentionPeriodResponse -> TestTree-responseDecreaseStreamRetentionPeriod = res- "DecreaseStreamRetentionPeriodResponse"- "fixture/DecreaseStreamRetentionPeriodResponse.proto"- kinesis- (Proxy :: Proxy DecreaseStreamRetentionPeriod)--responseMergeShards :: MergeShardsResponse -> TestTree-responseMergeShards = res- "MergeShardsResponse"- "fixture/MergeShardsResponse.proto"- kinesis- (Proxy :: Proxy MergeShards)--responseDescribeStreamSummary :: DescribeStreamSummaryResponse -> TestTree-responseDescribeStreamSummary = res- "DescribeStreamSummaryResponse"- "fixture/DescribeStreamSummaryResponse.proto"- kinesis- (Proxy :: Proxy DescribeStreamSummary)--responseGetShardIterator :: GetShardIteratorResponse -> TestTree-responseGetShardIterator = res- "GetShardIteratorResponse"- "fixture/GetShardIteratorResponse.proto"- kinesis- (Proxy :: Proxy GetShardIterator)--responseGetRecords :: GetRecordsResponse -> TestTree-responseGetRecords = res- "GetRecordsResponse"- "fixture/GetRecordsResponse.proto"- kinesis- (Proxy :: Proxy GetRecords)--responseStopStreamEncryption :: StopStreamEncryptionResponse -> TestTree-responseStopStreamEncryption = res- "StopStreamEncryptionResponse"- "fixture/StopStreamEncryptionResponse.proto"- kinesis- (Proxy :: Proxy StopStreamEncryption)--responseEnableEnhancedMonitoring :: EnhancedMonitoringOutput -> TestTree-responseEnableEnhancedMonitoring = res- "EnableEnhancedMonitoringResponse"- "fixture/EnableEnhancedMonitoringResponse.proto"- kinesis- (Proxy :: Proxy EnableEnhancedMonitoring)--responseDescribeLimits :: DescribeLimitsResponse -> TestTree-responseDescribeLimits = res- "DescribeLimitsResponse"- "fixture/DescribeLimitsResponse.proto"- kinesis- (Proxy :: Proxy DescribeLimits)--responseDisableEnhancedMonitoring :: EnhancedMonitoringOutput -> TestTree-responseDisableEnhancedMonitoring = res- "DisableEnhancedMonitoringResponse"- "fixture/DisableEnhancedMonitoringResponse.proto"- kinesis- (Proxy :: Proxy DisableEnhancedMonitoring)--responseUpdateShardCount :: UpdateShardCountResponse -> TestTree-responseUpdateShardCount = res- "UpdateShardCountResponse"- "fixture/UpdateShardCountResponse.proto"- kinesis- (Proxy :: Proxy UpdateShardCount)--responseListTagsForStream :: ListTagsForStreamResponse -> TestTree-responseListTagsForStream = res- "ListTagsForStreamResponse"- "fixture/ListTagsForStreamResponse.proto"- kinesis- (Proxy :: Proxy ListTagsForStream)--responseAddTagsToStream :: AddTagsToStreamResponse -> TestTree-responseAddTagsToStream = res- "AddTagsToStreamResponse"- "fixture/AddTagsToStreamResponse.proto"- kinesis- (Proxy :: Proxy AddTagsToStream)--responsePutRecords :: PutRecordsResponse -> TestTree-responsePutRecords = res- "PutRecordsResponse"- "fixture/PutRecordsResponse.proto"- kinesis- (Proxy :: Proxy PutRecords)--responseListShards :: ListShardsResponse -> TestTree-responseListShards = res- "ListShardsResponse"- "fixture/ListShardsResponse.proto"- kinesis- (Proxy :: Proxy ListShards)--responseDeleteStream :: DeleteStreamResponse -> TestTree-responseDeleteStream = res- "DeleteStreamResponse"- "fixture/DeleteStreamResponse.proto"- kinesis- (Proxy :: Proxy DeleteStream)--responseRemoveTagsFromStream :: RemoveTagsFromStreamResponse -> TestTree-responseRemoveTagsFromStream = res- "RemoveTagsFromStreamResponse"- "fixture/RemoveTagsFromStreamResponse.proto"- kinesis- (Proxy :: Proxy RemoveTagsFromStream)--responseListStreams :: ListStreamsResponse -> TestTree-responseListStreams = res- "ListStreamsResponse"- "fixture/ListStreamsResponse.proto"- kinesis- (Proxy :: Proxy ListStreams)--responseCreateStream :: CreateStreamResponse -> TestTree-responseCreateStream = res- "CreateStreamResponse"- "fixture/CreateStreamResponse.proto"- kinesis- (Proxy :: Proxy CreateStream)--responseStartStreamEncryption :: StartStreamEncryptionResponse -> TestTree-responseStartStreamEncryption = res- "StartStreamEncryptionResponse"- "fixture/StartStreamEncryptionResponse.proto"- kinesis- (Proxy :: Proxy StartStreamEncryption)--responseSplitShard :: SplitShardResponse -> TestTree-responseSplitShard = res- "SplitShardResponse"- "fixture/SplitShardResponse.proto"- kinesis- (Proxy :: Proxy SplitShard)--responseIncreaseStreamRetentionPeriod :: IncreaseStreamRetentionPeriodResponse -> TestTree-responseIncreaseStreamRetentionPeriod = res- "IncreaseStreamRetentionPeriodResponse"- "fixture/IncreaseStreamRetentionPeriodResponse.proto"- kinesis- (Proxy :: Proxy IncreaseStreamRetentionPeriod)--responseDescribeStream :: DescribeStreamResponse -> TestTree-responseDescribeStream = res- "DescribeStreamResponse"- "fixture/DescribeStreamResponse.proto"- kinesis- (Proxy :: Proxy DescribeStream)
− test/Test/AWS/Kinesis.hs
@@ -1,26 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}---- Module : Test.AWS.Kinesis--- Copyright : (c) 2013-2018 Brendan Hay--- License : This Source Code Form is subject to the terms of--- the Mozilla Public License, v. 2.0.--- A copy of the MPL can be found in the LICENSE file or--- you can obtain it at http://mozilla.org/MPL/2.0/.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : experimental--- Portability : non-portable (GHC extensions)--module Test.AWS.Kinesis- ( tests- , fixtures- ) where--import Network.AWS.Kinesis-import Test.AWS.Gen.Kinesis-import Test.Tasty--tests :: [TestTree]-tests = []--fixtures :: [TestTree]-fixtures = []
− test/Test/AWS/Kinesis/Internal.hs
@@ -1,16 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Module : Test.AWS.Kinesis.Internal--- Copyright : (c) 2013-2018 Brendan Hay--- License : This Source Code Form is subject to the terms of--- the Mozilla Public License, v. 2.0.--- A copy of the MPL can be found in the LICENSE file or--- you can obtain it at http://mozilla.org/MPL/2.0/.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : experimental--- Portability : non-portable (GHC extensions)--module Test.AWS.Kinesis.Internal where--import Test.AWS.Prelude
+ test/Test/Amazonka/Gen/Kinesis.hs view
@@ -0,0 +1,610 @@+{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Test.Amazonka.Gen.Kinesis+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.Gen.Kinesis where++import Amazonka.Kinesis+import qualified Data.Proxy as Proxy+import Test.Amazonka.Fixture+import Test.Amazonka.Kinesis.Internal+import Test.Amazonka.Prelude+import Test.Tasty++-- Auto-generated: the actual test selection needs to be manually placed into+-- the top-level so that real test data can be incrementally added.+--+-- This commented snippet is what the entire set should look like:++-- fixtures :: TestTree+-- fixtures =+-- [ testGroup "request"+-- [ requestAddTagsToStream $+-- newAddTagsToStream+--+-- , requestCreateStream $+-- newCreateStream+--+-- , requestDecreaseStreamRetentionPeriod $+-- newDecreaseStreamRetentionPeriod+--+-- , requestDeleteStream $+-- newDeleteStream+--+-- , requestDeregisterStreamConsumer $+-- newDeregisterStreamConsumer+--+-- , requestDescribeLimits $+-- newDescribeLimits+--+-- , requestDescribeStream $+-- newDescribeStream+--+-- , requestDescribeStreamConsumer $+-- newDescribeStreamConsumer+--+-- , requestDescribeStreamSummary $+-- newDescribeStreamSummary+--+-- , requestDisableEnhancedMonitoring $+-- newDisableEnhancedMonitoring+--+-- , requestEnableEnhancedMonitoring $+-- newEnableEnhancedMonitoring+--+-- , requestGetRecords $+-- newGetRecords+--+-- , requestGetShardIterator $+-- newGetShardIterator+--+-- , requestIncreaseStreamRetentionPeriod $+-- newIncreaseStreamRetentionPeriod+--+-- , requestListShards $+-- newListShards+--+-- , requestListStreamConsumers $+-- newListStreamConsumers+--+-- , requestListStreams $+-- newListStreams+--+-- , requestListTagsForStream $+-- newListTagsForStream+--+-- , requestMergeShards $+-- newMergeShards+--+-- , requestPutRecord $+-- newPutRecord+--+-- , requestPutRecords $+-- newPutRecords+--+-- , requestRegisterStreamConsumer $+-- newRegisterStreamConsumer+--+-- , requestRemoveTagsFromStream $+-- newRemoveTagsFromStream+--+-- , requestSplitShard $+-- newSplitShard+--+-- , requestStartStreamEncryption $+-- newStartStreamEncryption+--+-- , requestStopStreamEncryption $+-- newStopStreamEncryption+--+-- , requestSubscribeToShard $+-- newSubscribeToShard+--+-- , requestUpdateShardCount $+-- newUpdateShardCount+--+-- , requestUpdateStreamMode $+-- newUpdateStreamMode+--+-- ]++-- , testGroup "response"+-- [ responseAddTagsToStream $+-- newAddTagsToStreamResponse+--+-- , responseCreateStream $+-- newCreateStreamResponse+--+-- , responseDecreaseStreamRetentionPeriod $+-- newDecreaseStreamRetentionPeriodResponse+--+-- , responseDeleteStream $+-- newDeleteStreamResponse+--+-- , responseDeregisterStreamConsumer $+-- newDeregisterStreamConsumerResponse+--+-- , responseDescribeLimits $+-- newDescribeLimitsResponse+--+-- , responseDescribeStream $+-- newDescribeStreamResponse+--+-- , responseDescribeStreamConsumer $+-- newDescribeStreamConsumerResponse+--+-- , responseDescribeStreamSummary $+-- newDescribeStreamSummaryResponse+--+-- , responseDisableEnhancedMonitoring $+-- newEnhancedMonitoringOutput+--+-- , responseEnableEnhancedMonitoring $+-- newEnhancedMonitoringOutput+--+-- , responseGetRecords $+-- newGetRecordsResponse+--+-- , responseGetShardIterator $+-- newGetShardIteratorResponse+--+-- , responseIncreaseStreamRetentionPeriod $+-- newIncreaseStreamRetentionPeriodResponse+--+-- , responseListShards $+-- newListShardsResponse+--+-- , responseListStreamConsumers $+-- newListStreamConsumersResponse+--+-- , responseListStreams $+-- newListStreamsResponse+--+-- , responseListTagsForStream $+-- newListTagsForStreamResponse+--+-- , responseMergeShards $+-- newMergeShardsResponse+--+-- , responsePutRecord $+-- newPutRecordResponse+--+-- , responsePutRecords $+-- newPutRecordsResponse+--+-- , responseRegisterStreamConsumer $+-- newRegisterStreamConsumerResponse+--+-- , responseRemoveTagsFromStream $+-- newRemoveTagsFromStreamResponse+--+-- , responseSplitShard $+-- newSplitShardResponse+--+-- , responseStartStreamEncryption $+-- newStartStreamEncryptionResponse+--+-- , responseStopStreamEncryption $+-- newStopStreamEncryptionResponse+--+-- , responseSubscribeToShard $+-- newSubscribeToShardResponse+--+-- , responseUpdateShardCount $+-- newUpdateShardCountResponse+--+-- , responseUpdateStreamMode $+-- newUpdateStreamModeResponse+--+-- ]+-- ]++-- Requests++requestAddTagsToStream :: AddTagsToStream -> TestTree+requestAddTagsToStream =+ req+ "AddTagsToStream"+ "fixture/AddTagsToStream.yaml"++requestCreateStream :: CreateStream -> TestTree+requestCreateStream =+ req+ "CreateStream"+ "fixture/CreateStream.yaml"++requestDecreaseStreamRetentionPeriod :: DecreaseStreamRetentionPeriod -> TestTree+requestDecreaseStreamRetentionPeriod =+ req+ "DecreaseStreamRetentionPeriod"+ "fixture/DecreaseStreamRetentionPeriod.yaml"++requestDeleteStream :: DeleteStream -> TestTree+requestDeleteStream =+ req+ "DeleteStream"+ "fixture/DeleteStream.yaml"++requestDeregisterStreamConsumer :: DeregisterStreamConsumer -> TestTree+requestDeregisterStreamConsumer =+ req+ "DeregisterStreamConsumer"+ "fixture/DeregisterStreamConsumer.yaml"++requestDescribeLimits :: DescribeLimits -> TestTree+requestDescribeLimits =+ req+ "DescribeLimits"+ "fixture/DescribeLimits.yaml"++requestDescribeStream :: DescribeStream -> TestTree+requestDescribeStream =+ req+ "DescribeStream"+ "fixture/DescribeStream.yaml"++requestDescribeStreamConsumer :: DescribeStreamConsumer -> TestTree+requestDescribeStreamConsumer =+ req+ "DescribeStreamConsumer"+ "fixture/DescribeStreamConsumer.yaml"++requestDescribeStreamSummary :: DescribeStreamSummary -> TestTree+requestDescribeStreamSummary =+ req+ "DescribeStreamSummary"+ "fixture/DescribeStreamSummary.yaml"++requestDisableEnhancedMonitoring :: DisableEnhancedMonitoring -> TestTree+requestDisableEnhancedMonitoring =+ req+ "DisableEnhancedMonitoring"+ "fixture/DisableEnhancedMonitoring.yaml"++requestEnableEnhancedMonitoring :: EnableEnhancedMonitoring -> TestTree+requestEnableEnhancedMonitoring =+ req+ "EnableEnhancedMonitoring"+ "fixture/EnableEnhancedMonitoring.yaml"++requestGetRecords :: GetRecords -> TestTree+requestGetRecords =+ req+ "GetRecords"+ "fixture/GetRecords.yaml"++requestGetShardIterator :: GetShardIterator -> TestTree+requestGetShardIterator =+ req+ "GetShardIterator"+ "fixture/GetShardIterator.yaml"++requestIncreaseStreamRetentionPeriod :: IncreaseStreamRetentionPeriod -> TestTree+requestIncreaseStreamRetentionPeriod =+ req+ "IncreaseStreamRetentionPeriod"+ "fixture/IncreaseStreamRetentionPeriod.yaml"++requestListShards :: ListShards -> TestTree+requestListShards =+ req+ "ListShards"+ "fixture/ListShards.yaml"++requestListStreamConsumers :: ListStreamConsumers -> TestTree+requestListStreamConsumers =+ req+ "ListStreamConsumers"+ "fixture/ListStreamConsumers.yaml"++requestListStreams :: ListStreams -> TestTree+requestListStreams =+ req+ "ListStreams"+ "fixture/ListStreams.yaml"++requestListTagsForStream :: ListTagsForStream -> TestTree+requestListTagsForStream =+ req+ "ListTagsForStream"+ "fixture/ListTagsForStream.yaml"++requestMergeShards :: MergeShards -> TestTree+requestMergeShards =+ req+ "MergeShards"+ "fixture/MergeShards.yaml"++requestPutRecord :: PutRecord -> TestTree+requestPutRecord =+ req+ "PutRecord"+ "fixture/PutRecord.yaml"++requestPutRecords :: PutRecords -> TestTree+requestPutRecords =+ req+ "PutRecords"+ "fixture/PutRecords.yaml"++requestRegisterStreamConsumer :: RegisterStreamConsumer -> TestTree+requestRegisterStreamConsumer =+ req+ "RegisterStreamConsumer"+ "fixture/RegisterStreamConsumer.yaml"++requestRemoveTagsFromStream :: RemoveTagsFromStream -> TestTree+requestRemoveTagsFromStream =+ req+ "RemoveTagsFromStream"+ "fixture/RemoveTagsFromStream.yaml"++requestSplitShard :: SplitShard -> TestTree+requestSplitShard =+ req+ "SplitShard"+ "fixture/SplitShard.yaml"++requestStartStreamEncryption :: StartStreamEncryption -> TestTree+requestStartStreamEncryption =+ req+ "StartStreamEncryption"+ "fixture/StartStreamEncryption.yaml"++requestStopStreamEncryption :: StopStreamEncryption -> TestTree+requestStopStreamEncryption =+ req+ "StopStreamEncryption"+ "fixture/StopStreamEncryption.yaml"++requestSubscribeToShard :: SubscribeToShard -> TestTree+requestSubscribeToShard =+ req+ "SubscribeToShard"+ "fixture/SubscribeToShard.yaml"++requestUpdateShardCount :: UpdateShardCount -> TestTree+requestUpdateShardCount =+ req+ "UpdateShardCount"+ "fixture/UpdateShardCount.yaml"++requestUpdateStreamMode :: UpdateStreamMode -> TestTree+requestUpdateStreamMode =+ req+ "UpdateStreamMode"+ "fixture/UpdateStreamMode.yaml"++-- Responses++responseAddTagsToStream :: AddTagsToStreamResponse -> TestTree+responseAddTagsToStream =+ res+ "AddTagsToStreamResponse"+ "fixture/AddTagsToStreamResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy AddTagsToStream)++responseCreateStream :: CreateStreamResponse -> TestTree+responseCreateStream =+ res+ "CreateStreamResponse"+ "fixture/CreateStreamResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateStream)++responseDecreaseStreamRetentionPeriod :: DecreaseStreamRetentionPeriodResponse -> TestTree+responseDecreaseStreamRetentionPeriod =+ res+ "DecreaseStreamRetentionPeriodResponse"+ "fixture/DecreaseStreamRetentionPeriodResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DecreaseStreamRetentionPeriod)++responseDeleteStream :: DeleteStreamResponse -> TestTree+responseDeleteStream =+ res+ "DeleteStreamResponse"+ "fixture/DeleteStreamResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteStream)++responseDeregisterStreamConsumer :: DeregisterStreamConsumerResponse -> TestTree+responseDeregisterStreamConsumer =+ res+ "DeregisterStreamConsumerResponse"+ "fixture/DeregisterStreamConsumerResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeregisterStreamConsumer)++responseDescribeLimits :: DescribeLimitsResponse -> TestTree+responseDescribeLimits =+ res+ "DescribeLimitsResponse"+ "fixture/DescribeLimitsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeLimits)++responseDescribeStream :: DescribeStreamResponse -> TestTree+responseDescribeStream =+ res+ "DescribeStreamResponse"+ "fixture/DescribeStreamResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeStream)++responseDescribeStreamConsumer :: DescribeStreamConsumerResponse -> TestTree+responseDescribeStreamConsumer =+ res+ "DescribeStreamConsumerResponse"+ "fixture/DescribeStreamConsumerResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeStreamConsumer)++responseDescribeStreamSummary :: DescribeStreamSummaryResponse -> TestTree+responseDescribeStreamSummary =+ res+ "DescribeStreamSummaryResponse"+ "fixture/DescribeStreamSummaryResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeStreamSummary)++responseDisableEnhancedMonitoring :: EnhancedMonitoringOutput -> TestTree+responseDisableEnhancedMonitoring =+ res+ "DisableEnhancedMonitoringResponse"+ "fixture/DisableEnhancedMonitoringResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DisableEnhancedMonitoring)++responseEnableEnhancedMonitoring :: EnhancedMonitoringOutput -> TestTree+responseEnableEnhancedMonitoring =+ res+ "EnableEnhancedMonitoringResponse"+ "fixture/EnableEnhancedMonitoringResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy EnableEnhancedMonitoring)++responseGetRecords :: GetRecordsResponse -> TestTree+responseGetRecords =+ res+ "GetRecordsResponse"+ "fixture/GetRecordsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetRecords)++responseGetShardIterator :: GetShardIteratorResponse -> TestTree+responseGetShardIterator =+ res+ "GetShardIteratorResponse"+ "fixture/GetShardIteratorResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetShardIterator)++responseIncreaseStreamRetentionPeriod :: IncreaseStreamRetentionPeriodResponse -> TestTree+responseIncreaseStreamRetentionPeriod =+ res+ "IncreaseStreamRetentionPeriodResponse"+ "fixture/IncreaseStreamRetentionPeriodResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy IncreaseStreamRetentionPeriod)++responseListShards :: ListShardsResponse -> TestTree+responseListShards =+ res+ "ListShardsResponse"+ "fixture/ListShardsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListShards)++responseListStreamConsumers :: ListStreamConsumersResponse -> TestTree+responseListStreamConsumers =+ res+ "ListStreamConsumersResponse"+ "fixture/ListStreamConsumersResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListStreamConsumers)++responseListStreams :: ListStreamsResponse -> TestTree+responseListStreams =+ res+ "ListStreamsResponse"+ "fixture/ListStreamsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListStreams)++responseListTagsForStream :: ListTagsForStreamResponse -> TestTree+responseListTagsForStream =+ res+ "ListTagsForStreamResponse"+ "fixture/ListTagsForStreamResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListTagsForStream)++responseMergeShards :: MergeShardsResponse -> TestTree+responseMergeShards =+ res+ "MergeShardsResponse"+ "fixture/MergeShardsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy MergeShards)++responsePutRecord :: PutRecordResponse -> TestTree+responsePutRecord =+ res+ "PutRecordResponse"+ "fixture/PutRecordResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy PutRecord)++responsePutRecords :: PutRecordsResponse -> TestTree+responsePutRecords =+ res+ "PutRecordsResponse"+ "fixture/PutRecordsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy PutRecords)++responseRegisterStreamConsumer :: RegisterStreamConsumerResponse -> TestTree+responseRegisterStreamConsumer =+ res+ "RegisterStreamConsumerResponse"+ "fixture/RegisterStreamConsumerResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy RegisterStreamConsumer)++responseRemoveTagsFromStream :: RemoveTagsFromStreamResponse -> TestTree+responseRemoveTagsFromStream =+ res+ "RemoveTagsFromStreamResponse"+ "fixture/RemoveTagsFromStreamResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy RemoveTagsFromStream)++responseSplitShard :: SplitShardResponse -> TestTree+responseSplitShard =+ res+ "SplitShardResponse"+ "fixture/SplitShardResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy SplitShard)++responseStartStreamEncryption :: StartStreamEncryptionResponse -> TestTree+responseStartStreamEncryption =+ res+ "StartStreamEncryptionResponse"+ "fixture/StartStreamEncryptionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy StartStreamEncryption)++responseStopStreamEncryption :: StopStreamEncryptionResponse -> TestTree+responseStopStreamEncryption =+ res+ "StopStreamEncryptionResponse"+ "fixture/StopStreamEncryptionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy StopStreamEncryption)++responseUpdateShardCount :: UpdateShardCountResponse -> TestTree+responseUpdateShardCount =+ res+ "UpdateShardCountResponse"+ "fixture/UpdateShardCountResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateShardCount)++responseUpdateStreamMode :: UpdateStreamModeResponse -> TestTree+responseUpdateStreamMode =+ res+ "UpdateStreamModeResponse"+ "fixture/UpdateStreamModeResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateStreamMode)
+ test/Test/Amazonka/Kinesis.hs view
@@ -0,0 +1,20 @@+-- |+-- Module : Test.Amazonka.Kinesis+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.Kinesis+ ( tests,+ fixtures,+ )+where++import Test.Tasty (TestTree)++tests :: [TestTree]+tests = []++fixtures :: [TestTree]+fixtures = []
+ test/Test/Amazonka/Kinesis/Internal.hs view
@@ -0,0 +1,8 @@+-- |+-- Module : Test.Amazonka.Kinesis.Internal+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.Kinesis.Internal where