Hello community,
here is the log from the commit of package ghc-amazonka-dynamodb-streams for
openSUSE:Factory checked in at 2017-03-24 02:11:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-amazonka-dynamodb-streams (Old)
and /work/SRC/openSUSE:Factory/.ghc-amazonka-dynamodb-streams.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-amazonka-dynamodb-streams"
Fri Mar 24 02:11:38 2017 rev:2 rq:461560 version:1.4.5
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-amazonka-dynamodb-streams/ghc-amazonka-dynamodb-streams.changes
2017-02-03 17:38:08.564950674 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-amazonka-dynamodb-streams.new/ghc-amazonka-dynamodb-streams.changes
2017-03-24 02:11:40.192829153 +0100
@@ -1,0 +2,5 @@
+Sun Feb 12 14:20:39 UTC 2017 - [email protected]
+
+- Update to version 1.4.5 with cabal2obs.
+
+-------------------------------------------------------------------
Old:
----
amazonka-dynamodb-streams-1.4.3.tar.gz
New:
----
amazonka-dynamodb-streams-1.4.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-amazonka-dynamodb-streams.spec ++++++
--- /var/tmp/diff_new_pack.5QYFKA/_old 2017-03-24 02:11:41.068705227 +0100
+++ /var/tmp/diff_new_pack.5QYFKA/_new 2017-03-24 02:11:41.072704660 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-amazonka-dynamodb-streams
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%global pkg_name amazonka-dynamodb-streams
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 1.4.3
+Version: 1.4.5
Release: 0
Summary: Amazon DynamoDB Streams SDK
License: MPL-2.0
@@ -41,37 +41,19 @@
%endif
%description
-Amazon DynamoDB Streams This is the Amazon DynamoDB Streams API Reference.
-This guide describes the low-level API actions for accessing streams and
-processing stream records. For information about application development with
-DynamoDB Streams, see the
-<http://docs.aws.amazon.com/amazondynamodb/latest/developerguide//Streams.html
-Amazon DynamoDB Developer Guide>. Note that this document is intended for use
-with the following DynamoDB documentation: -
-<http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ Amazon
-DynamoDB Developer Guide> -
-<http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/ Amazon DynamoDB
-API Reference> The following are short descriptions of each low-level DynamoDB
-Streams API action, organized by function. - /DescribeStream/ - Returns
-detailed information about a particular stream. - /GetRecords/ - Retrieves the
-stream records from within a shard. - /GetShardIterator/ - Returns information
-on how to retrieve the streams record from a shard with a given shard ID.
-- /ListStreams/ - Returns a list of all the streams associated with the current
-AWS account and endpoint.
-
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 and sending requests.
+mechanisms for specifying AuthN/AuthZ information, sending requests, and
+receiving responses.
-Use of lenses is required for constructing and manipulating types.
-This is due to the amount 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>.
+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.DynamoDBStreams" or <https://aws.amazon.com/documentation/ the
-AWS Documentation> to get started.
+AWS documentation> to get started.
%package devel
Summary: Haskell %{pkg_name} library development files
++++++ amazonka-dynamodb-streams-1.4.3.tar.gz ->
amazonka-dynamodb-streams-1.4.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/amazonka-dynamodb-streams-1.4.3/README.md
new/amazonka-dynamodb-streams-1.4.5/README.md
--- old/amazonka-dynamodb-streams-1.4.3/README.md 2016-06-09
21:31:28.000000000 +0200
+++ new/amazonka-dynamodb-streams-1.4.5/README.md 2016-12-04
16:29:21.000000000 +0100
@@ -8,43 +8,28 @@
## Version
-`1.4.3`
+`1.4.5`
## Description
-Amazon DynamoDB Streams
-
-This is the Amazon DynamoDB Streams API Reference. This guide describes the
low-level API actions for accessing streams and processing stream records. For
information about application development with DynamoDB Streams, see the
<http://docs.aws.amazon.com/amazondynamodb/latest/developerguide//Streams.html
Amazon DynamoDB Developer Guide>.
-
-Note that this document is intended for use with the following DynamoDB
documentation:
-
-- <http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ Amazon
DynamoDB Developer Guide>
-
-- <http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/ Amazon
DynamoDB API Reference>
-
-The following are short descriptions of each low-level DynamoDB Streams API
action, organized by function.
-
-- /DescribeStream/ - Returns detailed information about a particular stream.
-
-- /GetRecords/ - Retrieves the stream records from within a shard.
-
-- /GetShardIterator/ - Returns information on how to retrieve the streams
record from a shard with a given shard ID.
-
-- /ListStreams/ - Returns a list of all the streams associated with the
current AWS account and endpoint.
-
Documentation is available via
[Hackage](http://hackage.haskell.org/package/amazonka-dynamodb-streams)
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.
+which provides mechanisms for specifying AuthN/AuthZ information, sending
requests,
+and receiving responses.
-Use of lenses is required for constructing and manipulating types.
-This is due to the amount of nesting of AWS types and transparency regarding
+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
[lens](http://hackage.haskell.org/package/lens) or
[lens-family-core](http://hackage.haskell.org/package/lens-family-core).
+See
[Network.AWS.DynamoDBStreams](http://hackage.haskell.org/package/amazonka-dynamodb-streams/docs/Network-AWS-DynamoDBStreams.html)
+or [the AWS documentation](https://aws.amazon.com/documentation/) to get
started.
+
+
## Contribute
For any problems, comments, or feedback please create an issue [here on
GitHub](https://github.com/brendanhay/amazonka/issues).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-dynamodb-streams-1.4.3/amazonka-dynamodb-streams.cabal
new/amazonka-dynamodb-streams-1.4.5/amazonka-dynamodb-streams.cabal
--- old/amazonka-dynamodb-streams-1.4.3/amazonka-dynamodb-streams.cabal
2016-06-09 21:31:28.000000000 +0200
+++ new/amazonka-dynamodb-streams-1.4.5/amazonka-dynamodb-streams.cabal
2016-12-04 16:29:21.000000000 +0100
@@ -1,5 +1,5 @@
name: amazonka-dynamodb-streams
-version: 1.4.3
+version: 1.4.5
synopsis: Amazon DynamoDB Streams SDK.
homepage: https://github.com/brendanhay/amazonka
bug-reports: https://github.com/brendanhay/amazonka/issues
@@ -11,40 +11,21 @@
category: Network, AWS, Cloud, Distributed Computing
build-type: Simple
cabal-version: >= 1.10
-extra-source-files: README.md fixture/*.yaml fixture/*.proto
+extra-source-files: README.md fixture/*.yaml fixture/*.proto src/.gitkeep
description:
- Amazon DynamoDB Streams
-
- This is the Amazon DynamoDB Streams API Reference. This guide describes
the low-level API actions for accessing streams and processing stream records.
For information about application development with DynamoDB Streams, see the
<http://docs.aws.amazon.com/amazondynamodb/latest/developerguide//Streams.html
Amazon DynamoDB Developer Guide>.
-
- Note that this document is intended for use with the following DynamoDB
documentation:
-
- - <http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
Amazon DynamoDB Developer Guide>
-
- - <http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/ Amazon
DynamoDB API Reference>
-
- The following are short descriptions of each low-level DynamoDB Streams
API action, organized by function.
-
- - /DescribeStream/ - Returns detailed information about a particular
stream.
-
- - /GetRecords/ - Retrieves the stream records from within a shard.
-
- - /GetShardIterator/ - Returns information on how to retrieve the
streams record from a shard with a given shard ID.
-
- - /ListStreams/ - Returns a list of all the streams associated with the
current AWS account and endpoint.
- .
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 and sending requests.
+ mechanisms for specifying AuthN/AuthZ information, sending requests,
+ and receiving responses.
.
- Use of lenses is required for constructing and manipulating types.
- This is due to the amount of nesting of AWS types and transparency
regarding
+ 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.DynamoDBStreams" or
<https://aws.amazon.com/documentation/ the AWS Documentation>
+ See "Network.AWS.DynamoDBStreams" or
<https://aws.amazon.com/documentation/ the AWS documentation>
to get started.
source-repository head
@@ -71,7 +52,7 @@
, Network.AWS.DynamoDBStreams.Types.Sum
build-depends:
- amazonka-core == 1.4.3.*
+ amazonka-core == 1.4.5.*
, base >= 4.7 && < 5
test-suite amazonka-dynamodb-streams-test
@@ -91,9 +72,9 @@
, Test.AWS.DynamoDBStreams.Internal
build-depends:
- amazonka-core == 1.4.3.*
- , amazonka-test == 1.4.3.*
- , amazonka-dynamodb-streams == 1.4.3.*
+ amazonka-core == 1.4.5.*
+ , amazonka-test == 1.4.5.*
+ , amazonka-dynamodb-streams == 1.4.5.*
, base
, bytestring
, tasty
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-dynamodb-streams-1.4.3/gen/Network/AWS/DynamoDBStreams/DescribeStream.hs
new/amazonka-dynamodb-streams-1.4.5/gen/Network/AWS/DynamoDBStreams/DescribeStream.hs
---
old/amazonka-dynamodb-streams-1.4.3/gen/Network/AWS/DynamoDBStreams/DescribeStream.hs
2016-06-09 21:31:28.000000000 +0200
+++
new/amazonka-dynamodb-streams-1.4.5/gen/Network/AWS/DynamoDBStreams/DescribeStream.hs
2016-12-04 16:29:21.000000000 +0100
@@ -20,9 +20,9 @@
--
-- Returns information about a stream, including the current status of the
stream, its Amazon Resource Name (ARN), the composition of its shards, and its
corresponding DynamoDB table.
--
--- You can call /DescribeStream/ at a maximum rate of 10 times per second.
--
--- Each shard in the stream has a 'SequenceNumberRange' associated with it. If
the 'SequenceNumberRange' has a 'StartingSequenceNumber' but no
'EndingSequenceNumber', then the shard is still open (able to receive more
stream records). If both 'StartingSequenceNumber' and 'EndingSequenceNumber'
are present, the that shared is closed and can no longer receive more data.
+-- Each shard in the stream has a @SequenceNumberRange@ associated with it. If
the @SequenceNumberRange@ has a @StartingSequenceNumber@ but no
@EndingSequenceNumber@ , then the shard is still open (able to receive more
stream records). If both @StartingSequenceNumber@ and @EndingSequenceNumber@
are present, then that shard is closed and can no longer receive more data.
+--
module Network.AWS.DynamoDBStreams.DescribeStream
(
-- * Creating a Request
@@ -50,6 +50,8 @@
-- | Represents the input of a /DescribeStream/ operation.
--
+--
+--
-- /See:/ 'describeStream' smart constructor.
data DescribeStream = DescribeStream'
{ _dsExclusiveStartShardId :: !(Maybe Text)
@@ -61,11 +63,11 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'dsExclusiveStartShardId'
+-- * 'dsExclusiveStartShardId' - The shard ID of the first item that this
operation will evaluate. Use the value that was returned for
@LastEvaluatedShardId@ in the previous operation.
--
--- * 'dsLimit'
+-- * 'dsLimit' - The maximum number of shard objects to return. The upper
limit is 100.
--
--- * 'dsStreamARN'
+-- * 'dsStreamARN' - The Amazon Resource Name (ARN) for the stream.
describeStream
:: Text -- ^ 'dsStreamARN'
-> DescribeStream
@@ -76,7 +78,7 @@
, _dsStreamARN = pStreamARN_
}
--- | The shard ID of the first item that this operation will evaluate. Use the
value that was returned for 'LastEvaluatedShardId' in the previous operation.
+-- | The shard ID of the first item that this operation will evaluate. Use the
value that was returned for @LastEvaluatedShardId@ in the previous operation.
dsExclusiveStartShardId :: Lens' DescribeStream (Maybe Text)
dsExclusiveStartShardId = lens _dsExclusiveStartShardId (\ s a ->
s{_dsExclusiveStartShardId = a});
@@ -128,6 +130,8 @@
-- | Represents the output of a /DescribeStream/ operation.
--
+--
+--
-- /See:/ 'describeStreamResponse' smart constructor.
data DescribeStreamResponse = DescribeStreamResponse'
{ _dsrsStreamDescription :: !(Maybe StreamDescription)
@@ -138,9 +142,9 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'dsrsStreamDescription'
+-- * 'dsrsStreamDescription' - A complete description of the stream, including
its creation date and time, the DynamoDB table associated with the stream, the
shard IDs within the stream, and the beginning and ending sequence numbers of
stream records within the shards.
--
--- * 'dsrsResponseStatus'
+-- * 'dsrsResponseStatus' - -- | The response status code.
describeStreamResponse
:: Int -- ^ 'dsrsResponseStatus'
-> DescribeStreamResponse
@@ -154,7 +158,7 @@
dsrsStreamDescription :: Lens' DescribeStreamResponse (Maybe StreamDescription)
dsrsStreamDescription = lens _dsrsStreamDescription (\ s a ->
s{_dsrsStreamDescription = a});
--- | The response status code.
+-- | -- | The response status code.
dsrsResponseStatus :: Lens' DescribeStreamResponse Int
dsrsResponseStatus = lens _dsrsResponseStatus (\ s a -> s{_dsrsResponseStatus
= a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-dynamodb-streams-1.4.3/gen/Network/AWS/DynamoDBStreams/GetRecords.hs
new/amazonka-dynamodb-streams-1.4.5/gen/Network/AWS/DynamoDBStreams/GetRecords.hs
---
old/amazonka-dynamodb-streams-1.4.3/gen/Network/AWS/DynamoDBStreams/GetRecords.hs
2016-06-09 21:31:28.000000000 +0200
+++
new/amazonka-dynamodb-streams-1.4.5/gen/Network/AWS/DynamoDBStreams/GetRecords.hs
2016-12-04 16:29:21.000000000 +0100
@@ -20,9 +20,9 @@
--
-- Retrieves the stream records from a given 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 stream records sequentially. If there are no stream records available
in the portion of the shard that the iterator points to, 'GetRecords' returns
an empty list. Note that it might take multiple calls to get to a portion of
the shard that contains stream records.
--
--- GetRecords can retrieve a maximum of 1 MB of data or 2000 stream records,
whichever comes first.
+-- Specify a shard iterator using the @ShardIterator@ parameter. The shard
iterator specifies the position in the shard from which you want to start
reading stream records sequentially. If there are no stream records available
in the portion of the shard that the iterator points to, @GetRecords@ returns
an empty list. Note that it might take multiple calls to get to a portion of
the shard that contains stream records.
+--
module Network.AWS.DynamoDBStreams.GetRecords
(
-- * Creating a Request
@@ -50,6 +50,8 @@
-- | Represents the input of a /GetRecords/ operation.
--
+--
+--
-- /See:/ 'getRecords' smart constructor.
data GetRecords = GetRecords'
{ _grLimit :: !(Maybe Nat)
@@ -60,9 +62,9 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'grLimit'
+-- * 'grLimit' - The maximum number of records to return from the shard. The
upper limit is 1000.
--
--- * 'grShardIterator'
+-- * 'grShardIterator' - A shard iterator that was retrieved from a previous
GetShardIterator operation. This iterator can be used to access the stream
records in this shard.
getRecords
:: Text -- ^ 'grShardIterator'
-> GetRecords
@@ -120,6 +122,8 @@
-- | Represents the output of a /GetRecords/ operation.
--
+--
+--
-- /See:/ 'getRecordsResponse' smart constructor.
data GetRecordsResponse = GetRecordsResponse'
{ _grrsRecords :: !(Maybe [Record])
@@ -131,11 +135,11 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'grrsRecords'
+-- * 'grrsRecords' - The stream records from the shard, which were retrieved
using the shard iterator.
--
--- * 'grrsNextShardIterator'
+-- * 'grrsNextShardIterator' - The next position in the shard from which to
start sequentially reading stream records. If set to @null@ , the shard has
been closed and the requested iterator will not return any more data.
--
--- * 'grrsResponseStatus'
+-- * 'grrsResponseStatus' - -- | The response status code.
getRecordsResponse
:: Int -- ^ 'grrsResponseStatus'
-> GetRecordsResponse
@@ -150,11 +154,11 @@
grrsRecords :: Lens' GetRecordsResponse [Record]
grrsRecords = lens _grrsRecords (\ s a -> s{_grrsRecords = a}) . _Default .
_Coerce;
--- | The next position in the shard from which to start sequentially reading
stream records. If set to 'null', the shard has been closed and the requested
iterator will not return any more data.
+-- | The next position in the shard from which to start sequentially reading
stream records. If set to @null@ , the shard has been closed and the requested
iterator will not return any more data.
grrsNextShardIterator :: Lens' GetRecordsResponse (Maybe Text)
grrsNextShardIterator = lens _grrsNextShardIterator (\ s a ->
s{_grrsNextShardIterator = a});
--- | The response status code.
+-- | -- | The response status code.
grrsResponseStatus :: Lens' GetRecordsResponse Int
grrsResponseStatus = lens _grrsResponseStatus (\ s a -> s{_grrsResponseStatus
= a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-dynamodb-streams-1.4.3/gen/Network/AWS/DynamoDBStreams/GetShardIterator.hs
new/amazonka-dynamodb-streams-1.4.5/gen/Network/AWS/DynamoDBStreams/GetShardIterator.hs
---
old/amazonka-dynamodb-streams-1.4.3/gen/Network/AWS/DynamoDBStreams/GetShardIterator.hs
2016-06-09 21:31:28.000000000 +0200
+++
new/amazonka-dynamodb-streams-1.4.5/gen/Network/AWS/DynamoDBStreams/GetShardIterator.hs
2016-12-04 16:29:21.000000000 +0100
@@ -18,9 +18,9 @@
-- Stability : auto-generated
-- Portability : non-portable (GHC extensions)
--
--- Returns a shard iterator. A shard iterator provides information about how
to retrieve the stream records from within a shard. Use the shard iterator in a
subsequent 'GetRecords' request to read the stream records from the shard.
+-- Returns a shard iterator. A shard iterator provides information about how
to retrieve the stream records from within a shard. Use the shard iterator in a
subsequent @GetRecords@ request to read the stream records from the shard.
+--
--
--- A shard iterator expires 15 minutes after it is returned to the requester.
module Network.AWS.DynamoDBStreams.GetShardIterator
(
-- * Creating a Request
@@ -49,6 +49,8 @@
-- | Represents the input of a /GetShardIterator/ operation.
--
+--
+--
-- /See:/ 'getShardIterator' smart constructor.
data GetShardIterator = GetShardIterator'
{ _gsiSequenceNumber :: !(Maybe Text)
@@ -61,13 +63,13 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'gsiSequenceNumber'
+-- * 'gsiSequenceNumber' - The sequence number of a stream record in the shard
from which to start reading.
--
--- * 'gsiStreamARN'
+-- * 'gsiStreamARN' - The Amazon Resource Name (ARN) for the stream.
--
--- * 'gsiShardId'
+-- * 'gsiShardId' - The identifier of the shard. The iterator will be returned
for this shard ID.
--
--- * 'gsiShardIteratorType'
+-- * 'gsiShardIteratorType' - Determines how the shard iterator is used to
start reading stream records from the shard: * @AT_SEQUENCE_NUMBER@ - Start
reading exactly from the position denoted by a specific sequence number. *
@AFTER_SEQUENCE_NUMBER@ - Start reading right after the position denoted by a
specific sequence number. * @TRIM_HORIZON@ - Start reading at the last
(untrimmed) stream record, which is the oldest record in the shard. In DynamoDB
Streams, there is a 24 hour limit on data retention. Stream records whose age
exceeds this limit are subject to removal (trimming) from the stream. *
@LATEST@ - Start reading just after the most recent stream record in the shard,
so that you always read the most recent data in the shard.
getShardIterator
:: Text -- ^ 'gsiStreamARN'
-> Text -- ^ 'gsiShardId'
@@ -93,16 +95,7 @@
gsiShardId :: Lens' GetShardIterator Text
gsiShardId = lens _gsiShardId (\ s a -> s{_gsiShardId = a});
--- | Determines how the shard iterator is used to start reading stream records
from the shard:
---
--- - 'AT_SEQUENCE_NUMBER' - Start reading exactly from the position denoted
by a specific sequence number.
---
--- - 'AFTER_SEQUENCE_NUMBER' - Start reading right after the position
denoted by a specific sequence number.
---
--- - 'TRIM_HORIZON' - Start reading at the last (untrimmed) stream record,
which is the oldest record in the shard. In DynamoDB Streams, there is a 24
hour limit on data retention. Stream records whose age exceeds this limit are
subject to removal (trimming) from the stream.
---
--- - 'LATEST' - Start reading just after the most recent stream record in
the shard, so that you always read the most recent data in the shard.
---
+-- | Determines how the shard iterator is used to start reading stream records
from the shard: * @AT_SEQUENCE_NUMBER@ - Start reading exactly from the
position denoted by a specific sequence number. * @AFTER_SEQUENCE_NUMBER@ -
Start reading right after the position denoted by a specific sequence number.
* @TRIM_HORIZON@ - Start reading at the last (untrimmed) stream record, which
is the oldest record in the shard. In DynamoDB Streams, there is a 24 hour
limit on data retention. Stream records whose age exceeds this limit are
subject to removal (trimming) from the stream. * @LATEST@ - Start reading
just after the most recent stream 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});
@@ -146,6 +139,8 @@
-- | Represents the output of a /GetShardIterator/ operation.
--
+--
+--
-- /See:/ 'getShardIteratorResponse' smart constructor.
data GetShardIteratorResponse = GetShardIteratorResponse'
{ _gsirsShardIterator :: !(Maybe Text)
@@ -156,9 +151,9 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'gsirsShardIterator'
+-- * 'gsirsShardIterator' - The position in the shard from which to start
reading stream records sequentially. A shard iterator specifies this position
using the sequence number of a stream record in a shard.
--
--- * 'gsirsResponseStatus'
+-- * 'gsirsResponseStatus' - -- | The response status code.
getShardIteratorResponse
:: Int -- ^ 'gsirsResponseStatus'
-> GetShardIteratorResponse
@@ -172,7 +167,7 @@
gsirsShardIterator :: Lens' GetShardIteratorResponse (Maybe Text)
gsirsShardIterator = lens _gsirsShardIterator (\ s a -> s{_gsirsShardIterator
= a});
--- | The response status code.
+-- | -- | The response status code.
gsirsResponseStatus :: Lens' GetShardIteratorResponse Int
gsirsResponseStatus = lens _gsirsResponseStatus (\ s a ->
s{_gsirsResponseStatus = a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-dynamodb-streams-1.4.3/gen/Network/AWS/DynamoDBStreams/ListStreams.hs
new/amazonka-dynamodb-streams-1.4.5/gen/Network/AWS/DynamoDBStreams/ListStreams.hs
---
old/amazonka-dynamodb-streams-1.4.3/gen/Network/AWS/DynamoDBStreams/ListStreams.hs
2016-06-09 21:31:28.000000000 +0200
+++
new/amazonka-dynamodb-streams-1.4.5/gen/Network/AWS/DynamoDBStreams/ListStreams.hs
2016-12-04 16:29:21.000000000 +0100
@@ -18,9 +18,9 @@
-- Stability : auto-generated
-- Portability : non-portable (GHC extensions)
--
--- Returns an array of stream ARNs associated with the current account and
endpoint. If the 'TableName' parameter is present, then /ListStreams/ will
return only the streams ARNs for that table.
+-- Returns an array of stream ARNs associated with the current account and
endpoint. If the @TableName@ parameter is present, then /ListStreams/ will
return only the streams ARNs for that table.
+--
--
--- You can call /ListStreams/ at a maximum rate of 5 times per second.
module Network.AWS.DynamoDBStreams.ListStreams
(
-- * Creating a Request
@@ -49,6 +49,8 @@
-- | Represents the input of a /ListStreams/ operation.
--
+--
+--
-- /See:/ 'listStreams' smart constructor.
data ListStreams = ListStreams'
{ _lsExclusiveStartStreamARN :: !(Maybe Text)
@@ -60,11 +62,11 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'lsExclusiveStartStreamARN'
+-- * 'lsExclusiveStartStreamARN' - The ARN (Amazon Resource Name) of the first
item that this operation will evaluate. Use the value that was returned for
@LastEvaluatedStreamArn@ in the previous operation.
--
--- * 'lsLimit'
+-- * 'lsLimit' - The maximum number of streams to return. The upper limit is
100.
--
--- * 'lsTableName'
+-- * 'lsTableName' - If this parameter is provided, then only the streams
associated with this table name are returned.
listStreams
:: ListStreams
listStreams =
@@ -74,7 +76,7 @@
, _lsTableName = Nothing
}
--- | The ARN (Amazon Resource Name) of the first item that this operation will
evaluate. Use the value that was returned for 'LastEvaluatedStreamArn' in the
previous operation.
+-- | The ARN (Amazon Resource Name) of the first item that this operation will
evaluate. Use the value that was returned for @LastEvaluatedStreamArn@ in the
previous operation.
lsExclusiveStartStreamARN :: Lens' ListStreams (Maybe Text)
lsExclusiveStartStreamARN = lens _lsExclusiveStartStreamARN (\ s a ->
s{_lsExclusiveStartStreamARN = a});
@@ -128,6 +130,8 @@
-- | Represents the output of a /ListStreams/ operation.
--
+--
+--
-- /See:/ 'listStreamsResponse' smart constructor.
data ListStreamsResponse = ListStreamsResponse'
{ _lsrsLastEvaluatedStreamARN :: !(Maybe Text)
@@ -139,11 +143,11 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'lsrsLastEvaluatedStreamARN'
+-- * 'lsrsLastEvaluatedStreamARN' - The stream ARN of the item where the
operation stopped, inclusive of the previous result set. Use this value to
start a new operation, excluding this value in the new request. If
@LastEvaluatedStreamArn@ is empty, then the "last page" of results has been
processed and there is no more data to be retrieved. If
@LastEvaluatedStreamArn@ is not empty, it does not necessarily mean that there
is more data in the result set. The only way to know when you have reached the
end of the result set is when @LastEvaluatedStreamArn@ is empty.
--
--- * 'lsrsStreams'
+-- * 'lsrsStreams' - A list of stream descriptors associated with the current
account and endpoint.
--
--- * 'lsrsResponseStatus'
+-- * 'lsrsResponseStatus' - -- | The response status code.
listStreamsResponse
:: Int -- ^ 'lsrsResponseStatus'
-> ListStreamsResponse
@@ -154,11 +158,7 @@
, _lsrsResponseStatus = pResponseStatus_
}
--- | The stream ARN of the item where the operation stopped, inclusive of the
previous result set. Use this value to start a new operation, excluding this
value in the new request.
---
--- If 'LastEvaluatedStreamArn' is empty, then the \"last page\" of results has
been processed and there is no more data to be retrieved.
---
--- If 'LastEvaluatedStreamArn' is not empty, it does not necessarily mean that
there is more data in the result set. The only way to know when you have
reached the end of the result set is when 'LastEvaluatedStreamArn' is empty.
+-- | The stream ARN of the item where the operation stopped, inclusive of the
previous result set. Use this value to start a new operation, excluding this
value in the new request. If @LastEvaluatedStreamArn@ is empty, then the "last
page" of results has been processed and there is no more data to be retrieved.
If @LastEvaluatedStreamArn@ is not empty, it does not necessarily mean that
there is more data in the result set. The only way to know when you have
reached the end of the result set is when @LastEvaluatedStreamArn@ is empty.
lsrsLastEvaluatedStreamARN :: Lens' ListStreamsResponse (Maybe Text)
lsrsLastEvaluatedStreamARN = lens _lsrsLastEvaluatedStreamARN (\ s a ->
s{_lsrsLastEvaluatedStreamARN = a});
@@ -166,7 +166,7 @@
lsrsStreams :: Lens' ListStreamsResponse [Stream]
lsrsStreams = lens _lsrsStreams (\ s a -> s{_lsrsStreams = a}) . _Default .
_Coerce;
--- | The response status code.
+-- | -- | The response status code.
lsrsResponseStatus :: Lens' ListStreamsResponse Int
lsrsResponseStatus = lens _lsrsResponseStatus (\ s a -> s{_lsrsResponseStatus
= a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-dynamodb-streams-1.4.3/gen/Network/AWS/DynamoDBStreams/Types/Product.hs
new/amazonka-dynamodb-streams-1.4.5/gen/Network/AWS/DynamoDBStreams/Types/Product.hs
---
old/amazonka-dynamodb-streams-1.4.3/gen/Network/AWS/DynamoDBStreams/Types/Product.hs
2016-06-09 21:31:28.000000000 +0200
+++
new/amazonka-dynamodb-streams-1.4.5/gen/Network/AWS/DynamoDBStreams/Types/Product.hs
2016-12-04 16:29:21.000000000 +0100
@@ -23,8 +23,10 @@
-- | Represents the data for an attribute. You can set one, and only one, of
the elements.
--
+--
-- Each attribute in an item is a name-value pair. An attribute can be
single-valued or multi-valued set. For example, a book item can have title and
authors attributes. Each book has one title but can have many authors. The
multi-valued attribute is a set; duplicate values are not allowed.
--
+--
-- /See:/ 'attributeValue' smart constructor.
data AttributeValue = AttributeValue'
{ _avL :: !(Maybe [AttributeValue])
@@ -43,25 +45,25 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'avL'
+-- * 'avL' - A List data type.
--
--- * 'avNS'
+-- * 'avNS' - A Number Set data type.
--
--- * 'avM'
+-- * 'avM' - A Map data type.
--
--- * 'avNULL'
+-- * 'avNULL' - A Null data type.
--
--- * 'avN'
+-- * 'avN' - A Number data type.
--
--- * 'avBS'
+-- * 'avBS' - A Binary Set data type.
--
--- * 'avB'
+-- * 'avB' - A Binary data type.-- /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.
--
--- * 'avSS'
+-- * 'avSS' - A String Set data type.
--
--- * 'avS'
+-- * 'avS' - A String data type.
--
--- * 'avBOOL'
+-- * 'avBOOL' - A Boolean data type.
attributeValue
:: AttributeValue
attributeValue =
@@ -102,13 +104,7 @@
avBS :: Lens' AttributeValue [ByteString]
avBS = lens _avBS (\ s a -> s{_avBS = a}) . _Default . _Coerce;
--- | A Binary data type.
---
--- /Note:/ This 'Lens' automatically encodes and decodes Base64 data,
--- despite what the AWS documentation might say.
--- 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.
+-- | A Binary data type.-- /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.
avB :: Lens' AttributeValue (Maybe ByteString)
avB = lens _avB (\ s a -> s{_avB = a}) . mapping _Base64;
@@ -145,7 +141,9 @@
-- | 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.
--
--- A /KeySchemaElement/ represents exactly one attribute of the primary key.
For example, a hash type primary key would be represented by one
/KeySchemaElement/. A hash-and-range type primary key would require one
/KeySchemaElement/ for the hash attribute, and another /KeySchemaElement/ for
the range attribute.
+--
+-- A /KeySchemaElement/ represents exactly one attribute of the primary key.
For example, a simple primary key (partition key) would be represented by one
/KeySchemaElement/ . A composite primary key (partition key and sort key) would
require one /KeySchemaElement/ for the partition key, and another
/KeySchemaElement/ for the sort key.
+--
--
-- /See:/ 'keySchemaElement' smart constructor.
data KeySchemaElement = KeySchemaElement'
@@ -157,9 +155,9 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'kseAttributeName'
+-- * 'kseAttributeName' - The name of a key attribute.
--
--- * 'kseKeyType'
+-- * 'kseKeyType' - The attribute data, consisting of the data type and the
attribute value itself.
keySchemaElement
:: Text -- ^ 'kseAttributeName'
-> KeyType -- ^ 'kseKeyType'
@@ -191,6 +189,8 @@
-- | A description of a unique event within a stream.
--
+--
+--
-- /See:/ 'record' smart constructor.
data Record = Record'
{ _rEventVersion :: !(Maybe Text)
@@ -205,17 +205,17 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'rEventVersion'
+-- * 'rEventVersion' - The version number of the stream record format. This
number is updated whenever the structure of /Record/ is modified. Client
applications must not assume that /eventVersion/ will remain at a particular
value, as this number is subject to change at any time. In general,
/eventVersion/ will only increase as the low-level DynamoDB Streams API evolves.
--
--- * 'rDynamodb'
+-- * 'rDynamodb' - The main body of the stream record, containing all of the
DynamoDB-specific fields.
--
--- * 'rAwsRegion'
+-- * 'rAwsRegion' - The region in which the /GetRecords/ request was received.
--
--- * 'rEventName'
+-- * 'rEventName' - The type of data modification that was performed on the
DynamoDB table: * @INSERT@ - a new item was added to the table. *
@MODIFY@ - one or more of an existing item's attributes were modified. *
@REMOVE@ - the item was deleted from the table
--
--- * 'rEventSource'
+-- * 'rEventSource' - The AWS service from which the stream record originated.
For DynamoDB Streams, this is /aws:dynamodb/ .
--
--- * 'rEventId'
+-- * 'rEventId' - A globally unique identifier for the event that was recorded
in this stream record.
record
:: Record
record =
@@ -228,7 +228,7 @@
, _rEventId = Nothing
}
--- | The version number of the stream record format. Currently, this is /1.0/.
+-- | The version number of the stream record format. This number is updated
whenever the structure of /Record/ is modified. Client applications must not
assume that /eventVersion/ will remain at a particular value, as this number is
subject to change at any time. In general, /eventVersion/ will only increase as
the low-level DynamoDB Streams API evolves.
rEventVersion :: Lens' Record (Maybe Text)
rEventVersion = lens _rEventVersion (\ s a -> s{_rEventVersion = a});
@@ -240,18 +240,11 @@
rAwsRegion :: Lens' Record (Maybe Text)
rAwsRegion = lens _rAwsRegion (\ s a -> s{_rAwsRegion = a});
--- | The type of data modification that was performed on the DynamoDB table:
---
--- - 'INSERT' - a new item was added to the table.
---
--- - 'MODIFY' - one or more of the item\'s attributes were updated.
---
--- - 'REMOVE' - the item was deleted from the table
---
+-- | The type of data modification that was performed on the DynamoDB table:
* @INSERT@ - a new item was added to the table. * @MODIFY@ - one or more
of an existing item's attributes were modified. * @REMOVE@ - the item was
deleted from the table
rEventName :: Lens' Record (Maybe OperationType)
rEventName = lens _rEventName (\ s a -> s{_rEventName = a});
--- | The AWS service from which the stream record originated. For DynamoDB
Streams, this is /aws:dynamodb/.
+-- | The AWS service from which the stream record originated. For DynamoDB
Streams, this is /aws:dynamodb/ .
rEventSource :: Lens' Record (Maybe Text)
rEventSource = lens _rEventSource (\ s a -> s{_rEventSource = a});
@@ -276,6 +269,8 @@
-- | The beginning and ending sequence numbers for the stream records
contained within a shard.
--
+--
+--
-- /See:/ 'sequenceNumberRange' smart constructor.
data SequenceNumberRange = SequenceNumberRange'
{ _snrStartingSequenceNumber :: !(Maybe Text)
@@ -286,9 +281,9 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'snrStartingSequenceNumber'
+-- * 'snrStartingSequenceNumber' - The first sequence number.
--
--- * 'snrEndingSequenceNumber'
+-- * 'snrEndingSequenceNumber' - The last sequence number.
sequenceNumberRange
:: SequenceNumberRange
sequenceNumberRange =
@@ -319,6 +314,8 @@
-- | A uniquely identified group of stream records within a stream.
--
+--
+--
-- /See:/ 'shard' smart constructor.
data Shard = Shard'
{ _sParentShardId :: !(Maybe Text)
@@ -330,11 +327,11 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'sParentShardId'
+-- * 'sParentShardId' - The shard ID of the current shard's parent.
--
--- * 'sSequenceNumberRange'
+-- * 'sSequenceNumberRange' - The range of possible sequence numbers for the
shard.
--
--- * 'sShardId'
+-- * 'sShardId' - The system-generated identifier for this shard.
shard
:: Shard
shard =
@@ -344,7 +341,7 @@
, _sShardId = Nothing
}
--- | The shard ID of the current shard\'s parent.
+-- | The shard ID of the current shard's parent.
sParentShardId :: Lens' Shard (Maybe Text)
sParentShardId = lens _sParentShardId (\ s a -> s{_sParentShardId = a});
@@ -371,6 +368,8 @@
-- | Represents all of the data describing a particular stream.
--
+--
+--
-- /See:/ 'stream' smart constructor.
data Stream = Stream'
{ _sStreamLabel :: !(Maybe Text)
@@ -382,11 +381,11 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'sStreamLabel'
+-- * 'sStreamLabel' - A timestamp, in ISO 8601 format, for this stream. Note
that /LatestStreamLabel/ is not a unique identifier for the stream, because it
is possible that a stream from another table might have the same timestamp.
However, the combination of the following three elements is guaranteed to be
unique: * the AWS customer ID. * the table name * the /StreamLabel/
--
--- * 'sStreamARN'
+-- * 'sStreamARN' - The Amazon Resource Name (ARN) for the stream.
--
--- * 'sTableName'
+-- * 'sTableName' - The DynamoDB table with which the stream is associated.
stream
:: Stream
stream =
@@ -396,16 +395,7 @@
, _sTableName = Nothing
}
--- | A timestamp, in ISO 8601 format, for this stream.
---
--- Note that /LatestStreamLabel/ is not a unique identifier for the stream,
because it is possible that a stream from another table might have the same
timestamp. However, the combination of the following three elements is
guaranteed to be unique:
---
--- - the AWS customer ID.
---
--- - the table name
---
--- - the /StreamLabel/
---
+-- | A timestamp, in ISO 8601 format, for this stream. Note that
/LatestStreamLabel/ is not a unique identifier for the stream, because it is
possible that a stream from another table might have the same timestamp.
However, the combination of the following three elements is guaranteed to be
unique: * the AWS customer ID. * the table name * the /StreamLabel/
sStreamLabel :: Lens' Stream (Maybe Text)
sStreamLabel = lens _sStreamLabel (\ s a -> s{_sStreamLabel = a});
@@ -431,6 +421,8 @@
-- | Represents all of the data describing a particular stream.
--
+--
+--
-- /See:/ 'streamDescription' smart constructor.
data StreamDescription = StreamDescription'
{ _sdLastEvaluatedShardId :: !(Maybe Text)
@@ -448,23 +440,23 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'sdLastEvaluatedShardId'
+-- * 'sdLastEvaluatedShardId' - The shard ID of the item where the operation
stopped, inclusive of the previous result set. Use this value to start a new
operation, excluding this value in the new request. If @LastEvaluatedShardId@
is empty, then the "last page" of results has been processed and there is
currently no more data to be retrieved. If @LastEvaluatedShardId@ is not empty,
it does not necessarily mean that there is more data in the result set. The
only way to know when you have reached the end of the result set is when
@LastEvaluatedShardId@ is empty.
--
--- * 'sdStreamLabel'
+-- * 'sdStreamLabel' - A timestamp, in ISO 8601 format, for this stream. Note
that /LatestStreamLabel/ is not a unique identifier for the stream, because it
is possible that a stream from another table might have the same timestamp.
However, the combination of the following three elements is guaranteed to be
unique: * the AWS customer ID. * the table name * the /StreamLabel/
--
--- * 'sdStreamStatus'
+-- * 'sdStreamStatus' - Indicates the current status of the stream: *
@ENABLING@ - Streams is currently being enabled on the DynamoDB table. *
@ENABLED@ - the stream is enabled. * @DISABLING@ - Streams is currently
being disabled on the DynamoDB table. * @DISABLED@ - the stream is disabled.
--
--- * 'sdKeySchema'
+-- * 'sdKeySchema' - The key attribute(s) of the stream's DynamoDB table.
--
--- * 'sdStreamViewType'
+-- * 'sdStreamViewType' - Indicates the format of the records within this
stream: * @KEYS_ONLY@ - only the key attributes of items that were modified
in the DynamoDB table. * @NEW_IMAGE@ - entire items from the table, as they
appeared after they were modified. * @OLD_IMAGE@ - entire items from the
table, as they appeared before they were modified. * @NEW_AND_OLD_IMAGES@ -
both the new and the old images of the items from the table.
--
--- * 'sdStreamARN'
+-- * 'sdStreamARN' - The Amazon Resource Name (ARN) for the stream.
--
--- * 'sdShards'
+-- * 'sdShards' - The shards that comprise the stream.
--
--- * 'sdTableName'
+-- * 'sdTableName' - The DynamoDB table with which the stream is associated.
--
--- * 'sdCreationRequestDateTime'
+-- * 'sdCreationRequestDateTime' - The date and time when the request to
create this stream was issued.
streamDescription
:: StreamDescription
streamDescription =
@@ -480,54 +472,23 @@
, _sdCreationRequestDateTime = Nothing
}
--- | The shard ID of the item where the operation stopped, inclusive of the
previous result set. Use this value to start a new operation, excluding this
value in the new request.
---
--- If 'LastEvaluatedShardId' is empty, then the \"last page\" of results has
been processed and there is currently no more data to be retrieved.
---
--- If 'LastEvaluatedShardId' is not empty, it does not necessarily mean that
there is more data in the result set. The only way to know when you have
reached the end of the result set is when 'LastEvaluatedShardId' is empty.
+-- | The shard ID of the item where the operation stopped, inclusive of the
previous result set. Use this value to start a new operation, excluding this
value in the new request. If @LastEvaluatedShardId@ is empty, then the "last
page" of results has been processed and there is currently no more data to be
retrieved. If @LastEvaluatedShardId@ is not empty, it does not necessarily mean
that there is more data in the result set. The only way to know when you have
reached the end of the result set is when @LastEvaluatedShardId@ is empty.
sdLastEvaluatedShardId :: Lens' StreamDescription (Maybe Text)
sdLastEvaluatedShardId = lens _sdLastEvaluatedShardId (\ s a ->
s{_sdLastEvaluatedShardId = a});
--- | A timestamp, in ISO 8601 format, for this stream.
---
--- Note that /LatestStreamLabel/ is not a unique identifier for the stream,
because it is possible that a stream from another table might have the same
timestamp. However, the combination of the following three elements is
guaranteed to be unique:
---
--- - the AWS customer ID.
---
--- - the table name
---
--- - the /StreamLabel/
---
+-- | A timestamp, in ISO 8601 format, for this stream. Note that
/LatestStreamLabel/ is not a unique identifier for the stream, because it is
possible that a stream from another table might have the same timestamp.
However, the combination of the following three elements is guaranteed to be
unique: * the AWS customer ID. * the table name * the /StreamLabel/
sdStreamLabel :: Lens' StreamDescription (Maybe Text)
sdStreamLabel = lens _sdStreamLabel (\ s a -> s{_sdStreamLabel = a});
--- | Indicates the current status of the stream:
---
--- - 'ENABLING' - Streams is currently being enabled on the DynamoDB table.
---
--- - 'ENABLING' - the stream is enabled.
---
--- - 'DISABLING' - Streams is currently being disabled on the DynamoDB table.
---
--- - 'DISABLED' - the stream is disabled.
---
+-- | Indicates the current status of the stream: * @ENABLING@ - Streams is
currently being enabled on the DynamoDB table. * @ENABLED@ - the stream is
enabled. * @DISABLING@ - Streams is currently being disabled on the
DynamoDB table. * @DISABLED@ - the stream is disabled.
sdStreamStatus :: Lens' StreamDescription (Maybe StreamStatus)
sdStreamStatus = lens _sdStreamStatus (\ s a -> s{_sdStreamStatus = a});
--- | The key attribute(s) of the stream\'s DynamoDB table.
+-- | The key attribute(s) of the stream's DynamoDB table.
sdKeySchema :: Lens' StreamDescription (Maybe (NonEmpty KeySchemaElement))
sdKeySchema = lens _sdKeySchema (\ s a -> s{_sdKeySchema = a}) . mapping
_List1;
--- | Indicates the format of the records within this stream:
---
--- - 'KEYS_ONLY' - only the key attributes of items that were modified in
the DynamoDB table.
---
--- - 'NEW_IMAGE' - entire item from the table, as it appeared after they
were modified.
---
--- - 'OLD_IMAGE' - entire item from the table, as it appeared before they
were modified.
---
--- - 'NEW_AND_OLD_IMAGES' - both the new and the old images of the items
from the table.
---
+-- | Indicates the format of the records within this stream: * @KEYS_ONLY@
- only the key attributes of items that were modified in the DynamoDB table.
* @NEW_IMAGE@ - entire items from the table, as they appeared after they were
modified. * @OLD_IMAGE@ - entire items from the table, as they appeared
before they were modified. * @NEW_AND_OLD_IMAGES@ - both the new and the
old images of the items from the table.
sdStreamViewType :: Lens' StreamDescription (Maybe StreamViewType)
sdStreamViewType = lens _sdStreamViewType (\ s a -> s{_sdStreamViewType = a});
@@ -568,37 +529,43 @@
-- | A description of a single data modification that was performed on an item
in a DynamoDB table.
--
+--
+--
-- /See:/ 'streamRecord' smart constructor.
data StreamRecord = StreamRecord'
- { _srSizeBytes :: !(Maybe Nat)
- , _srSequenceNumber :: !(Maybe Text)
- , _srStreamViewType :: !(Maybe StreamViewType)
- , _srKeys :: !(Maybe (Map Text AttributeValue))
- , _srOldImage :: !(Maybe (Map Text AttributeValue))
- , _srNewImage :: !(Maybe (Map Text AttributeValue))
+ { _srSizeBytes :: !(Maybe Nat)
+ , _srSequenceNumber :: !(Maybe Text)
+ , _srApproximateCreationDateTime :: !(Maybe POSIX)
+ , _srStreamViewType :: !(Maybe StreamViewType)
+ , _srKeys :: !(Maybe (Map Text AttributeValue))
+ , _srOldImage :: !(Maybe (Map Text AttributeValue))
+ , _srNewImage :: !(Maybe (Map Text AttributeValue))
} deriving (Eq,Read,Show,Data,Typeable,Generic)
-- | Creates a value of 'StreamRecord' with the minimum fields required to
make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'srSizeBytes'
+-- * 'srSizeBytes' - The size of the stream record, in bytes.
+--
+-- * 'srSequenceNumber' - The sequence number of the stream record.
--
--- * 'srSequenceNumber'
+-- * 'srApproximateCreationDateTime' - The approximate date and time when the
stream record was created, in <http://www.epochconverter.com/ UNIX epoch time>
format.
--
--- * 'srStreamViewType'
+-- * 'srStreamViewType' - The type of data from the modified DynamoDB item
that was captured in this stream record: * @KEYS_ONLY@ - only the key
attributes of the modified item. * @NEW_IMAGE@ - the entire item, as it
appeared after it was modified. * @OLD_IMAGE@ - the entire item, as it
appeared before it was modified. * @NEW_AND_OLD_IMAGES@ - both the new and
the old item images of the item.
--
--- * 'srKeys'
+-- * 'srKeys' - The primary key attribute(s) for the DynamoDB item that was
modified.
--
--- * 'srOldImage'
+-- * 'srOldImage' - The item in the DynamoDB table as it appeared before it
was modified.
--
--- * 'srNewImage'
+-- * 'srNewImage' - The item in the DynamoDB table as it appeared after it was
modified.
streamRecord
:: StreamRecord
streamRecord =
StreamRecord'
{ _srSizeBytes = Nothing
, _srSequenceNumber = Nothing
+ , _srApproximateCreationDateTime = Nothing
, _srStreamViewType = Nothing
, _srKeys = Nothing
, _srOldImage = Nothing
@@ -613,16 +580,11 @@
srSequenceNumber :: Lens' StreamRecord (Maybe Text)
srSequenceNumber = lens _srSequenceNumber (\ s a -> s{_srSequenceNumber = a});
--- | The type of data from the modified DynamoDB item that was captured in
this stream record:
---
--- - 'KEYS_ONLY' - only the key attributes of the modified item.
---
--- - 'NEW_IMAGE' - the entire item, as it appears after it was modified.
---
--- - 'OLD_IMAGE' - the entire item, as it appeared before it was modified.
---
--- - 'NEW_AND_OLD_IMAGES' — both the new and the old item images of the item.
---
+-- | The approximate date and time when the stream record was created, in
<http://www.epochconverter.com/ UNIX epoch time> format.
+srApproximateCreationDateTime :: Lens' StreamRecord (Maybe UTCTime)
+srApproximateCreationDateTime = lens _srApproximateCreationDateTime (\ s a ->
s{_srApproximateCreationDateTime = a}) . mapping _Time;
+
+-- | The type of data from the modified DynamoDB item that was captured in
this stream record: * @KEYS_ONLY@ - only the key attributes of the modified
item. * @NEW_IMAGE@ - the entire item, as it appeared after it was
modified. * @OLD_IMAGE@ - the entire item, as it appeared before it was
modified. * @NEW_AND_OLD_IMAGES@ - both the new and the old item images of
the item.
srStreamViewType :: Lens' StreamRecord (Maybe StreamViewType)
srStreamViewType = lens _srStreamViewType (\ s a -> s{_srStreamViewType = a});
@@ -644,7 +606,8 @@
(\ x ->
StreamRecord' <$>
(x .:? "SizeBytes") <*> (x .:? "SequenceNumber") <*>
- (x .:? "StreamViewType")
+ (x .:? "ApproximateCreationDateTime")
+ <*> (x .:? "StreamViewType")
<*> (x .:? "Keys" .!= mempty)
<*> (x .:? "OldImage" .!= mempty)
<*> (x .:? "NewImage" .!= mempty))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-dynamodb-streams-1.4.3/gen/Network/AWS/DynamoDBStreams/Types/Sum.hs
new/amazonka-dynamodb-streams-1.4.5/gen/Network/AWS/DynamoDBStreams/Types/Sum.hs
---
old/amazonka-dynamodb-streams-1.4.3/gen/Network/AWS/DynamoDBStreams/Types/Sum.hs
2016-06-09 21:31:28.000000000 +0200
+++
new/amazonka-dynamodb-streams-1.4.5/gen/Network/AWS/DynamoDBStreams/Types/Sum.hs
2016-12-04 16:29:21.000000000 +0100
@@ -29,7 +29,7 @@
"hash" -> pure Hash
"range" -> pure Range
e -> fromTextError $ "Failure parsing KeyType from value: '" <> e
- <> "'. Accepted values: HASH, RANGE"
+ <> "'. Accepted values: hash, range"
instance ToText KeyType where
toText = \case
@@ -57,7 +57,7 @@
"modify" -> pure Modify
"remove" -> pure Remove
e -> fromTextError $ "Failure parsing OperationType from value: '" <> e
- <> "'. Accepted values: INSERT, MODIFY, REMOVE"
+ <> "'. Accepted values: insert, modify, remove"
instance ToText OperationType where
toText = \case
@@ -88,7 +88,7 @@
"latest" -> pure Latest
"trim_horizon" -> pure TrimHorizon
e -> fromTextError $ "Failure parsing ShardIteratorType from value: '"
<> e
- <> "'. Accepted values: AFTER_SEQUENCE_NUMBER, AT_SEQUENCE_NUMBER,
LATEST, TRIM_HORIZON"
+ <> "'. Accepted values: after_sequence_number, at_sequence_number,
latest, trim_horizon"
instance ToText ShardIteratorType where
toText = \case
@@ -120,7 +120,7 @@
"enabled" -> pure Enabled
"enabling" -> pure Enabling
e -> fromTextError $ "Failure parsing StreamStatus from value: '" <> e
- <> "'. Accepted values: DISABLED, DISABLING, ENABLED, ENABLING"
+ <> "'. Accepted values: disabled, disabling, enabled, enabling"
instance ToText StreamStatus where
toText = \case
@@ -152,7 +152,7 @@
"new_image" -> pure NewImage
"old_image" -> pure OldImage
e -> fromTextError $ "Failure parsing StreamViewType from value: '" <>
e
- <> "'. Accepted values: KEYS_ONLY, NEW_AND_OLD_IMAGES, NEW_IMAGE,
OLD_IMAGE"
+ <> "'. Accepted values: keys_only, new_and_old_images, new_image,
old_image"
instance ToText StreamViewType where
toText = \case
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-dynamodb-streams-1.4.3/gen/Network/AWS/DynamoDBStreams/Types.hs
new/amazonka-dynamodb-streams-1.4.5/gen/Network/AWS/DynamoDBStreams/Types.hs
---
old/amazonka-dynamodb-streams-1.4.3/gen/Network/AWS/DynamoDBStreams/Types.hs
2016-06-09 21:31:28.000000000 +0200
+++
new/amazonka-dynamodb-streams-1.4.5/gen/Network/AWS/DynamoDBStreams/Types.hs
2016-12-04 16:29:21.000000000 +0100
@@ -105,6 +105,7 @@
, streamRecord
, srSizeBytes
, srSequenceNumber
+ , srApproximateCreationDateTime
, srStreamViewType
, srKeys
, srOldImage
@@ -117,7 +118,7 @@
import Network.AWS.Prelude
import Network.AWS.Sign.V4
--- | API version '2012-08-10' of the Amazon DynamoDB Streams SDK configuration.
+-- | API version @2012-08-10@ of the Amazon DynamoDB Streams SDK configuration.
dynamoDBStreams :: Service
dynamoDBStreams =
Service
@@ -152,28 +153,41 @@
| otherwise = Nothing
-- | The shard iterator has expired and can no longer be used to retrieve
stream records. A shard iterator expires 15 minutes after it is retrieved using
the /GetShardIterator/ action.
+--
+--
_ExpiredIteratorException :: AsError a => Getting (First ServiceError) a
ServiceError
_ExpiredIteratorException = _ServiceError . hasCode "ExpiredIteratorException"
-- | An error occurred on the server side.
+--
+--
_InternalServerError :: AsError a => Getting (First ServiceError) a
ServiceError
_InternalServerError = _ServiceError . hasCode "InternalServerError"
-- | The operation attempted to read past the oldest stream record in a shard.
--
+--
-- In DynamoDB Streams, there is a 24 hour limit on data retention. Stream
records whose age exceeds this limit are subject to removal (trimming) from the
stream. You might receive a TrimmedDataAccessException if:
--
--- - You request a shard iterator with a sequence number older than the trim
point (24 hours).
--- - You obtain a shard iterator, but before you use the iterator in a
/GetRecords/ request, a stream record in the shard exceeds the 24 hour period
and is trimmed. This causes the iterator to access a record that no longer
exists.
+-- * You request a shard iterator with a sequence number older than the
trim point (24 hours).
+--
+-- * You obtain a shard iterator, but before you use the iterator in a
/GetRecords/ request, a stream record in the shard exceeds the 24 hour period
and is trimmed. This causes the iterator to access a record that no longer
exists.
+--
+--
+--
_TrimmedDataAccessException :: AsError a => Getting (First ServiceError) a
ServiceError
_TrimmedDataAccessException =
_ServiceError . hasCode "TrimmedDataAccessException"
-- | The operation tried to access a nonexistent stream.
+--
+--
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a
ServiceError
_ResourceNotFoundException =
_ServiceError . hasCode "ResourceNotFoundException"
--- | Your request rate is too high. The AWS SDKs for DynamoDB automatically
retry requests that receive this exception. Your request is eventually
successful, unless your retry queue is too large to finish. Reduce the
frequency of requests and use exponential backoff. For more information, go to
<http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ErrorHandling.html#APIRetries
Error Retries and Exponential Backoff> in the /Amazon DynamoDB Developer
Guide/.
+-- | Your request rate is too high. The AWS SDKs for DynamoDB automatically
retry requests that receive this exception. Your request is eventually
successful, unless your retry queue is too large to finish. Reduce the
frequency of requests and use exponential backoff. For more information, go to
<http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ErrorHandling.html#APIRetries
Error Retries and Exponential Backoff> in the /Amazon DynamoDB Developer
Guide/ .
+--
+--
_LimitExceededException :: AsError a => Getting (First ServiceError) a
ServiceError
_LimitExceededException = _ServiceError . hasCode "LimitExceededException"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-dynamodb-streams-1.4.3/gen/Network/AWS/DynamoDBStreams.hs
new/amazonka-dynamodb-streams-1.4.5/gen/Network/AWS/DynamoDBStreams.hs
--- old/amazonka-dynamodb-streams-1.4.3/gen/Network/AWS/DynamoDBStreams.hs
2016-06-09 21:31:28.000000000 +0200
+++ new/amazonka-dynamodb-streams-1.4.5/gen/Network/AWS/DynamoDBStreams.hs
2016-12-04 16:29:21.000000000 +0100
@@ -11,25 +11,21 @@
-- Stability : auto-generated
-- Portability : non-portable (GHC extensions)
--
--- Amazon DynamoDB Streams
+-- __Amazon DynamoDB__
--
--- This is the Amazon DynamoDB Streams API Reference. This guide describes the
low-level API actions for accessing streams and processing stream records. For
information about application development with DynamoDB Streams, see the
<http://docs.aws.amazon.com/amazondynamodb/latest/developerguide//Streams.html
Amazon DynamoDB Developer Guide>.
+-- Amazon DynamoDB Streams provides API actions for accessing streams and
processing stream records. To learn more about application development with
Streams, see
<http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Streams.html
Capturing Table Activity with DynamoDB Streams> in the Amazon DynamoDB
Developer Guide.
--
--- Note that this document is intended for use with the following DynamoDB
documentation:
+-- The following are short descriptions of each low-level DynamoDB Streams
action:
--
--- - <http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
Amazon DynamoDB Developer Guide>
+-- * /DescribeStream/ - Returns detailed information about a particular
stream.
--
--- - <http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/ Amazon
DynamoDB API Reference>
+-- * /GetRecords/ - Retrieves the stream records from within a shard.
--
--- The following are short descriptions of each low-level DynamoDB Streams API
action, organized by function.
+-- * /GetShardIterator/ - Returns information on how to retrieve the
streams record from a shard with a given shard ID.
--
--- - /DescribeStream/ - Returns detailed information about a particular
stream.
+-- * /ListStreams/ - Returns a list of all the streams associated with the
current AWS account and endpoint.
--
--- - /GetRecords/ - Retrieves the stream records from within a shard.
--
--- - /GetShardIterator/ - Returns information on how to retrieve the streams
record from a shard with a given shard ID.
---
--- - /ListStreams/ - Returns a list of all the streams associated with the
current AWS account and endpoint.
--
module Network.AWS.DynamoDBStreams
(
@@ -157,6 +153,7 @@
, streamRecord
, srSizeBytes
, srSequenceNumber
+ , srApproximateCreationDateTime
, srStreamViewType
, srKeys
, srOldImage