Hello community,
here is the log from the commit of package ghc-amazonka-cognito-sync for
openSUSE:Factory checked in at 2017-03-24 02:10:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-amazonka-cognito-sync (Old)
and /work/SRC/openSUSE:Factory/.ghc-amazonka-cognito-sync.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-amazonka-cognito-sync"
Fri Mar 24 02:10:52 2017 rev:2 rq:461551 version:1.4.5
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-amazonka-cognito-sync/ghc-amazonka-cognito-sync.changes
2017-02-03 17:38:01.801907911 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-amazonka-cognito-sync.new/ghc-amazonka-cognito-sync.changes
2017-03-24 02:10:54.895238235 +0100
@@ -1,0 +2,5 @@
+Sun Feb 12 14:17:29 UTC 2017 - [email protected]
+
+- Update to version 1.4.5 with cabal2obs.
+
+-------------------------------------------------------------------
Old:
----
amazonka-cognito-sync-1.4.3.tar.gz
New:
----
amazonka-cognito-sync-1.4.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-amazonka-cognito-sync.spec ++++++
--- /var/tmp/diff_new_pack.NQSlXq/_old 2017-03-24 02:10:55.459158446 +0100
+++ /var/tmp/diff_new_pack.NQSlXq/_new 2017-03-24 02:10:55.463157881 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-amazonka-cognito-sync
#
-# 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-cognito-sync
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 1.4.3
+Version: 1.4.5
Release: 0
Summary: Amazon Cognito Sync SDK
License: MPL-2.0
@@ -41,40 +41,19 @@
%endif
%description
-Amazon Cognito Sync Amazon Cognito Sync provides an AWS service and client
-library that enable cross-device syncing of application-related user data.
-High-level client libraries are available for both iOS and Android.
-You can use these libraries to persist data locally so that it's available even
-if the device is offline. Developer credentials don't need to be stored on the
-mobile device to access the service. You can use Amazon Cognito to obtain a
-normalized user ID and credentials. User data is persisted in a dataset that
-can store up to 1 MB of key-value pairs, and you can have up to 20 datasets per
-user identity. With Amazon Cognito Sync, the data stored for each identity is
-accessible only to credentials assigned to that identity. In order to use the
-Cognito Sync service, you need to make API calls using credentials retrieved
-with
-<http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/Welcome.html
-Amazon Cognito Identity service>. If you want to use Cognito Sync in an Android
-or iOS application, you will probably want to make API calls via the AWS Mobile
-SDK. To learn more, see the
-<http://docs.aws.amazon.com/mobile/sdkforandroid/developerguide/cognito-sync.html
-Developer Guide for Android> and the
-<http://docs.aws.amazon.com/mobile/sdkforios/developerguide/cognito-sync.html
-Developer Guide for iOS>.
-
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.CognitoSync" or <https://aws.amazon.com/documentation/ the AWS
-Documentation> to get started.
+documentation> to get started.
%package devel
Summary: Haskell %{pkg_name} library development files
++++++ amazonka-cognito-sync-1.4.3.tar.gz -> amazonka-cognito-sync-1.4.5.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/amazonka-cognito-sync-1.4.3/README.md
new/amazonka-cognito-sync-1.4.5/README.md
--- old/amazonka-cognito-sync-1.4.3/README.md 2016-06-09 21:31:27.000000000
+0200
+++ new/amazonka-cognito-sync-1.4.5/README.md 2016-12-04 16:29:22.000000000
+0100
@@ -8,31 +8,28 @@
## Version
-`1.4.3`
+`1.4.5`
## Description
-Amazon Cognito Sync
-
-Amazon Cognito Sync provides an AWS service and client library that enable
cross-device syncing of application-related user data. High-level client
libraries are available for both iOS and Android. You can use these libraries
to persist data locally so that it\'s available even if the device is offline.
Developer credentials don\'t need to be stored on the mobile device to access
the service. You can use Amazon Cognito to obtain a normalized user ID and
credentials. User data is persisted in a dataset that can store up to 1 MB of
key-value pairs, and you can have up to 20 datasets per user identity.
-
-With Amazon Cognito Sync, the data stored for each identity is accessible only
to credentials assigned to that identity. In order to use the Cognito Sync
service, you need to make API calls using credentials retrieved with
<http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/Welcome.html
Amazon Cognito Identity service>.
-
-If you want to use Cognito Sync in an Android or iOS application, you will
probably want to make API calls via the AWS Mobile SDK. To learn more, see the
<http://docs.aws.amazon.com/mobile/sdkforandroid/developerguide/cognito-sync.html
Developer Guide for Android> and the
<http://docs.aws.amazon.com/mobile/sdkforios/developerguide/cognito-sync.html
Developer Guide for iOS>.
-
Documentation is available via
[Hackage](http://hackage.haskell.org/package/amazonka-cognito-sync)
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.CognitoSync](http://hackage.haskell.org/package/amazonka-cognito-sync/docs/Network-AWS-CognitoSync.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-cognito-sync-1.4.3/amazonka-cognito-sync.cabal
new/amazonka-cognito-sync-1.4.5/amazonka-cognito-sync.cabal
--- old/amazonka-cognito-sync-1.4.3/amazonka-cognito-sync.cabal 2016-06-09
21:31:27.000000000 +0200
+++ new/amazonka-cognito-sync-1.4.5/amazonka-cognito-sync.cabal 2016-12-04
16:29:22.000000000 +0100
@@ -1,5 +1,5 @@
name: amazonka-cognito-sync
-version: 1.4.3
+version: 1.4.5
synopsis: Amazon Cognito Sync SDK.
homepage: https://github.com/brendanhay/amazonka
bug-reports: https://github.com/brendanhay/amazonka/issues
@@ -11,28 +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 Cognito Sync
-
- Amazon Cognito Sync provides an AWS service and client library that enable
cross-device syncing of application-related user data. High-level client
libraries are available for both iOS and Android. You can use these libraries
to persist data locally so that it\'s available even if the device is offline.
Developer credentials don\'t need to be stored on the mobile device to access
the service. You can use Amazon Cognito to obtain a normalized user ID and
credentials. User data is persisted in a dataset that can store up to 1 MB of
key-value pairs, and you can have up to 20 datasets per user identity.
-
- With Amazon Cognito Sync, the data stored for each identity is accessible
only to credentials assigned to that identity. In order to use the Cognito Sync
service, you need to make API calls using credentials retrieved with
<http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/Welcome.html
Amazon Cognito Identity service>.
-
- If you want to use Cognito Sync in an Android or iOS application, you will
probably want to make API calls via the AWS Mobile SDK. To learn more, see the
<http://docs.aws.amazon.com/mobile/sdkforandroid/developerguide/cognito-sync.html
Developer Guide for Android> and the
<http://docs.aws.amazon.com/mobile/sdkforios/developerguide/cognito-sync.html
Developer Guide for iOS>.
- .
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.CognitoSync" or <https://aws.amazon.com/documentation/
the AWS Documentation>
+ See "Network.AWS.CognitoSync" or <https://aws.amazon.com/documentation/
the AWS documentation>
to get started.
source-repository head
@@ -72,7 +65,7 @@
, Network.AWS.CognitoSync.Types.Sum
build-depends:
- amazonka-core == 1.4.3.*
+ amazonka-core == 1.4.5.*
, base >= 4.7 && < 5
test-suite amazonka-cognito-sync-test
@@ -92,9 +85,9 @@
, Test.AWS.CognitoSync.Internal
build-depends:
- amazonka-core == 1.4.3.*
- , amazonka-test == 1.4.3.*
- , amazonka-cognito-sync == 1.4.3.*
+ amazonka-core == 1.4.5.*
+ , amazonka-test == 1.4.5.*
+ , amazonka-cognito-sync == 1.4.5.*
, base
, bytestring
, tasty
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/BulkPublish.hs
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/BulkPublish.hs
--- old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/BulkPublish.hs
2016-06-09 21:31:27.000000000 +0200
+++ new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/BulkPublish.hs
2016-12-04 16:29:22.000000000 +0100
@@ -20,7 +20,9 @@
--
-- Initiates a bulk publish of all existing datasets for an Identity Pool to
the configured stream. Customers are limited to one successful bulk publish per
24 hours. Bulk publish is an asynchronous request, customers can see the status
of the request via the GetBulkPublishDetails operation.
--
+--
-- This API can only be called with developer credentials. You cannot call
this API with the temporary user credentials provided by Cognito Identity.
+--
module Network.AWS.CognitoSync.BulkPublish
(
-- * Creating a Request
@@ -55,7 +57,7 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'bpIdentityPoolId'
+-- * 'bpIdentityPoolId' - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID
generation is unique within a region.
bulkPublish
:: Text -- ^ 'bpIdentityPoolId'
-> BulkPublish
@@ -112,9 +114,9 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'bprsIdentityPoolId'
+-- * 'bprsIdentityPoolId' - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID
generation is unique within a region.
--
--- * 'bprsResponseStatus'
+-- * 'bprsResponseStatus' - -- | The response status code.
bulkPublishResponse
:: Int -- ^ 'bprsResponseStatus'
-> BulkPublishResponse
@@ -128,7 +130,7 @@
bprsIdentityPoolId :: Lens' BulkPublishResponse (Maybe Text)
bprsIdentityPoolId = lens _bprsIdentityPoolId (\ s a -> s{_bprsIdentityPoolId
= a});
--- | The response status code.
+-- | -- | The response status code.
bprsResponseStatus :: Lens' BulkPublishResponse Int
bprsResponseStatus = lens _bprsResponseStatus (\ s a -> s{_bprsResponseStatus
= a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/DeleteDataset.hs
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/DeleteDataset.hs
---
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/DeleteDataset.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/DeleteDataset.hs
2016-12-04 16:29:22.000000000 +0100
@@ -18,9 +18,11 @@
-- Stability : auto-generated
-- Portability : non-portable (GHC extensions)
--
--- Deletes the specific dataset. The dataset will be deleted permanently, and
the action can\'t be undone. Datasets that this dataset was merged with will no
longer report the merge. Any subsequent operation on this dataset will result
in a ResourceNotFoundException.
+-- Deletes the specific dataset. The dataset will be deleted permanently, and
the action can't be undone. Datasets that this dataset was merged with will no
longer report the merge. Any subsequent operation on this dataset will result
in a ResourceNotFoundException.
+--
--
-- This API can be called with temporary user credentials provided by Cognito
Identity or with developer credentials.
+--
module Network.AWS.CognitoSync.DeleteDataset
(
-- * Creating a Request
@@ -59,11 +61,11 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'delIdentityPoolId'
+-- * 'delIdentityPoolId' - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID
generation is unique within a region.
--
--- * 'delIdentityId'
+-- * 'delIdentityId' - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID
generation is unique within a region.
--
--- * 'delDatasetName'
+-- * 'delDatasetName' - A string of up to 128 characters. Allowed characters
are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot).
deleteDataset
:: Text -- ^ 'delIdentityPoolId'
-> Text -- ^ 'delIdentityId'
@@ -84,7 +86,7 @@
delIdentityId :: Lens' DeleteDataset Text
delIdentityId = lens _delIdentityId (\ s a -> s{_delIdentityId = a});
--- | A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9,
\'_\' (underscore), \'-\' (dash), and \'.\' (dot).
+-- | A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9,
'_' (underscore), '-' (dash), and '.' (dot).
delDatasetName :: Lens' DeleteDataset Text
delDatasetName = lens _delDatasetName (\ s a -> s{_delDatasetName = a});
@@ -130,9 +132,9 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'drsDataset'
+-- * 'drsDataset' - A collection of data for an identity pool. An identity
pool can have multiple datasets. A dataset is per identity and can be general
or associated with a particular entity in an application (like a saved game).
Datasets are automatically created if they don't exist. Data is synced by
dataset, and a dataset can hold up to 1MB of key-value pairs.
--
--- * 'drsResponseStatus'
+-- * 'drsResponseStatus' - -- | The response status code.
deleteDatasetResponse
:: Int -- ^ 'drsResponseStatus'
-> DeleteDatasetResponse
@@ -142,11 +144,11 @@
, _drsResponseStatus = pResponseStatus_
}
--- | A collection of data for an identity pool. An identity pool can have
multiple datasets. A dataset is per identity and can be general or associated
with a particular entity in an application (like a saved game). Datasets are
automatically created if they don\'t exist. Data is synced by dataset, and a
dataset can hold up to 1MB of key-value pairs.
+-- | A collection of data for an identity pool. An identity pool can have
multiple datasets. A dataset is per identity and can be general or associated
with a particular entity in an application (like a saved game). Datasets are
automatically created if they don't exist. Data is synced by dataset, and a
dataset can hold up to 1MB of key-value pairs.
drsDataset :: Lens' DeleteDatasetResponse (Maybe Dataset)
drsDataset = lens _drsDataset (\ s a -> s{_drsDataset = a});
--- | The response status code.
+-- | -- | The response status code.
drsResponseStatus :: Lens' DeleteDatasetResponse Int
drsResponseStatus = lens _drsResponseStatus (\ s a -> s{_drsResponseStatus =
a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/DescribeDataset.hs
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/DescribeDataset.hs
---
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/DescribeDataset.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/DescribeDataset.hs
2016-12-04 16:29:22.000000000 +0100
@@ -20,7 +20,9 @@
--
-- Gets meta data about a dataset by identity and dataset name. With Amazon
Cognito Sync, each identity has access only to its own data. Thus, the
credentials used to make this API call need to have access to the identity data.
--
+--
-- This API can be called with temporary user credentials provided by Cognito
Identity or with developer credentials. You should use Cognito Identity
credentials to make this API call.
+--
module Network.AWS.CognitoSync.DescribeDataset
(
-- * Creating a Request
@@ -59,11 +61,11 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'ddIdentityPoolId'
+-- * 'ddIdentityPoolId' - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID
generation is unique within a region.
--
--- * 'ddIdentityId'
+-- * 'ddIdentityId' - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID
generation is unique within a region.
--
--- * 'ddDatasetName'
+-- * 'ddDatasetName' - A string of up to 128 characters. Allowed characters
are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot).
describeDataset
:: Text -- ^ 'ddIdentityPoolId'
-> Text -- ^ 'ddIdentityId'
@@ -84,7 +86,7 @@
ddIdentityId :: Lens' DescribeDataset Text
ddIdentityId = lens _ddIdentityId (\ s a -> s{_ddIdentityId = a});
--- | A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9,
\'_\' (underscore), \'-\' (dash), and \'.\' (dot).
+-- | A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9,
'_' (underscore), '-' (dash), and '.' (dot).
ddDatasetName :: Lens' DescribeDataset Text
ddDatasetName = lens _ddDatasetName (\ s a -> s{_ddDatasetName = a});
@@ -130,9 +132,9 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'ddrsDataset'
+-- * 'ddrsDataset' - Meta data for a collection of data for an identity. An
identity can have multiple datasets. A dataset can be general or associated
with a particular entity in an application (like a saved game). Datasets are
automatically created if they don't exist. Data is synced by dataset, and a
dataset can hold up to 1MB of key-value pairs.
--
--- * 'ddrsResponseStatus'
+-- * 'ddrsResponseStatus' - -- | The response status code.
describeDatasetResponse
:: Int -- ^ 'ddrsResponseStatus'
-> DescribeDatasetResponse
@@ -142,11 +144,11 @@
, _ddrsResponseStatus = pResponseStatus_
}
--- | Meta data for a collection of data for an identity. An identity can have
multiple datasets. A dataset can be general or associated with a particular
entity in an application (like a saved game). Datasets are automatically
created if they don\'t exist. Data is synced by dataset, and a dataset can hold
up to 1MB of key-value pairs.
+-- | Meta data for a collection of data for an identity. An identity can have
multiple datasets. A dataset can be general or associated with a particular
entity in an application (like a saved game). Datasets are automatically
created if they don't exist. Data is synced by dataset, and a dataset can hold
up to 1MB of key-value pairs.
ddrsDataset :: Lens' DescribeDatasetResponse (Maybe Dataset)
ddrsDataset = lens _ddrsDataset (\ s a -> s{_ddrsDataset = a});
--- | The response status code.
+-- | -- | The response status code.
ddrsResponseStatus :: Lens' DescribeDatasetResponse Int
ddrsResponseStatus = lens _ddrsResponseStatus (\ s a -> s{_ddrsResponseStatus
= a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/DescribeIdentityPoolUsage.hs
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/DescribeIdentityPoolUsage.hs
---
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/DescribeIdentityPoolUsage.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/DescribeIdentityPoolUsage.hs
2016-12-04 16:29:22.000000000 +0100
@@ -20,7 +20,9 @@
--
-- Gets usage details (for example, data storage) about a particular identity
pool.
--
+--
-- This API can only be called with developer credentials. You cannot call
this API with the temporary user credentials provided by Cognito Identity.
+--
module Network.AWS.CognitoSync.DescribeIdentityPoolUsage
(
-- * Creating a Request
@@ -55,7 +57,7 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'dipuIdentityPoolId'
+-- * 'dipuIdentityPoolId' - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID
generation is unique within a region.
describeIdentityPoolUsage
:: Text -- ^ 'dipuIdentityPoolId'
-> DescribeIdentityPoolUsage
@@ -109,9 +111,9 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'dipursIdentityPoolUsage'
+-- * 'dipursIdentityPoolUsage' - Information about the usage of the identity
pool.
--
--- * 'dipursResponseStatus'
+-- * 'dipursResponseStatus' - -- | The response status code.
describeIdentityPoolUsageResponse
:: Int -- ^ 'dipursResponseStatus'
-> DescribeIdentityPoolUsageResponse
@@ -125,7 +127,7 @@
dipursIdentityPoolUsage :: Lens' DescribeIdentityPoolUsageResponse (Maybe
IdentityPoolUsage)
dipursIdentityPoolUsage = lens _dipursIdentityPoolUsage (\ s a ->
s{_dipursIdentityPoolUsage = a});
--- | The response status code.
+-- | -- | The response status code.
dipursResponseStatus :: Lens' DescribeIdentityPoolUsageResponse Int
dipursResponseStatus = lens _dipursResponseStatus (\ s a ->
s{_dipursResponseStatus = a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/DescribeIdentityUsage.hs
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/DescribeIdentityUsage.hs
---
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/DescribeIdentityUsage.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/DescribeIdentityUsage.hs
2016-12-04 16:29:22.000000000 +0100
@@ -20,7 +20,9 @@
--
-- Gets usage information for an identity, including number of datasets and
data usage.
--
+--
-- This API can be called with temporary user credentials provided by Cognito
Identity or with developer credentials.
+--
module Network.AWS.CognitoSync.DescribeIdentityUsage
(
-- * Creating a Request
@@ -57,9 +59,9 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'diuIdentityPoolId'
+-- * 'diuIdentityPoolId' - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID
generation is unique within a region.
--
--- * 'diuIdentityId'
+-- * 'diuIdentityId' - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID
generation is unique within a region.
describeIdentityUsage
:: Text -- ^ 'diuIdentityPoolId'
-> Text -- ^ 'diuIdentityId'
@@ -120,9 +122,9 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'diursIdentityUsage'
+-- * 'diursIdentityUsage' - Usage information for the identity.
--
--- * 'diursResponseStatus'
+-- * 'diursResponseStatus' - -- | The response status code.
describeIdentityUsageResponse
:: Int -- ^ 'diursResponseStatus'
-> DescribeIdentityUsageResponse
@@ -136,7 +138,7 @@
diursIdentityUsage :: Lens' DescribeIdentityUsageResponse (Maybe IdentityUsage)
diursIdentityUsage = lens _diursIdentityUsage (\ s a -> s{_diursIdentityUsage
= a});
--- | The response status code.
+-- | -- | The response status code.
diursResponseStatus :: Lens' DescribeIdentityUsageResponse Int
diursResponseStatus = lens _diursResponseStatus (\ s a ->
s{_diursResponseStatus = a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/GetBulkPublishDetails.hs
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/GetBulkPublishDetails.hs
---
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/GetBulkPublishDetails.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/GetBulkPublishDetails.hs
2016-12-04 16:29:22.000000000 +0100
@@ -20,7 +20,9 @@
--
-- Get the status of the last BulkPublish operation for an identity pool.
--
+--
-- This API can only be called with developer credentials. You cannot call
this API with the temporary user credentials provided by Cognito Identity.
+--
module Network.AWS.CognitoSync.GetBulkPublishDetails
(
-- * Creating a Request
@@ -59,7 +61,7 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'gbpdIdentityPoolId'
+-- * 'gbpdIdentityPoolId' - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID
generation is unique within a region.
getBulkPublishDetails
:: Text -- ^ 'gbpdIdentityPoolId'
-> GetBulkPublishDetails
@@ -126,17 +128,17 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'gbpdrsBulkPublishStartTime'
+-- * 'gbpdrsBulkPublishStartTime' - The date/time at which the last bulk
publish was initiated.
--
--- * 'gbpdrsIdentityPoolId'
+-- * 'gbpdrsIdentityPoolId' - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID
generation is unique within a region.
--
--- * 'gbpdrsBulkPublishCompleteTime'
+-- * 'gbpdrsBulkPublishCompleteTime' - If BulkPublishStatus is SUCCEEDED, the
time the last bulk publish operation completed.
--
--- * 'gbpdrsFailureMessage'
+-- * 'gbpdrsFailureMessage' - If BulkPublishStatus is FAILED this field will
contain the error message that caused the bulk publish to fail.
--
--- * 'gbpdrsBulkPublishStatus'
+-- * 'gbpdrsBulkPublishStatus' - Status of the last bulk publish operation,
valid values are: NOT_STARTED - No bulk publish has been requested for this
identity pool IN_PROGRESS - Data is being published to the configured stream
SUCCEEDED - All data for the identity pool has been published to the configured
stream FAILED - Some portion of the data has failed to publish, check
FailureMessage for the cause.
--
--- * 'gbpdrsResponseStatus'
+-- * 'gbpdrsResponseStatus' - -- | The response status code.
getBulkPublishDetailsResponse
:: Int -- ^ 'gbpdrsResponseStatus'
-> GetBulkPublishDetailsResponse
@@ -150,7 +152,7 @@
, _gbpdrsResponseStatus = pResponseStatus_
}
--- | The date\/time at which the last bulk publish was initiated.
+-- | The date/time at which the last bulk publish was initiated.
gbpdrsBulkPublishStartTime :: Lens' GetBulkPublishDetailsResponse (Maybe
UTCTime)
gbpdrsBulkPublishStartTime = lens _gbpdrsBulkPublishStartTime (\ s a ->
s{_gbpdrsBulkPublishStartTime = a}) . mapping _Time;
@@ -166,19 +168,11 @@
gbpdrsFailureMessage :: Lens' GetBulkPublishDetailsResponse (Maybe Text)
gbpdrsFailureMessage = lens _gbpdrsFailureMessage (\ s a ->
s{_gbpdrsFailureMessage = a});
--- | Status of the last bulk publish operation, valid values are:
---
--- NOT_STARTED - No bulk publish has been requested for this identity pool
---
--- IN_PROGRESS - Data is being published to the configured stream
---
--- SUCCEEDED - All data for the identity pool has been published to the
configured stream
---
--- FAILED - Some portion of the data has failed to publish, check
FailureMessage for the cause.
+-- | Status of the last bulk publish operation, valid values are: NOT_STARTED
- No bulk publish has been requested for this identity pool IN_PROGRESS - Data
is being published to the configured stream SUCCEEDED - All data for the
identity pool has been published to the configured stream FAILED - Some portion
of the data has failed to publish, check FailureMessage for the cause.
gbpdrsBulkPublishStatus :: Lens' GetBulkPublishDetailsResponse (Maybe
BulkPublishStatus)
gbpdrsBulkPublishStatus = lens _gbpdrsBulkPublishStatus (\ s a ->
s{_gbpdrsBulkPublishStatus = a});
--- | The response status code.
+-- | -- | The response status code.
gbpdrsResponseStatus :: Lens' GetBulkPublishDetailsResponse Int
gbpdrsResponseStatus = lens _gbpdrsResponseStatus (\ s a ->
s{_gbpdrsResponseStatus = a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/GetCognitoEvents.hs
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/GetCognitoEvents.hs
---
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/GetCognitoEvents.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/GetCognitoEvents.hs
2016-12-04 16:29:22.000000000 +0100
@@ -20,7 +20,9 @@
--
-- Gets the events and the corresponding Lambda functions associated with an
identity pool.
--
+--
-- This API can only be called with developer credentials. You cannot call
this API with the temporary user credentials provided by Cognito Identity.
+--
module Network.AWS.CognitoSync.GetCognitoEvents
(
-- * Creating a Request
@@ -46,6 +48,8 @@
-- | A request for a list of the configured Cognito Events
--
+--
+--
-- /See:/ 'getCognitoEvents' smart constructor.
newtype GetCognitoEvents = GetCognitoEvents'
{ _gceIdentityPoolId :: Text
@@ -55,7 +59,7 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'gceIdentityPoolId'
+-- * 'gceIdentityPoolId' - The Cognito Identity Pool ID for the request
getCognitoEvents
:: Text -- ^ 'gceIdentityPoolId'
-> GetCognitoEvents
@@ -99,6 +103,8 @@
-- | The response from the GetCognitoEvents request
--
+--
+--
-- /See:/ 'getCognitoEventsResponse' smart constructor.
data GetCognitoEventsResponse = GetCognitoEventsResponse'
{ _gcersEvents :: !(Maybe (Map Text Text))
@@ -109,9 +115,9 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'gcersEvents'
+-- * 'gcersEvents' - The Cognito Events returned from the GetCognitoEvents
request
--
--- * 'gcersResponseStatus'
+-- * 'gcersResponseStatus' - -- | The response status code.
getCognitoEventsResponse
:: Int -- ^ 'gcersResponseStatus'
-> GetCognitoEventsResponse
@@ -125,7 +131,7 @@
gcersEvents :: Lens' GetCognitoEventsResponse (HashMap Text Text)
gcersEvents = lens _gcersEvents (\ s a -> s{_gcersEvents = a}) . _Default .
_Map;
--- | The response status code.
+-- | -- | The response status code.
gcersResponseStatus :: Lens' GetCognitoEventsResponse Int
gcersResponseStatus = lens _gcersResponseStatus (\ s a ->
s{_gcersResponseStatus = a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/GetIdentityPoolConfiguration.hs
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/GetIdentityPoolConfiguration.hs
---
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/GetIdentityPoolConfiguration.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/GetIdentityPoolConfiguration.hs
2016-12-04 16:29:22.000000000 +0100
@@ -20,7 +20,9 @@
--
-- Gets the configuration settings of an identity pool.
--
+--
-- This API can only be called with developer credentials. You cannot call
this API with the temporary user credentials provided by Cognito Identity.
+--
module Network.AWS.CognitoSync.GetIdentityPoolConfiguration
(
-- * Creating a Request
@@ -48,6 +50,8 @@
-- | The input for the GetIdentityPoolConfiguration operation.
--
+--
+--
-- /See:/ 'getIdentityPoolConfiguration' smart constructor.
newtype GetIdentityPoolConfiguration = GetIdentityPoolConfiguration'
{ _gipcIdentityPoolId :: Text
@@ -57,7 +61,7 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'gipcIdentityPoolId'
+-- * 'gipcIdentityPoolId' - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. This
is the ID of the pool for which to return a configuration.
getIdentityPoolConfiguration
:: Text -- ^ 'gipcIdentityPoolId'
-> GetIdentityPoolConfiguration
@@ -105,6 +109,8 @@
-- | The output for the GetIdentityPoolConfiguration operation.
--
+--
+--
-- /See:/ 'getIdentityPoolConfigurationResponse' smart constructor.
data GetIdentityPoolConfigurationResponse =
GetIdentityPoolConfigurationResponse'
{ _gipcrsIdentityPoolId :: !(Maybe Text)
@@ -117,13 +123,13 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'gipcrsIdentityPoolId'
+-- * 'gipcrsIdentityPoolId' - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.
--
--- * 'gipcrsCognitoStreams'
+-- * 'gipcrsCognitoStreams' - Options to apply to this identity pool for
Amazon Cognito streams.
--
--- * 'gipcrsPushSync'
+-- * 'gipcrsPushSync' - Options to apply to this identity pool for push
synchronization.
--
--- * 'gipcrsResponseStatus'
+-- * 'gipcrsResponseStatus' - -- | The response status code.
getIdentityPoolConfigurationResponse
:: Int -- ^ 'gipcrsResponseStatus'
-> GetIdentityPoolConfigurationResponse
@@ -147,7 +153,7 @@
gipcrsPushSync :: Lens' GetIdentityPoolConfigurationResponse (Maybe PushSync)
gipcrsPushSync = lens _gipcrsPushSync (\ s a -> s{_gipcrsPushSync = a});
--- | The response status code.
+-- | -- | The response status code.
gipcrsResponseStatus :: Lens' GetIdentityPoolConfigurationResponse Int
gipcrsResponseStatus = lens _gipcrsResponseStatus (\ s a ->
s{_gipcrsResponseStatus = a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/ListDatasets.hs
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/ListDatasets.hs
--- old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/ListDatasets.hs
2016-06-09 21:31:27.000000000 +0200
+++ new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/ListDatasets.hs
2016-12-04 16:29:22.000000000 +0100
@@ -20,7 +20,9 @@
--
-- Lists datasets for an identity. With Amazon Cognito Sync, each identity has
access only to its own data. Thus, the credentials used to make this API call
need to have access to the identity data.
--
+--
-- ListDatasets can be called with temporary user credentials provided by
Cognito Identity or with developer credentials. You should use the Cognito
Identity credentials to make this API call.
+--
module Network.AWS.CognitoSync.ListDatasets
(
-- * Creating a Request
@@ -63,13 +65,13 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'ldNextToken'
+-- * 'ldNextToken' - A pagination token for obtaining the next page of results.
--
--- * 'ldMaxResults'
+-- * 'ldMaxResults' - The maximum number of results to be returned.
--
--- * 'ldIdentityId'
+-- * 'ldIdentityId' - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID
generation is unique within a region.
--
--- * 'ldIdentityPoolId'
+-- * 'ldIdentityPoolId' - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID
generation is unique within a region.
listDatasets
:: Text -- ^ 'ldIdentityId'
-> Text -- ^ 'ldIdentityPoolId'
@@ -146,13 +148,13 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'ldrsCount'
+-- * 'ldrsCount' - Number of datasets returned.
--
--- * 'ldrsNextToken'
+-- * 'ldrsNextToken' - A pagination token for obtaining the next page of
results.
--
--- * 'ldrsDatasets'
+-- * 'ldrsDatasets' - A set of datasets.
--
--- * 'ldrsResponseStatus'
+-- * 'ldrsResponseStatus' - -- | The response status code.
listDatasetsResponse
:: Int -- ^ 'ldrsResponseStatus'
-> ListDatasetsResponse
@@ -176,7 +178,7 @@
ldrsDatasets :: Lens' ListDatasetsResponse [Dataset]
ldrsDatasets = lens _ldrsDatasets (\ s a -> s{_ldrsDatasets = a}) . _Default .
_Coerce;
--- | The response status code.
+-- | -- | The response status code.
ldrsResponseStatus :: Lens' ListDatasetsResponse Int
ldrsResponseStatus = lens _ldrsResponseStatus (\ s a -> s{_ldrsResponseStatus
= a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/ListIdentityPoolUsage.hs
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/ListIdentityPoolUsage.hs
---
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/ListIdentityPoolUsage.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/ListIdentityPoolUsage.hs
2016-12-04 16:29:22.000000000 +0100
@@ -20,7 +20,9 @@
--
-- Gets a list of identity pools registered with Cognito.
--
+--
-- ListIdentityPoolUsage can only be called with developer credentials. You
cannot make this API call with the temporary user credentials provided by
Cognito Identity.
+--
module Network.AWS.CognitoSync.ListIdentityPoolUsage
(
-- * Creating a Request
@@ -60,9 +62,9 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'lipuNextToken'
+-- * 'lipuNextToken' - A pagination token for obtaining the next page of
results.
--
--- * 'lipuMaxResults'
+-- * 'lipuMaxResults' - The maximum number of results to be returned.
listIdentityPoolUsage
:: ListIdentityPoolUsage
listIdentityPoolUsage =
@@ -128,15 +130,15 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'lipursIdentityPoolUsages'
+-- * 'lipursIdentityPoolUsages' - Usage information for the identity pools.
--
--- * 'lipursCount'
+-- * 'lipursCount' - Total number of identities for the identity pool.
--
--- * 'lipursNextToken'
+-- * 'lipursNextToken' - A pagination token for obtaining the next page of
results.
--
--- * 'lipursMaxResults'
+-- * 'lipursMaxResults' - The maximum number of results to be returned.
--
--- * 'lipursResponseStatus'
+-- * 'lipursResponseStatus' - -- | The response status code.
listIdentityPoolUsageResponse
:: Int -- ^ 'lipursResponseStatus'
-> ListIdentityPoolUsageResponse
@@ -165,7 +167,7 @@
lipursMaxResults :: Lens' ListIdentityPoolUsageResponse (Maybe Int)
lipursMaxResults = lens _lipursMaxResults (\ s a -> s{_lipursMaxResults = a});
--- | The response status code.
+-- | -- | The response status code.
lipursResponseStatus :: Lens' ListIdentityPoolUsageResponse Int
lipursResponseStatus = lens _lipursResponseStatus (\ s a ->
s{_lipursResponseStatus = a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/ListRecords.hs
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/ListRecords.hs
--- old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/ListRecords.hs
2016-06-09 21:31:27.000000000 +0200
+++ new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/ListRecords.hs
2016-12-04 16:29:22.000000000 +0100
@@ -20,7 +20,9 @@
--
-- Gets paginated records, optionally changed after a particular sync count
for a dataset and identity. With Amazon Cognito Sync, each identity has access
only to its own data. Thus, the credentials used to make this API call need to
have access to the identity data.
--
+--
-- ListRecords can be called with temporary user credentials provided by
Cognito Identity or with developer credentials. You should use Cognito Identity
credentials to make this API call.
+--
module Network.AWS.CognitoSync.ListRecords
(
-- * Creating a Request
@@ -75,19 +77,19 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'lrLastSyncCount'
+-- * 'lrLastSyncCount' - The last server sync count for this record.
--
--- * 'lrNextToken'
+-- * 'lrNextToken' - A pagination token for obtaining the next page of results.
--
--- * 'lrSyncSessionToken'
+-- * 'lrSyncSessionToken' - A token containing a session ID, identity ID, and
expiration.
--
--- * 'lrMaxResults'
+-- * 'lrMaxResults' - The maximum number of results to be returned.
--
--- * 'lrIdentityPoolId'
+-- * 'lrIdentityPoolId' - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID
generation is unique within a region.
--
--- * 'lrIdentityId'
+-- * 'lrIdentityId' - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID
generation is unique within a region.
--
--- * 'lrDatasetName'
+-- * 'lrDatasetName' - A string of up to 128 characters. Allowed characters
are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot).
listRecords
:: Text -- ^ 'lrIdentityPoolId'
-> Text -- ^ 'lrIdentityId'
@@ -128,7 +130,7 @@
lrIdentityId :: Lens' ListRecords Text
lrIdentityId = lens _lrIdentityId (\ s a -> s{_lrIdentityId = a});
--- | A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9,
\'_\' (underscore), \'-\' (dash), and \'.\' (dot).
+-- | A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9,
'_' (underscore), '-' (dash), and '.' (dot).
lrDatasetName :: Lens' ListRecords Text
lrDatasetName = lens _lrDatasetName (\ s a -> s{_lrDatasetName = a});
@@ -196,25 +198,25 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'lrrsDatasetDeletedAfterRequestedSyncCount'
+-- * 'lrrsDatasetDeletedAfterRequestedSyncCount' - A boolean value specifying
whether to delete the dataset locally.
--
--- * 'lrrsDatasetExists'
+-- * 'lrrsDatasetExists' - Indicates whether the dataset exists.
--
--- * 'lrrsCount'
+-- * 'lrrsCount' - Total number of records.
--
--- * 'lrrsRecords'
+-- * 'lrrsRecords' - A list of all records.
--
--- * 'lrrsNextToken'
+-- * 'lrrsNextToken' - A pagination token for obtaining the next page of
results.
--
--- * 'lrrsMergedDatasetNames'
+-- * 'lrrsMergedDatasetNames' - Names of merged datasets.
--
--- * 'lrrsSyncSessionToken'
+-- * 'lrrsSyncSessionToken' - A token containing a session ID, identity ID,
and expiration.
--
--- * 'lrrsLastModifiedBy'
+-- * 'lrrsLastModifiedBy' - The user/device that made the last change to this
record.
--
--- * 'lrrsDatasetSyncCount'
+-- * 'lrrsDatasetSyncCount' - Server sync count for this dataset.
--
--- * 'lrrsResponseStatus'
+-- * 'lrrsResponseStatus' - -- | The response status code.
listRecordsResponse
:: Int -- ^ 'lrrsResponseStatus'
-> ListRecordsResponse
@@ -260,7 +262,7 @@
lrrsSyncSessionToken :: Lens' ListRecordsResponse (Maybe Text)
lrrsSyncSessionToken = lens _lrrsSyncSessionToken (\ s a ->
s{_lrrsSyncSessionToken = a});
--- | The user\/device that made the last change to this record.
+-- | The user/device that made the last change to this record.
lrrsLastModifiedBy :: Lens' ListRecordsResponse (Maybe Text)
lrrsLastModifiedBy = lens _lrrsLastModifiedBy (\ s a -> s{_lrrsLastModifiedBy
= a});
@@ -268,7 +270,7 @@
lrrsDatasetSyncCount :: Lens' ListRecordsResponse (Maybe Integer)
lrrsDatasetSyncCount = lens _lrrsDatasetSyncCount (\ s a ->
s{_lrrsDatasetSyncCount = a});
--- | The response status code.
+-- | -- | The response status code.
lrrsResponseStatus :: Lens' ListRecordsResponse Int
lrrsResponseStatus = lens _lrrsResponseStatus (\ s a -> s{_lrrsResponseStatus
= a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/RegisterDevice.hs
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/RegisterDevice.hs
---
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/RegisterDevice.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/RegisterDevice.hs
2016-12-04 16:29:22.000000000 +0100
@@ -20,7 +20,9 @@
--
-- Registers a device to receive push sync notifications.
--
+--
-- This API can only be called with temporary credentials provided by Cognito
Identity. You cannot call this API with developer credentials.
+--
module Network.AWS.CognitoSync.RegisterDevice
(
-- * Creating a Request
@@ -49,6 +51,8 @@
-- | A request to RegisterDevice.
--
+--
+--
-- /See:/ 'registerDevice' smart constructor.
data RegisterDevice = RegisterDevice'
{ _rdIdentityPoolId :: !Text
@@ -61,13 +65,13 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'rdIdentityPoolId'
+-- * 'rdIdentityPoolId' - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.
Here, the ID of the pool that the identity belongs to.
--
--- * 'rdIdentityId'
+-- * 'rdIdentityId' - The unique ID for this identity.
--
--- * 'rdPlatform'
+-- * 'rdPlatform' - The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).
--
--- * 'rdToken'
+-- * 'rdToken' - The push token.
registerDevice
:: Text -- ^ 'rdIdentityPoolId'
-> Text -- ^ 'rdIdentityId'
@@ -136,6 +140,8 @@
-- | Response to a RegisterDevice request.
--
+--
+--
-- /See:/ 'registerDeviceResponse' smart constructor.
data RegisterDeviceResponse = RegisterDeviceResponse'
{ _rdrsDeviceId :: !(Maybe Text)
@@ -146,9 +152,9 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'rdrsDeviceId'
+-- * 'rdrsDeviceId' - The unique ID generated for this device by Cognito.
--
--- * 'rdrsResponseStatus'
+-- * 'rdrsResponseStatus' - -- | The response status code.
registerDeviceResponse
:: Int -- ^ 'rdrsResponseStatus'
-> RegisterDeviceResponse
@@ -162,7 +168,7 @@
rdrsDeviceId :: Lens' RegisterDeviceResponse (Maybe Text)
rdrsDeviceId = lens _rdrsDeviceId (\ s a -> s{_rdrsDeviceId = a});
--- | The response status code.
+-- | -- | The response status code.
rdrsResponseStatus :: Lens' RegisterDeviceResponse Int
rdrsResponseStatus = lens _rdrsResponseStatus (\ s a -> s{_rdrsResponseStatus
= a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/SetCognitoEvents.hs
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/SetCognitoEvents.hs
---
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/SetCognitoEvents.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/SetCognitoEvents.hs
2016-12-04 16:29:22.000000000 +0100
@@ -18,9 +18,11 @@
-- Stability : auto-generated
-- Portability : non-portable (GHC extensions)
--
--- Sets the AWS Lambda function for a given event type for an identity pool.
This request only updates the key\/value pair specified. Other key\/values
pairs are not updated. To remove a key value pair, pass a empty value for the
particular key.
+-- Sets the AWS Lambda function for a given event type for an identity pool.
This request only updates the key/value pair specified. Other key/values pairs
are not updated. To remove a key value pair, pass a empty value for the
particular key.
+--
--
-- This API can only be called with developer credentials. You cannot call
this API with the temporary user credentials provided by Cognito Identity.
+--
module Network.AWS.CognitoSync.SetCognitoEvents
(
-- * Creating a Request
@@ -42,9 +44,9 @@
import Network.AWS.Request
import Network.AWS.Response
--- | A request to configure Cognito Events\"
+-- | A request to configure Cognito Events"
+--
--
--- \"
--
-- /See:/ 'setCognitoEvents' smart constructor.
data SetCognitoEvents = SetCognitoEvents'
@@ -56,9 +58,9 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'sceIdentityPoolId'
+-- * 'sceIdentityPoolId' - The Cognito Identity Pool to use when configuring
Cognito Events
--
--- * 'sceEvents'
+-- * 'sceEvents' - The events to configure
setCognitoEvents
:: Text -- ^ 'sceIdentityPoolId'
-> SetCognitoEvents
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/SetIdentityPoolConfiguration.hs
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/SetIdentityPoolConfiguration.hs
---
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/SetIdentityPoolConfiguration.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/SetIdentityPoolConfiguration.hs
2016-12-04 16:29:22.000000000 +0100
@@ -20,7 +20,9 @@
--
-- Sets the necessary configuration for push sync.
--
+--
-- This API can only be called with developer credentials. You cannot call
this API with the temporary user credentials provided by Cognito Identity.
+--
module Network.AWS.CognitoSync.SetIdentityPoolConfiguration
(
-- * Creating a Request
@@ -50,6 +52,8 @@
-- | The input for the SetIdentityPoolConfiguration operation.
--
+--
+--
-- /See:/ 'setIdentityPoolConfiguration' smart constructor.
data SetIdentityPoolConfiguration = SetIdentityPoolConfiguration'
{ _sipcCognitoStreams :: !(Maybe CognitoStreams)
@@ -61,11 +65,11 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'sipcCognitoStreams'
+-- * 'sipcCognitoStreams' - Options to apply to this identity pool for Amazon
Cognito streams.
--
--- * 'sipcPushSync'
+-- * 'sipcPushSync' - Options to apply to this identity pool for push
synchronization.
--
--- * 'sipcIdentityPoolId'
+-- * 'sipcIdentityPoolId' - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. This
is the ID of the pool to modify.
setIdentityPoolConfiguration
:: Text -- ^ 'sipcIdentityPoolId'
-> SetIdentityPoolConfiguration
@@ -130,6 +134,8 @@
-- | The output for the SetIdentityPoolConfiguration operation
--
+--
+--
-- /See:/ 'setIdentityPoolConfigurationResponse' smart constructor.
data SetIdentityPoolConfigurationResponse =
SetIdentityPoolConfigurationResponse'
{ _sipcrsIdentityPoolId :: !(Maybe Text)
@@ -142,13 +148,13 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'sipcrsIdentityPoolId'
+-- * 'sipcrsIdentityPoolId' - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.
--
--- * 'sipcrsCognitoStreams'
+-- * 'sipcrsCognitoStreams' - Options to apply to this identity pool for
Amazon Cognito streams.
--
--- * 'sipcrsPushSync'
+-- * 'sipcrsPushSync' - Options to apply to this identity pool for push
synchronization.
--
--- * 'sipcrsResponseStatus'
+-- * 'sipcrsResponseStatus' - -- | The response status code.
setIdentityPoolConfigurationResponse
:: Int -- ^ 'sipcrsResponseStatus'
-> SetIdentityPoolConfigurationResponse
@@ -172,7 +178,7 @@
sipcrsPushSync :: Lens' SetIdentityPoolConfigurationResponse (Maybe PushSync)
sipcrsPushSync = lens _sipcrsPushSync (\ s a -> s{_sipcrsPushSync = a});
--- | The response status code.
+-- | -- | The response status code.
sipcrsResponseStatus :: Lens' SetIdentityPoolConfigurationResponse Int
sipcrsResponseStatus = lens _sipcrsResponseStatus (\ s a ->
s{_sipcrsResponseStatus = a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/SubscribeToDataset.hs
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/SubscribeToDataset.hs
---
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/SubscribeToDataset.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/SubscribeToDataset.hs
2016-12-04 16:29:22.000000000 +0100
@@ -20,7 +20,9 @@
--
-- Subscribes to receive notifications when a dataset is modified by another
device.
--
+--
-- This API can only be called with temporary credentials provided by Cognito
Identity. You cannot call this API with developer credentials.
+--
module Network.AWS.CognitoSync.SubscribeToDataset
(
-- * Creating a Request
@@ -48,6 +50,8 @@
-- | A request to SubscribeToDatasetRequest.
--
+--
+--
-- /See:/ 'subscribeToDataset' smart constructor.
data SubscribeToDataset = SubscribeToDataset'
{ _stdIdentityPoolId :: !Text
@@ -60,13 +64,13 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'stdIdentityPoolId'
+-- * 'stdIdentityPoolId' - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. The
ID of the pool to which the identity belongs.
--
--- * 'stdIdentityId'
+-- * 'stdIdentityId' - Unique ID for this identity.
--
--- * 'stdDatasetName'
+-- * 'stdDatasetName' - The name of the dataset to subcribe to.
--
--- * 'stdDeviceId'
+-- * 'stdDeviceId' - The unique ID generated for this device by Cognito.
subscribeToDataset
:: Text -- ^ 'stdIdentityPoolId'
-> Text -- ^ 'stdIdentityId'
@@ -133,6 +137,8 @@
-- | Response to a SubscribeToDataset request.
--
+--
+--
-- /See:/ 'subscribeToDatasetResponse' smart constructor.
newtype SubscribeToDatasetResponse = SubscribeToDatasetResponse'
{ _stdrsResponseStatus :: Int
@@ -142,7 +148,7 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'stdrsResponseStatus'
+-- * 'stdrsResponseStatus' - -- | The response status code.
subscribeToDatasetResponse
:: Int -- ^ 'stdrsResponseStatus'
-> SubscribeToDatasetResponse
@@ -151,7 +157,7 @@
{ _stdrsResponseStatus = pResponseStatus_
}
--- | The response status code.
+-- | -- | The response status code.
stdrsResponseStatus :: Lens' SubscribeToDatasetResponse Int
stdrsResponseStatus = lens _stdrsResponseStatus (\ s a ->
s{_stdrsResponseStatus = a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/Types/Product.hs
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/Types/Product.hs
---
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/Types/Product.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/Types/Product.hs
2016-12-04 16:29:22.000000000 +0100
@@ -34,11 +34,11 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'csStreamingStatus'
+-- * 'csStreamingStatus' - Status of the Cognito streams. Valid values are:
ENABLED - Streaming of updates to identity pool is enabled. DISABLED -
Streaming of updates to identity pool is disabled. Bulk publish will also fail
if StreamingStatus is DISABLED.
--
--- * 'csStreamName'
+-- * 'csStreamName' - The name of the Cognito stream to receive updates. This
stream must be in the developers account and in the same region as the identity
pool.
--
--- * 'csRoleARN'
+-- * 'csRoleARN' - The ARN of the role Amazon Cognito can assume in order to
publish to the stream. This role must grant access to Amazon Cognito
(cognito-sync) to invoke PutRecord on your Cognito stream.
cognitoStreams
:: CognitoStreams
cognitoStreams =
@@ -48,11 +48,7 @@
, _csRoleARN = Nothing
}
--- | Status of the Cognito streams. Valid values are:
---
--- ENABLED - Streaming of updates to identity pool is enabled.
---
--- DISABLED - Streaming of updates to identity pool is disabled. Bulk publish
will also fail if StreamingStatus is DISABLED.
+-- | Status of the Cognito streams. Valid values are: ENABLED - Streaming of
updates to identity pool is enabled. DISABLED - Streaming of updates to
identity pool is disabled. Bulk publish will also fail if StreamingStatus is
DISABLED.
csStreamingStatus :: Lens' CognitoStreams (Maybe StreamingStatus)
csStreamingStatus = lens _csStreamingStatus (\ s a -> s{_csStreamingStatus =
a});
@@ -84,7 +80,7 @@
("StreamName" .=) <$> _csStreamName,
("RoleArn" .=) <$> _csRoleARN])
--- | A collection of data for an identity pool. An identity pool can have
multiple datasets. A dataset is per identity and can be general or associated
with a particular entity in an application (like a saved game). Datasets are
automatically created if they don\'t exist. Data is synced by dataset, and a
dataset can hold up to 1MB of key-value pairs.
+-- | A collection of data for an identity pool. An identity pool can have
multiple datasets. A dataset is per identity and can be general or associated
with a particular entity in an application (like a saved game). Datasets are
automatically created if they don't exist. Data is synced by dataset, and a
dataset can hold up to 1MB of key-value pairs.
--
-- /See:/ 'dataset' smart constructor.
data Dataset = Dataset'
@@ -101,19 +97,19 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'dLastModifiedDate'
+-- * 'dLastModifiedDate' - Date when the dataset was last modified.
--
--- * 'dNumRecords'
+-- * 'dNumRecords' - Number of records in this dataset.
--
--- * 'dDataStorage'
+-- * 'dDataStorage' - Total size in bytes of the records in this dataset.
--
--- * 'dDatasetName'
+-- * 'dDatasetName' - A string of up to 128 characters. Allowed characters are
a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot).
--
--- * 'dCreationDate'
+-- * 'dCreationDate' - Date on which the dataset was created.
--
--- * 'dLastModifiedBy'
+-- * 'dLastModifiedBy' - The device that made the last change to this dataset.
--
--- * 'dIdentityId'
+-- * 'dIdentityId' - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID
generation is unique within a region.
dataset
:: Dataset
dataset =
@@ -139,7 +135,7 @@
dDataStorage :: Lens' Dataset (Maybe Integer)
dDataStorage = lens _dDataStorage (\ s a -> s{_dDataStorage = a});
--- | A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9,
\'_\' (underscore), \'-\' (dash), and \'.\' (dot).
+-- | A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9,
'_' (underscore), '-' (dash), and '.' (dot).
dDatasetName :: Lens' Dataset (Maybe Text)
dDatasetName = lens _dDatasetName (\ s a -> s{_dDatasetName = a});
@@ -185,13 +181,13 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'ipuLastModifiedDate'
+-- * 'ipuLastModifiedDate' - Date on which the identity pool was last modified.
--
--- * 'ipuIdentityPoolId'
+-- * 'ipuIdentityPoolId' - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID
generation is unique within a region.
--
--- * 'ipuDataStorage'
+-- * 'ipuDataStorage' - Data storage information for the identity pool.
--
--- * 'ipuSyncSessionsCount'
+-- * 'ipuSyncSessionsCount' - Number of sync sessions for the identity pool.
identityPoolUsage
:: IdentityPoolUsage
identityPoolUsage =
@@ -247,15 +243,15 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'iuLastModifiedDate'
+-- * 'iuLastModifiedDate' - Date on which the identity was last modified.
--
--- * 'iuIdentityPoolId'
+-- * 'iuIdentityPoolId' - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID
generation is unique within a region.
--
--- * 'iuDatasetCount'
+-- * 'iuDatasetCount' - Number of datasets for the identity.
--
--- * 'iuDataStorage'
+-- * 'iuDataStorage' - Total data storage for this identity.
--
--- * 'iuIdentityId'
+-- * 'iuIdentityId' - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID
generation is unique within a region.
identityUsage
:: IdentityUsage
identityUsage =
@@ -304,6 +300,8 @@
-- | Configuration options to be applied to the identity pool.
--
+--
+--
-- /See:/ 'pushSync' smart constructor.
data PushSync = PushSync'
{ _psApplicationARNs :: !(Maybe [Text])
@@ -314,9 +312,9 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'psApplicationARNs'
+-- * 'psApplicationARNs' - List of SNS platform application ARNs that could be
used by clients.
--
--- * 'psRoleARN'
+-- * 'psRoleARN' - A role configured to allow Cognito to call SNS on behalf of
the developer.
pushSync
:: PushSync
pushSync =
@@ -368,17 +366,17 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'rSyncCount'
+-- * 'rSyncCount' - The server sync count for this record.
--
--- * 'rDeviceLastModifiedDate'
+-- * 'rDeviceLastModifiedDate' - The last modified date of the client device.
--
--- * 'rLastModifiedDate'
+-- * 'rLastModifiedDate' - The date on which the record was last modified.
--
--- * 'rValue'
+-- * 'rValue' - The value for the record.
--
--- * 'rKey'
+-- * 'rKey' - The key for the record.
--
--- * 'rLastModifiedBy'
+-- * 'rLastModifiedBy' - The user/device that made the last change to this
record.
record
:: Record
record =
@@ -411,7 +409,7 @@
rKey :: Lens' Record (Maybe Text)
rKey = lens _rKey (\ s a -> s{_rKey = a});
--- | The user\/device that made the last change to this record.
+-- | The user/device that made the last change to this record.
rLastModifiedBy :: Lens' Record (Maybe Text)
rLastModifiedBy = lens _rLastModifiedBy (\ s a -> s{_rLastModifiedBy = a});
@@ -446,15 +444,15 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'rpDeviceLastModifiedDate'
+-- * 'rpDeviceLastModifiedDate' - The last modified date of the client device.
--
--- * 'rpValue'
+-- * 'rpValue' - The value associated with the record patch.
--
--- * 'rpOp'
+-- * 'rpOp' - An operation, either replace or remove.
--
--- * 'rpKey'
+-- * 'rpKey' - The key associated with the record patch.
--
--- * 'rpSyncCount'
+-- * 'rpSyncCount' - Last known server sync count for this record. Set to 0 if
unknown.
recordPatch
:: Operation -- ^ 'rpOp'
-> Text -- ^ 'rpKey'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/Types/Sum.hs
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/Types/Sum.hs
--- old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/Types/Sum.hs
2016-06-09 21:31:27.000000000 +0200
+++ new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/Types/Sum.hs
2016-12-04 16:29:22.000000000 +0100
@@ -33,7 +33,7 @@
"not_started" -> pure NotStarted
"succeeded" -> pure Succeeded
e -> fromTextError $ "Failure parsing BulkPublishStatus from value: '"
<> e
- <> "'. Accepted values: FAILED, IN_PROGRESS, NOT_STARTED, SUCCEEDED"
+ <> "'. Accepted values: failed, in_progress, not_started, succeeded"
instance ToText BulkPublishStatus where
toText = \case
@@ -91,7 +91,7 @@
"apns_sandbox" -> pure APNSSandbox
"gcm" -> pure GCM
e -> fromTextError $ "Failure parsing Platform from value: '" <> e
- <> "'. Accepted values: ADM, APNS, APNS_SANDBOX, GCM"
+ <> "'. Accepted values: adm, apns, apns_sandbox, gcm"
instance ToText Platform where
toText = \case
@@ -119,7 +119,7 @@
"disabled" -> pure Disabled
"enabled" -> pure Enabled
e -> fromTextError $ "Failure parsing StreamingStatus from value: '"
<> e
- <> "'. Accepted values: DISABLED, ENABLED"
+ <> "'. Accepted values: disabled, enabled"
instance ToText StreamingStatus where
toText = \case
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/Types.hs
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/Types.hs
--- old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/Types.hs
2016-06-09 21:31:27.000000000 +0200
+++ new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/Types.hs
2016-12-04 16:29:22.000000000 +0100
@@ -109,7 +109,7 @@
import Network.AWS.Prelude
import Network.AWS.Sign.V4
--- | API version '2014-06-30' of the Amazon Cognito Sync SDK configuration.
+-- | API version @2014-06-30@ of the Amazon Cognito Sync SDK configuration.
cognitoSync :: Service
cognitoSync =
Service
@@ -169,6 +169,8 @@
_ServiceError . hasStatus 400 . hasCode "DuplicateRequest"
-- | AWS Lambda throttled your account, please contact AWS Support
+--
+--
_LambdaThrottledException :: AsError a => Getting (First ServiceError) a
ServiceError
_LambdaThrottledException =
_ServiceError . hasStatus 429 . hasCode "LambdaThrottled"
@@ -179,6 +181,8 @@
_ServiceError . hasStatus 400 . hasCode "AlreadyStreamed"
-- | The AWS Lambda function returned invalid output or an exception.
+--
+--
_InvalidLambdaFunctionOutputException :: AsError a => Getting (First
ServiceError) a ServiceError
_InvalidLambdaFunctionOutputException =
_ServiceError . hasStatus 400 . hasCode "InvalidLambdaFunctionOutput"
@@ -189,16 +193,18 @@
_ServiceError . hasStatus 429 . hasCode "TooManyRequests"
-- | Thrown if there are parallel requests to modify a resource.
+--
+--
_ConcurrentModificationException :: AsError a => Getting (First ServiceError)
a ServiceError
_ConcurrentModificationException =
_ServiceError . hasStatus 400 . hasCode "ConcurrentModification"
--- | Thrown if an update can\'t be applied because the resource was changed by
another call and this would result in a conflict.
+-- | Thrown if an update can't be applied because the resource was changed by
another call and this would result in a conflict.
_ResourceConflictException :: AsError a => Getting (First ServiceError) a
ServiceError
_ResourceConflictException =
_ServiceError . hasStatus 409 . hasCode "ResourceConflict"
--- | Thrown if the resource doesn\'t exist.
+-- | Thrown if the resource doesn't exist.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a
ServiceError
_ResourceNotFoundException =
_ServiceError . hasStatus 404 . hasCode "ResourceNotFound"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/UnsubscribeFromDataset.hs
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/UnsubscribeFromDataset.hs
---
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/UnsubscribeFromDataset.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/UnsubscribeFromDataset.hs
2016-12-04 16:29:22.000000000 +0100
@@ -20,7 +20,9 @@
--
-- Unsubscribes from receiving notifications when a dataset is modified by
another device.
--
+--
-- This API can only be called with temporary credentials provided by Cognito
Identity. You cannot call this API with developer credentials.
+--
module Network.AWS.CognitoSync.UnsubscribeFromDataset
(
-- * Creating a Request
@@ -48,6 +50,8 @@
-- | A request to UnsubscribeFromDataset.
--
+--
+--
-- /See:/ 'unsubscribeFromDataset' smart constructor.
data UnsubscribeFromDataset = UnsubscribeFromDataset'
{ _ufdIdentityPoolId :: !Text
@@ -60,13 +64,13 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'ufdIdentityPoolId'
+-- * 'ufdIdentityPoolId' - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. The
ID of the pool to which this identity belongs.
--
--- * 'ufdIdentityId'
+-- * 'ufdIdentityId' - Unique ID for this identity.
--
--- * 'ufdDatasetName'
+-- * 'ufdDatasetName' - The name of the dataset from which to unsubcribe.
--
--- * 'ufdDeviceId'
+-- * 'ufdDeviceId' - The unique ID generated for this device by Cognito.
unsubscribeFromDataset
:: Text -- ^ 'ufdIdentityPoolId'
-> Text -- ^ 'ufdIdentityId'
@@ -131,6 +135,8 @@
-- | Response to an UnsubscribeFromDataset request.
--
+--
+--
-- /See:/ 'unsubscribeFromDatasetResponse' smart constructor.
newtype UnsubscribeFromDatasetResponse = UnsubscribeFromDatasetResponse'
{ _ufdrsResponseStatus :: Int
@@ -140,7 +146,7 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'ufdrsResponseStatus'
+-- * 'ufdrsResponseStatus' - -- | The response status code.
unsubscribeFromDatasetResponse
:: Int -- ^ 'ufdrsResponseStatus'
-> UnsubscribeFromDatasetResponse
@@ -149,7 +155,7 @@
{ _ufdrsResponseStatus = pResponseStatus_
}
--- | The response status code.
+-- | -- | The response status code.
ufdrsResponseStatus :: Lens' UnsubscribeFromDatasetResponse Int
ufdrsResponseStatus = lens _ufdrsResponseStatus (\ s a ->
s{_ufdrsResponseStatus = a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/UpdateRecords.hs
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/UpdateRecords.hs
---
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync/UpdateRecords.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync/UpdateRecords.hs
2016-12-04 16:29:22.000000000 +0100
@@ -20,11 +20,13 @@
--
-- Posts updates to records and adds and deletes records for a dataset and
user.
--
+--
-- The sync count in the record patch is your last known sync count for that
record. The server will reject an UpdateRecords request with a
ResourceConflictException if you try to patch a record with a new value but a
stale sync count.
--
-- For example, if the sync count on the server is 5 for a key called
highScore and you try and submit a new highScore with sync count of 4, the
request will be rejected. To obtain the current sync count for a record, call
ListRecords. On a successful update of the record, the response returns the new
sync count for that record. You should present that sync count the next time
you try to update that same record. When the record does not exist, specify the
sync count as 0.
--
-- This API can be called with temporary user credentials provided by Cognito
Identity or with developer credentials.
+--
module Network.AWS.CognitoSync.UpdateRecords
(
-- * Creating a Request
@@ -71,19 +73,19 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'urRecordPatches'
+-- * 'urRecordPatches' - A list of patch operations.
--
--- * 'urDeviceId'
+-- * 'urDeviceId' - The unique ID generated for this device by Cognito.
--
--- * 'urClientContext'
+-- * 'urClientContext' - Intended to supply a device ID that will populate the
lastModifiedBy field referenced in other methods. The ClientContext field is
not yet implemented.
--
--- * 'urIdentityPoolId'
+-- * 'urIdentityPoolId' - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID
generation is unique within a region.
--
--- * 'urIdentityId'
+-- * 'urIdentityId' - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID
generation is unique within a region.
--
--- * 'urDatasetName'
+-- * 'urDatasetName' - A string of up to 128 characters. Allowed characters
are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot).
--
--- * 'urSyncSessionToken'
+-- * 'urSyncSessionToken' - The SyncSessionToken returned by a previous call
to ListRecords for this dataset and identity.
updateRecords
:: Text -- ^ 'urIdentityPoolId'
-> Text -- ^ 'urIdentityId'
@@ -121,7 +123,7 @@
urIdentityId :: Lens' UpdateRecords Text
urIdentityId = lens _urIdentityId (\ s a -> s{_urIdentityId = a});
--- | A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9,
\'_\' (underscore), \'-\' (dash), and \'.\' (dot).
+-- | A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9,
'_' (underscore), '-' (dash), and '.' (dot).
urDatasetName :: Lens' UpdateRecords Text
urDatasetName = lens _urDatasetName (\ s a -> s{_urDatasetName = a});
@@ -179,9 +181,9 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'urrsRecords'
+-- * 'urrsRecords' - A list of records that have been updated.
--
--- * 'urrsResponseStatus'
+-- * 'urrsResponseStatus' - -- | The response status code.
updateRecordsResponse
:: Int -- ^ 'urrsResponseStatus'
-> UpdateRecordsResponse
@@ -195,7 +197,7 @@
urrsRecords :: Lens' UpdateRecordsResponse [Record]
urrsRecords = lens _urrsRecords (\ s a -> s{_urrsRecords = a}) . _Default .
_Coerce;
--- | The response status code.
+-- | -- | The response status code.
urrsResponseStatus :: Lens' UpdateRecordsResponse Int
urrsResponseStatus = lens _urrsResponseStatus (\ s a -> s{_urrsResponseStatus
= a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync.hs
new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync.hs
--- old/amazonka-cognito-sync-1.4.3/gen/Network/AWS/CognitoSync.hs
2016-06-09 21:31:27.000000000 +0200
+++ new/amazonka-cognito-sync-1.4.5/gen/Network/AWS/CognitoSync.hs
2016-12-04 16:29:22.000000000 +0100
@@ -11,13 +11,14 @@
-- Stability : auto-generated
-- Portability : non-portable (GHC extensions)
--
--- Amazon Cognito Sync
+-- __Amazon Cognito Sync__
--
--- Amazon Cognito Sync provides an AWS service and client library that enable
cross-device syncing of application-related user data. High-level client
libraries are available for both iOS and Android. You can use these libraries
to persist data locally so that it\'s available even if the device is offline.
Developer credentials don\'t need to be stored on the mobile device to access
the service. You can use Amazon Cognito to obtain a normalized user ID and
credentials. User data is persisted in a dataset that can store up to 1 MB of
key-value pairs, and you can have up to 20 datasets per user identity.
+-- Amazon Cognito Sync provides an AWS service and client library that enable
cross-device syncing of application-related user data. High-level client
libraries are available for both iOS and Android. You can use these libraries
to persist data locally so that it's available even if the device is offline.
Developer credentials don't need to be stored on the mobile device to access
the service. You can use Amazon Cognito to obtain a normalized user ID and
credentials. User data is persisted in a dataset that can store up to 1 MB of
key-value pairs, and you can have up to 20 datasets per user identity.
--
--- With Amazon Cognito Sync, the data stored for each identity is accessible
only to credentials assigned to that identity. In order to use the Cognito Sync
service, you need to make API calls using credentials retrieved with
<http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/Welcome.html
Amazon Cognito Identity service>.
+-- With Amazon Cognito Sync, the data stored for each identity is accessible
only to credentials assigned to that identity. In order to use the Cognito Sync
service, you need to make API calls using credentials retrieved with
<http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/Welcome.html
Amazon Cognito Identity service> .
+--
+-- If you want to use Cognito Sync in an Android or iOS application, you will
probably want to make API calls via the AWS Mobile SDK. To learn more, see the
<http://docs.aws.amazon.com/mobile/sdkforandroid/developerguide/cognito-sync.html
Developer Guide for Android> and the
<http://docs.aws.amazon.com/mobile/sdkforios/developerguide/cognito-sync.html
Developer Guide for iOS> .
--
--- If you want to use Cognito Sync in an Android or iOS application, you will
probably want to make API calls via the AWS Mobile SDK. To learn more, see the
<http://docs.aws.amazon.com/mobile/sdkforandroid/developerguide/cognito-sync.html
Developer Guide for Android> and the
<http://docs.aws.amazon.com/mobile/sdkforios/developerguide/cognito-sync.html
Developer Guide for iOS>.
module Network.AWS.CognitoSync
(
-- * Service Configuration