amazonka-dynamodb-streams 1.3.7 → 1.4.0
raw patch · 15 files changed
+47/−32 lines, 15 filesdep ~amazonka-coredep ~amazonka-dynamodb-streamsdep ~amazonka-testPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: amazonka-core, amazonka-dynamodb-streams, amazonka-test
API changes (from Hackage documentation)
+ Network.AWS.DynamoDBStreams.DescribeStream: instance Data.Hashable.Class.Hashable Network.AWS.DynamoDBStreams.DescribeStream.DescribeStream
+ Network.AWS.DynamoDBStreams.GetRecords: instance Data.Hashable.Class.Hashable Network.AWS.DynamoDBStreams.GetRecords.GetRecords
+ Network.AWS.DynamoDBStreams.GetShardIterator: instance Data.Hashable.Class.Hashable Network.AWS.DynamoDBStreams.GetShardIterator.GetShardIterator
+ Network.AWS.DynamoDBStreams.ListStreams: instance Data.Hashable.Class.Hashable Network.AWS.DynamoDBStreams.ListStreams.ListStreams
Files
- README.md +2/−2
- amazonka-dynamodb-streams.cabal +7/−7
- gen/Network/AWS/DynamoDBStreams.hs +1/−3
- gen/Network/AWS/DynamoDBStreams/DescribeStream.hs +3/−3
- gen/Network/AWS/DynamoDBStreams/GetRecords.hs +3/−3
- gen/Network/AWS/DynamoDBStreams/GetShardIterator.hs +3/−3
- gen/Network/AWS/DynamoDBStreams/ListStreams.hs +3/−3
- gen/Network/AWS/DynamoDBStreams/Types.hs +2/−1
- gen/Network/AWS/DynamoDBStreams/Types/Product.hs +17/−1
- gen/Network/AWS/DynamoDBStreams/Types/Sum.hs +1/−1
- gen/Network/AWS/DynamoDBStreams/Waiters.hs +1/−1
- test/Main.hs +1/−1
- test/Test/AWS/DynamoDBStreams.hs +1/−1
- test/Test/AWS/DynamoDBStreams/Internal.hs +1/−1
- test/Test/AWS/Gen/DynamoDBStreams.hs +1/−1
README.md view
@@ -8,7 +8,7 @@ ## Version -`1.3.7`+`1.4.0` ## Description@@ -43,7 +43,7 @@ the current AWS account and endpoint. Documentation is available via [Hackage](http://hackage.haskell.org/package/amazonka-dynamodb-streams)-and the [AWS API Reference](http://dynamodb-preview.s3-website-us-west-2.amazonaws.com/docs/streams-api/Welcome.html).+and the [AWS API Reference](https://aws.amazon.com/documentation/). The types from this library are intended to be used with [amazonka](http://hackage.haskell.org/package/amazonka), which provides mechanisms for specifying AuthN/AuthZ information and sending requests.
amazonka-dynamodb-streams.cabal view
@@ -1,5 +1,5 @@ name: amazonka-dynamodb-streams-version: 1.3.7+version: 1.4.0 synopsis: Amazon DynamoDB Streams SDK. homepage: https://github.com/brendanhay/amazonka bug-reports: https://github.com/brendanhay/amazonka/issues@@ -7,7 +7,7 @@ license-file: LICENSE author: Brendan Hay maintainer: Brendan Hay <brendan.g.hay@gmail.com>-copyright: Copyright (c) 2013-2015 Brendan Hay+copyright: Copyright (c) 2013-2016 Brendan Hay category: Network, AWS, Cloud, Distributed Computing build-type: Simple cabal-version: >= 1.10@@ -53,7 +53,7 @@ such as <http://hackage.haskell.org/package/lens lens> or <http://hackage.haskell.org/package/lens-family-core lens-family-core>. .- See "Network.AWS.DynamoDBStreams" and the <http://dynamodb-preview.s3-website-us-west-2.amazonaws.com/docs/streams-api/Welcome.html AWS API Reference>+ See "Network.AWS.DynamoDBStreams" or <https://aws.amazon.com/documentation/ the AWS Documentation> to get started. source-repository head@@ -80,7 +80,7 @@ , Network.AWS.DynamoDBStreams.Types.Sum build-depends:- amazonka-core == 1.3.7.*+ amazonka-core == 1.4.0.* , base >= 4.7 && < 5 test-suite amazonka-dynamodb-streams-test@@ -100,9 +100,9 @@ , Test.AWS.DynamoDBStreams.Internal build-depends:- amazonka-core == 1.3.7.*- , amazonka-test == 1.3.7.*- , amazonka-dynamodb-streams == 1.3.7.*+ amazonka-core == 1.4.0.*+ , amazonka-test == 1.4.0.*+ , amazonka-dynamodb-streams == 1.4.0.* , base , bytestring , tasty
gen/Network/AWS/DynamoDBStreams.hs view
@@ -5,7 +5,7 @@ -- | -- Module : Network.AWS.DynamoDBStreams--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -40,8 +40,6 @@ -- - /ListStreams/ - Returns a list of all the streams associated with -- the current AWS account and endpoint. -------- /See:/ <http://dynamodb-preview.s3-website-us-west-2.amazonaws.com/docs/streams-api/Welcome.html AWS API Reference> module Network.AWS.DynamoDBStreams ( -- * Service Configuration
gen/Network/AWS/DynamoDBStreams/DescribeStream.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.DynamoDBStreams.DescribeStream--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -30,8 +30,6 @@ -- more stream records). If both 'StartingSequenceNumber' and -- 'EndingSequenceNumber' are present, the that shared is closed and can no -- longer receive more data.------ /See:/ <http://dynamodb-preview.s3-website-us-west-2.amazonaws.com/docs/streams-api/API_DescribeStream.html AWS API Reference> for DescribeStream. module Network.AWS.DynamoDBStreams.DescribeStream ( -- * Creating a Request@@ -107,6 +105,8 @@ (\ s h x -> DescribeStreamResponse' <$> (x .?> "StreamDescription") <*> (pure (fromEnum s)))++instance Hashable DescribeStream instance ToHeaders DescribeStream where toHeaders
gen/Network/AWS/DynamoDBStreams/GetRecords.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.DynamoDBStreams.GetRecords--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -29,8 +29,6 @@ -- -- GetRecords can retrieve a maximum of 1 MB of data or 2000 stream -- records, whichever comes first.------ /See:/ <http://dynamodb-preview.s3-website-us-west-2.amazonaws.com/docs/streams-api/API_GetRecords.html AWS API Reference> for GetRecords. module Network.AWS.DynamoDBStreams.GetRecords ( -- * Creating a Request@@ -101,6 +99,8 @@ (x .?> "Records" .!@ mempty) <*> (x .?> "NextShardIterator") <*> (pure (fromEnum s)))++instance Hashable GetRecords instance ToHeaders GetRecords where toHeaders
gen/Network/AWS/DynamoDBStreams/GetShardIterator.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.DynamoDBStreams.GetShardIterator--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -25,8 +25,6 @@ -- -- A shard iterator expires 15 minutes after it is returned to the -- requester.------ /See:/ <http://dynamodb-preview.s3-website-us-west-2.amazonaws.com/docs/streams-api/API_GetShardIterator.html AWS API Reference> for GetShardIterator. module Network.AWS.DynamoDBStreams.GetShardIterator ( -- * Creating a Request@@ -131,6 +129,8 @@ (\ s h x -> GetShardIteratorResponse' <$> (x .?> "ShardIterator") <*> (pure (fromEnum s)))++instance Hashable GetShardIterator instance ToHeaders GetShardIterator where toHeaders
gen/Network/AWS/DynamoDBStreams/ListStreams.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.DynamoDBStreams.ListStreams--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -23,8 +23,6 @@ -- will return only the streams ARNs for that table. -- -- You can call /ListStreams/ at a maximum rate of 5 times per second.------ /See:/ <http://dynamodb-preview.s3-website-us-west-2.amazonaws.com/docs/streams-api/API_ListStreams.html AWS API Reference> for ListStreams. module Network.AWS.DynamoDBStreams.ListStreams ( -- * Creating a Request@@ -103,6 +101,8 @@ (x .?> "LastEvaluatedStreamArn") <*> (x .?> "Streams" .!@ mempty) <*> (pure (fromEnum s)))++instance Hashable ListStreams instance ToHeaders ListStreams where toHeaders
gen/Network/AWS/DynamoDBStreams/Types.hs view
@@ -4,7 +4,7 @@ -- | -- Module : Network.AWS.DynamoDBStreams.Types--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -140,6 +140,7 @@ , _retryCheck = check } check e+ | 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"
gen/Network/AWS/DynamoDBStreams/Types/Product.hs view
@@ -9,7 +9,7 @@ -- | -- Module : Network.AWS.DynamoDBStreams.Types.Product--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -144,6 +144,8 @@ <*> (x .:? "S") <*> (x .:? "BOOL")) +instance Hashable AttributeValue+ -- | Represents /a single element/ of a key schema. A key schema specifies -- the attributes that make up the primary key of a table, or the key -- attributes of an index.@@ -193,6 +195,8 @@ KeySchemaElement' <$> (x .: "AttributeName") <*> (x .: "KeyType")) +instance Hashable KeySchemaElement+ -- | A description of a unique event within a stream. -- -- /See:/ 'record' smart constructor.@@ -278,6 +282,8 @@ <*> (x .:? "eventSource") <*> (x .:? "eventID")) +instance Hashable Record+ -- | The beginning and ending sequence numbers for the stream records -- contained within a shard. --@@ -318,6 +324,8 @@ (x .:? "StartingSequenceNumber") <*> (x .:? "EndingSequenceNumber")) +instance Hashable SequenceNumberRange+ -- | A uniquely identified group of stream records within a stream. -- -- /See:/ 'shard' smart constructor.@@ -366,6 +374,8 @@ (x .:? "SequenceNumberRange") <*> (x .:? "ShardId")) +instance Hashable Shard+ -- | Represents all of the data describing a particular stream. -- -- /See:/ 'stream' smart constructor.@@ -425,6 +435,8 @@ (x .:? "StreamLabel") <*> (x .:? "StreamArn") <*> (x .:? "TableName")) +instance Hashable Stream+ -- | Represents all of the data describing a particular stream. -- -- /See:/ 'streamDescription' smart constructor.@@ -573,6 +585,8 @@ <*> (x .:? "TableName") <*> (x .:? "CreationRequestDateTime")) +instance Hashable StreamDescription+ -- | A description of a single data modification that was performed on an -- item in a DynamoDB table. --@@ -659,3 +673,5 @@ <*> (x .:? "Keys" .!= mempty) <*> (x .:? "OldImage" .!= mempty) <*> (x .:? "NewImage" .!= mempty))++instance Hashable StreamRecord
gen/Network/AWS/DynamoDBStreams/Types/Sum.hs view
@@ -9,7 +9,7 @@ -- | -- Module : Network.AWS.DynamoDBStreams.Types.Sum--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated
gen/Network/AWS/DynamoDBStreams/Waiters.hs view
@@ -7,7 +7,7 @@ -- | -- Module : Network.AWS.DynamoDBStreams.Waiters--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated
test/Main.hs view
@@ -2,7 +2,7 @@ -- | -- Module : Main--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated
test/Test/AWS/DynamoDBStreams.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE OverloadedStrings #-} -- Module : Test.AWS.DynamoDBStreams--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 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
test/Test/AWS/DynamoDBStreams/Internal.hs view
@@ -2,7 +2,7 @@ {-# OPTIONS_GHC -fno-warn-unused-imports #-} -- Module : Test.AWS.DynamoDBStreams.Internal--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 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
test/Test/AWS/Gen/DynamoDBStreams.hs view
@@ -5,7 +5,7 @@ -- | -- Module : Test.AWS.Gen.DynamoDBStreams--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated