{-# 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-2015 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Amazon Kinesis Service API Reference
--
-- Amazon Kinesis is a managed service that scales elastically for real
-- time processing of streaming big data.
--
-- /See:/ <http://docs.aws.amazon.com/kinesis/latest/APIReference/Welcome.html AWS API Reference>
module Network.AWS.Kinesis
    (
    -- * Service Configuration
      kinesis

    -- * Errors
    -- $errors

    -- ** ExpiredIteratorException
    , _ExpiredIteratorException

    -- ** InvalidArgumentException
    , _InvalidArgumentException

    -- ** ProvisionedThroughputExceededException
    , _ProvisionedThroughputExceededException

    -- ** ResourceNotFoundException
    , _ResourceNotFoundException

    -- ** LimitExceededException
    , _LimitExceededException

    -- ** ResourceInUseException
    , _ResourceInUseException

    -- * Waiters
    -- $waiters

    -- ** StreamExists
    , streamExists

    -- * Operations
    -- $operations

    -- ** PutRecord
    , module Network.AWS.Kinesis.PutRecord

    -- ** MergeShards
    , module Network.AWS.Kinesis.MergeShards

    -- ** GetShardIterator
    , module Network.AWS.Kinesis.GetShardIterator

    -- ** GetRecords
    , module Network.AWS.Kinesis.GetRecords

    -- ** ListTagsForStream
    , module Network.AWS.Kinesis.ListTagsForStream

    -- ** AddTagsToStream
    , module Network.AWS.Kinesis.AddTagsToStream

    -- ** PutRecords
    , module Network.AWS.Kinesis.PutRecords

    -- ** 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

    -- ** SplitShard
    , module Network.AWS.Kinesis.SplitShard

    -- ** DescribeStream (Paginated)
    , module Network.AWS.Kinesis.DescribeStream

    -- * Types

    -- ** ShardIteratorType
    , ShardIteratorType (..)

    -- ** StreamStatus
    , StreamStatus (..)

    -- ** HashKeyRange
    , HashKeyRange
    , hashKeyRange
    , hkrStartingHashKey
    , hkrEndingHashKey

    -- ** PutRecordsRequestEntry
    , PutRecordsRequestEntry
    , putRecordsRequestEntry
    , prreExplicitHashKey
    , prreData
    , prrePartitionKey

    -- ** PutRecordsResultEntry
    , PutRecordsResultEntry
    , putRecordsResultEntry
    , prreSequenceNumber
    , prreErrorCode
    , prreErrorMessage
    , prreShardId

    -- ** Record
    , Record
    , record
    , rApproximateArrivalTimestamp
    , rSequenceNumber
    , rData
    , rPartitionKey

    -- ** SequenceNumberRange
    , SequenceNumberRange
    , sequenceNumberRange
    , snrEndingSequenceNumber
    , snrStartingSequenceNumber

    -- ** Shard
    , Shard
    , shard
    , sAdjacentParentShardId
    , sParentShardId
    , sShardId
    , sHashKeyRange
    , sSequenceNumberRange

    -- ** StreamDescription
    , StreamDescription
    , streamDescription
    , sdStreamName
    , sdStreamARN
    , sdStreamStatus
    , sdShards
    , sdHasMoreShards

    -- ** Tag
    , Tag
    , tag
    , tagValue
    , tagKey
    ) where

import           Network.AWS.Kinesis.AddTagsToStream
import           Network.AWS.Kinesis.CreateStream
import           Network.AWS.Kinesis.DeleteStream
import           Network.AWS.Kinesis.DescribeStream
import           Network.AWS.Kinesis.GetRecords
import           Network.AWS.Kinesis.GetShardIterator
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.Types
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.
-}
