amazonka-cognito-sync 1.3.7 → 1.4.0
raw patch · 28 files changed
+84/−71 lines, 28 filesdep ~amazonka-cognito-syncdep ~amazonka-coredep ~amazonka-testPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: amazonka-cognito-sync, amazonka-core, amazonka-test
API changes (from Hackage documentation)
+ Network.AWS.CognitoSync.BulkPublish: instance Data.Hashable.Class.Hashable Network.AWS.CognitoSync.BulkPublish.BulkPublish
+ Network.AWS.CognitoSync.DeleteDataset: instance Data.Hashable.Class.Hashable Network.AWS.CognitoSync.DeleteDataset.DeleteDataset
+ Network.AWS.CognitoSync.DescribeDataset: instance Data.Hashable.Class.Hashable Network.AWS.CognitoSync.DescribeDataset.DescribeDataset
+ Network.AWS.CognitoSync.DescribeIdentityPoolUsage: instance Data.Hashable.Class.Hashable Network.AWS.CognitoSync.DescribeIdentityPoolUsage.DescribeIdentityPoolUsage
+ Network.AWS.CognitoSync.DescribeIdentityUsage: instance Data.Hashable.Class.Hashable Network.AWS.CognitoSync.DescribeIdentityUsage.DescribeIdentityUsage
+ Network.AWS.CognitoSync.GetBulkPublishDetails: instance Data.Hashable.Class.Hashable Network.AWS.CognitoSync.GetBulkPublishDetails.GetBulkPublishDetails
+ Network.AWS.CognitoSync.GetCognitoEvents: instance Data.Hashable.Class.Hashable Network.AWS.CognitoSync.GetCognitoEvents.GetCognitoEvents
+ Network.AWS.CognitoSync.GetIdentityPoolConfiguration: instance Data.Hashable.Class.Hashable Network.AWS.CognitoSync.GetIdentityPoolConfiguration.GetIdentityPoolConfiguration
+ Network.AWS.CognitoSync.ListDatasets: instance Data.Hashable.Class.Hashable Network.AWS.CognitoSync.ListDatasets.ListDatasets
+ Network.AWS.CognitoSync.ListIdentityPoolUsage: instance Data.Hashable.Class.Hashable Network.AWS.CognitoSync.ListIdentityPoolUsage.ListIdentityPoolUsage
+ Network.AWS.CognitoSync.ListRecords: instance Data.Hashable.Class.Hashable Network.AWS.CognitoSync.ListRecords.ListRecords
+ Network.AWS.CognitoSync.RegisterDevice: instance Data.Hashable.Class.Hashable Network.AWS.CognitoSync.RegisterDevice.RegisterDevice
+ Network.AWS.CognitoSync.SetCognitoEvents: instance Data.Hashable.Class.Hashable Network.AWS.CognitoSync.SetCognitoEvents.SetCognitoEvents
+ Network.AWS.CognitoSync.SetIdentityPoolConfiguration: instance Data.Hashable.Class.Hashable Network.AWS.CognitoSync.SetIdentityPoolConfiguration.SetIdentityPoolConfiguration
+ Network.AWS.CognitoSync.SubscribeToDataset: instance Data.Hashable.Class.Hashable Network.AWS.CognitoSync.SubscribeToDataset.SubscribeToDataset
+ Network.AWS.CognitoSync.UnsubscribeFromDataset: instance Data.Hashable.Class.Hashable Network.AWS.CognitoSync.UnsubscribeFromDataset.UnsubscribeFromDataset
+ Network.AWS.CognitoSync.UpdateRecords: instance Data.Hashable.Class.Hashable Network.AWS.CognitoSync.UpdateRecords.UpdateRecords
Files
- README.md +2/−2
- amazonka-cognito-sync.cabal +7/−7
- gen/Network/AWS/CognitoSync.hs +1/−3
- gen/Network/AWS/CognitoSync/BulkPublish.hs +3/−3
- gen/Network/AWS/CognitoSync/DeleteDataset.hs +3/−3
- gen/Network/AWS/CognitoSync/DescribeDataset.hs +3/−3
- gen/Network/AWS/CognitoSync/DescribeIdentityPoolUsage.hs +3/−3
- gen/Network/AWS/CognitoSync/DescribeIdentityUsage.hs +3/−3
- gen/Network/AWS/CognitoSync/GetBulkPublishDetails.hs +3/−3
- gen/Network/AWS/CognitoSync/GetCognitoEvents.hs +3/−3
- gen/Network/AWS/CognitoSync/GetIdentityPoolConfiguration.hs +3/−3
- gen/Network/AWS/CognitoSync/ListDatasets.hs +3/−3
- gen/Network/AWS/CognitoSync/ListIdentityPoolUsage.hs +3/−3
- gen/Network/AWS/CognitoSync/ListRecords.hs +3/−3
- gen/Network/AWS/CognitoSync/RegisterDevice.hs +3/−3
- gen/Network/AWS/CognitoSync/SetCognitoEvents.hs +3/−3
- gen/Network/AWS/CognitoSync/SetIdentityPoolConfiguration.hs +3/−3
- gen/Network/AWS/CognitoSync/SubscribeToDataset.hs +3/−3
- gen/Network/AWS/CognitoSync/Types.hs +2/−1
- gen/Network/AWS/CognitoSync/Types/Product.hs +15/−1
- gen/Network/AWS/CognitoSync/Types/Sum.hs +1/−1
- gen/Network/AWS/CognitoSync/UnsubscribeFromDataset.hs +3/−3
- gen/Network/AWS/CognitoSync/UpdateRecords.hs +3/−3
- gen/Network/AWS/CognitoSync/Waiters.hs +1/−1
- test/Main.hs +1/−1
- test/Test/AWS/CognitoSync.hs +1/−1
- test/Test/AWS/CognitoSync/Internal.hs +1/−1
- test/Test/AWS/Gen/CognitoSync.hs +1/−1
README.md view
@@ -8,7 +8,7 @@ ## Version -`1.3.7`+`1.4.0` ## Description@@ -39,7 +39,7 @@ <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](http://docs.aws.amazon.com/cognitosync/latest/APIReference/Welcome.html).+and the [AWS API Reference](https://aws.amazon.com/documentation/). The types from this library are intended to be used with [amazonka](http://hackage.haskell.org/package/amazonka), which provides mechanisms for specifying AuthN/AuthZ information and sending requests.
amazonka-cognito-sync.cabal view
@@ -1,5 +1,5 @@ name: amazonka-cognito-sync-version: 1.3.7+version: 1.4.0 synopsis: Amazon Cognito Sync SDK. homepage: https://github.com/brendanhay/amazonka bug-reports: https://github.com/brendanhay/amazonka/issues@@ -7,7 +7,7 @@ license-file: LICENSE author: Brendan Hay maintainer: Brendan Hay <brendan.g.hay@gmail.com>-copyright: Copyright (c) 2013-2015 Brendan Hay+copyright: Copyright (c) 2013-2016 Brendan Hay category: Network, AWS, Cloud, Distributed Computing build-type: Simple cabal-version: >= 1.10@@ -49,7 +49,7 @@ such as <http://hackage.haskell.org/package/lens lens> or <http://hackage.haskell.org/package/lens-family-core lens-family-core>. .- See "Network.AWS.CognitoSync" and the <http://docs.aws.amazon.com/cognitosync/latest/APIReference/Welcome.html AWS API Reference>+ See "Network.AWS.CognitoSync" or <https://aws.amazon.com/documentation/ the AWS Documentation> to get started. source-repository head@@ -89,7 +89,7 @@ , Network.AWS.CognitoSync.Types.Sum build-depends:- amazonka-core == 1.3.7.*+ amazonka-core == 1.4.0.* , base >= 4.7 && < 5 test-suite amazonka-cognito-sync-test@@ -109,9 +109,9 @@ , Test.AWS.CognitoSync.Internal build-depends:- amazonka-core == 1.3.7.*- , amazonka-test == 1.3.7.*- , amazonka-cognito-sync == 1.3.7.*+ amazonka-core == 1.4.0.*+ , amazonka-test == 1.4.0.*+ , amazonka-cognito-sync == 1.4.0.* , base , bytestring , tasty
gen/Network/AWS/CognitoSync.hs view
@@ -5,7 +5,7 @@ -- | -- Module : Network.AWS.CognitoSync--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -35,8 +35,6 @@ -- <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>.------ /See:/ <http://docs.aws.amazon.com/cognitosync/latest/APIReference/Welcome.html AWS API Reference> module Network.AWS.CognitoSync ( -- * Service Configuration
gen/Network/AWS/CognitoSync/BulkPublish.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoSync.BulkPublish--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -27,8 +27,6 @@ -- This API can only be called with developer credentials. You cannot call -- this API with the temporary user credentials provided by Cognito -- Identity.------ /See:/ <http://docs.aws.amazon.com/cognitosync/latest/APIReference/API_BulkPublish.html AWS API Reference> for BulkPublish. module Network.AWS.CognitoSync.BulkPublish ( -- * Creating a Request@@ -86,6 +84,8 @@ (\ s h x -> BulkPublishResponse' <$> (x .?> "IdentityPoolId") <*> (pure (fromEnum s)))++instance Hashable BulkPublish instance ToHeaders BulkPublish where toHeaders
gen/Network/AWS/CognitoSync/DeleteDataset.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoSync.DeleteDataset--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -25,8 +25,6 @@ -- -- This API can be called with temporary user credentials provided by -- Cognito Identity or with developer credentials.------ /See:/ <http://docs.aws.amazon.com/cognitosync/latest/APIReference/API_DeleteDataset.html AWS API Reference> for DeleteDataset. module Network.AWS.CognitoSync.DeleteDataset ( -- * Creating a Request@@ -107,6 +105,8 @@ (\ s h x -> DeleteDatasetResponse' <$> (x .?> "Dataset") <*> (pure (fromEnum s)))++instance Hashable DeleteDataset instance ToHeaders DeleteDataset where toHeaders
gen/Network/AWS/CognitoSync/DescribeDataset.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoSync.DescribeDataset--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -26,8 +26,6 @@ -- 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.------ /See:/ <http://docs.aws.amazon.com/cognitosync/latest/APIReference/API_DescribeDataset.html AWS API Reference> for DescribeDataset. module Network.AWS.CognitoSync.DescribeDataset ( -- * Creating a Request@@ -109,6 +107,8 @@ (\ s h x -> DescribeDatasetResponse' <$> (x .?> "Dataset") <*> (pure (fromEnum s)))++instance Hashable DescribeDataset instance ToHeaders DescribeDataset where toHeaders
gen/Network/AWS/CognitoSync/DescribeIdentityPoolUsage.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoSync.DescribeIdentityPoolUsage--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -24,8 +24,6 @@ -- This API can only be called with developer credentials. You cannot call -- this API with the temporary user credentials provided by Cognito -- Identity.------ /See:/ <http://docs.aws.amazon.com/cognitosync/latest/APIReference/API_DescribeIdentityPoolUsage.html AWS API Reference> for DescribeIdentityPoolUsage. module Network.AWS.CognitoSync.DescribeIdentityPoolUsage ( -- * Creating a Request@@ -84,6 +82,8 @@ (\ s h x -> DescribeIdentityPoolUsageResponse' <$> (x .?> "IdentityPoolUsage") <*> (pure (fromEnum s)))++instance Hashable DescribeIdentityPoolUsage instance ToHeaders DescribeIdentityPoolUsage where toHeaders
gen/Network/AWS/CognitoSync/DescribeIdentityUsage.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoSync.DescribeIdentityUsage--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -23,8 +23,6 @@ -- -- This API can be called with temporary user credentials provided by -- Cognito Identity or with developer credentials.------ /See:/ <http://docs.aws.amazon.com/cognitosync/latest/APIReference/API_DescribeIdentityUsage.html AWS API Reference> for DescribeIdentityUsage. module Network.AWS.CognitoSync.DescribeIdentityUsage ( -- * Creating a Request@@ -95,6 +93,8 @@ (\ s h x -> DescribeIdentityUsageResponse' <$> (x .?> "IdentityUsage") <*> (pure (fromEnum s)))++instance Hashable DescribeIdentityUsage instance ToHeaders DescribeIdentityUsage where toHeaders
gen/Network/AWS/CognitoSync/GetBulkPublishDetails.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoSync.GetBulkPublishDetails--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -23,8 +23,6 @@ -- This API can only be called with developer credentials. You cannot call -- this API with the temporary user credentials provided by Cognito -- Identity.------ /See:/ <http://docs.aws.amazon.com/cognitosync/latest/APIReference/API_GetBulkPublishDetails.html AWS API Reference> for GetBulkPublishDetails. module Network.AWS.CognitoSync.GetBulkPublishDetails ( -- * Creating a Request@@ -92,6 +90,8 @@ <*> (x .?> "FailureMessage") <*> (x .?> "BulkPublishStatus") <*> (pure (fromEnum s)))++instance Hashable GetBulkPublishDetails instance ToHeaders GetBulkPublishDetails where toHeaders
gen/Network/AWS/CognitoSync/GetCognitoEvents.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoSync.GetCognitoEvents--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -24,8 +24,6 @@ -- This API can only be called with developer credentials. You cannot call -- this API with the temporary user credentials provided by Cognito -- Identity.------ /See:/ <http://docs.aws.amazon.com/cognitosync/latest/APIReference/API_GetCognitoEvents.html AWS API Reference> for GetCognitoEvents. module Network.AWS.CognitoSync.GetCognitoEvents ( -- * Creating a Request@@ -81,6 +79,8 @@ (\ s h x -> GetCognitoEventsResponse' <$> (x .?> "Events" .!@ mempty) <*> (pure (fromEnum s)))++instance Hashable GetCognitoEvents instance ToHeaders GetCognitoEvents where toHeaders
gen/Network/AWS/CognitoSync/GetIdentityPoolConfiguration.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoSync.GetIdentityPoolConfiguration--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -23,8 +23,6 @@ -- This API can only be called with developer credentials. You cannot call -- this API with the temporary user credentials provided by Cognito -- Identity.------ /See:/ <http://docs.aws.amazon.com/cognitosync/latest/APIReference/API_GetIdentityPoolConfiguration.html AWS API Reference> for GetIdentityPoolConfiguration. module Network.AWS.CognitoSync.GetIdentityPoolConfiguration ( -- * Creating a Request@@ -88,6 +86,8 @@ (x .?> "IdentityPoolId") <*> (x .?> "CognitoStreams") <*> (x .?> "PushSync") <*> (pure (fromEnum s)))++instance Hashable GetIdentityPoolConfiguration instance ToHeaders GetIdentityPoolConfiguration where toHeaders
gen/Network/AWS/CognitoSync/ListDatasets.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoSync.ListDatasets--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -25,8 +25,6 @@ -- 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.------ /See:/ <http://docs.aws.amazon.com/cognitosync/latest/APIReference/API_ListDatasets.html AWS API Reference> for ListDatasets. module Network.AWS.CognitoSync.ListDatasets ( -- * Creating a Request@@ -118,6 +116,8 @@ (x .?> "Count") <*> (x .?> "NextToken") <*> (x .?> "Datasets" .!@ mempty) <*> (pure (fromEnum s)))++instance Hashable ListDatasets instance ToHeaders ListDatasets where toHeaders
gen/Network/AWS/CognitoSync/ListIdentityPoolUsage.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoSync.ListIdentityPoolUsage--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -23,8 +23,6 @@ -- ListIdentityPoolUsage can only be called with developer credentials. You -- cannot make this API call with the temporary user credentials provided -- by Cognito Identity.------ /See:/ <http://docs.aws.amazon.com/cognitosync/latest/APIReference/API_ListIdentityPoolUsage.html AWS API Reference> for ListIdentityPoolUsage. module Network.AWS.CognitoSync.ListIdentityPoolUsage ( -- * Creating a Request@@ -96,6 +94,8 @@ <*> (x .?> "NextToken") <*> (x .?> "MaxResults") <*> (pure (fromEnum s)))++instance Hashable ListIdentityPoolUsage instance ToHeaders ListIdentityPoolUsage where toHeaders
gen/Network/AWS/CognitoSync/ListRecords.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoSync.ListRecords--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -26,8 +26,6 @@ -- 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.------ /See:/ <http://docs.aws.amazon.com/cognitosync/latest/APIReference/API_ListRecords.html AWS API Reference> for ListRecords. module Network.AWS.CognitoSync.ListRecords ( -- * Creating a Request@@ -161,6 +159,8 @@ <*> (x .?> "LastModifiedBy") <*> (x .?> "DatasetSyncCount") <*> (pure (fromEnum s)))++instance Hashable ListRecords instance ToHeaders ListRecords where toHeaders
gen/Network/AWS/CognitoSync/RegisterDevice.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoSync.RegisterDevice--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -22,8 +22,6 @@ -- -- This API can only be called with temporary credentials provided by -- Cognito Identity. You cannot call this API with developer credentials.------ /See:/ <http://docs.aws.amazon.com/cognitosync/latest/APIReference/API_RegisterDevice.html AWS API Reference> for RegisterDevice. module Network.AWS.CognitoSync.RegisterDevice ( -- * Creating a Request@@ -111,6 +109,8 @@ (\ s h x -> RegisterDeviceResponse' <$> (x .?> "DeviceId") <*> (pure (fromEnum s)))++instance Hashable RegisterDevice instance ToHeaders RegisterDevice where toHeaders
gen/Network/AWS/CognitoSync/SetCognitoEvents.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoSync.SetCognitoEvents--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -26,8 +26,6 @@ -- This API can only be called with developer credentials. You cannot call -- this API with the temporary user credentials provided by Cognito -- Identity.------ /See:/ <http://docs.aws.amazon.com/cognitosync/latest/APIReference/API_SetCognitoEvents.html AWS API Reference> for SetCognitoEvents. module Network.AWS.CognitoSync.SetCognitoEvents ( -- * Creating a Request@@ -87,6 +85,8 @@ type Rs SetCognitoEvents = SetCognitoEventsResponse request = postJSON cognitoSync response = receiveNull SetCognitoEventsResponse'++instance Hashable SetCognitoEvents instance ToHeaders SetCognitoEvents where toHeaders
gen/Network/AWS/CognitoSync/SetIdentityPoolConfiguration.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoSync.SetIdentityPoolConfiguration--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -23,8 +23,6 @@ -- This API can only be called with developer credentials. You cannot call -- this API with the temporary user credentials provided by Cognito -- Identity.------ /See:/ <http://docs.aws.amazon.com/cognitosync/latest/APIReference/API_SetIdentityPoolConfiguration.html AWS API Reference> for SetIdentityPoolConfiguration. module Network.AWS.CognitoSync.SetIdentityPoolConfiguration ( -- * Creating a Request@@ -106,6 +104,8 @@ (x .?> "IdentityPoolId") <*> (x .?> "CognitoStreams") <*> (x .?> "PushSync") <*> (pure (fromEnum s)))++instance Hashable SetIdentityPoolConfiguration instance ToHeaders SetIdentityPoolConfiguration where toHeaders
gen/Network/AWS/CognitoSync/SubscribeToDataset.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoSync.SubscribeToDataset--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -23,8 +23,6 @@ -- -- This API can only be called with temporary credentials provided by -- Cognito Identity. You cannot call this API with developer credentials.------ /See:/ <http://docs.aws.amazon.com/cognitosync/latest/APIReference/API_SubscribeToDataset.html AWS API Reference> for SubscribeToDataset. module Network.AWS.CognitoSync.SubscribeToDataset ( -- * Creating a Request@@ -111,6 +109,8 @@ = receiveEmpty (\ s h x -> SubscribeToDatasetResponse' <$> (pure (fromEnum s)))++instance Hashable SubscribeToDataset instance ToHeaders SubscribeToDataset where toHeaders
gen/Network/AWS/CognitoSync/Types.hs view
@@ -4,7 +4,7 @@ -- | -- Module : Network.AWS.CognitoSync.Types--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -132,6 +132,7 @@ , _retryCheck = check } check e+ | has (hasStatus 429) e = Just "too_many_requests" | has (hasCode "ThrottlingException" . hasStatus 400) e = Just "throttling_exception" | has (hasCode "Throttling" . hasStatus 400) e = Just "throttling"
gen/Network/AWS/CognitoSync/Types/Product.hs view
@@ -9,7 +9,7 @@ -- | -- Module : Network.AWS.CognitoSync.Types.Product--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -76,6 +76,8 @@ (x .:? "StreamingStatus") <*> (x .:? "StreamName") <*> (x .:? "RoleArn")) +instance Hashable CognitoStreams+ instance ToJSON CognitoStreams where toJSON CognitoStreams'{..} = object@@ -174,6 +176,8 @@ <*> (x .:? "LastModifiedBy") <*> (x .:? "IdentityId")) +instance Hashable Dataset+ -- | Usage information for the identity pool. -- -- /See:/ 'identityPoolUsage' smart constructor.@@ -233,6 +237,8 @@ <*> (x .:? "DataStorage") <*> (x .:? "SyncSessionsCount")) +instance Hashable IdentityPoolUsage+ -- | Usage information for the identity. -- -- /See:/ 'identityUsage' smart constructor.@@ -303,6 +309,8 @@ <*> (x .:? "DataStorage") <*> (x .:? "IdentityId")) +instance Hashable IdentityUsage+ -- | Configuration options to be applied to the identity pool. -- -- /See:/ 'pushSync' smart constructor.@@ -343,6 +351,8 @@ (x .:? "ApplicationArns" .!= mempty) <*> (x .:? "RoleArn")) +instance Hashable PushSync+ instance ToJSON PushSync where toJSON PushSync'{..} = object@@ -425,6 +435,8 @@ <*> (x .:? "Key") <*> (x .:? "LastModifiedBy")) +instance Hashable Record+ -- | An update operation for a record. -- -- /See:/ 'recordPatch' smart constructor.@@ -482,6 +494,8 @@ -- | Last known server sync count for this record. Set to 0 if unknown. rpSyncCount :: Lens' RecordPatch Integer rpSyncCount = lens _rpSyncCount (\ s a -> s{_rpSyncCount = a});++instance Hashable RecordPatch instance ToJSON RecordPatch where toJSON RecordPatch'{..}
gen/Network/AWS/CognitoSync/Types/Sum.hs view
@@ -9,7 +9,7 @@ -- | -- Module : Network.AWS.CognitoSync.Types.Sum--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated
gen/Network/AWS/CognitoSync/UnsubscribeFromDataset.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoSync.UnsubscribeFromDataset--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -23,8 +23,6 @@ -- -- This API can only be called with temporary credentials provided by -- Cognito Identity. You cannot call this API with developer credentials.------ /See:/ <http://docs.aws.amazon.com/cognitosync/latest/APIReference/API_UnsubscribeFromDataset.html AWS API Reference> for UnsubscribeFromDataset. module Network.AWS.CognitoSync.UnsubscribeFromDataset ( -- * Creating a Request@@ -112,6 +110,8 @@ (\ s h x -> UnsubscribeFromDatasetResponse' <$> (pure (fromEnum s)))++instance Hashable UnsubscribeFromDataset instance ToHeaders UnsubscribeFromDataset where toHeaders
gen/Network/AWS/CognitoSync/UpdateRecords.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoSync.UpdateRecords--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -36,8 +36,6 @@ -- -- This API can be called with temporary user credentials provided by -- Cognito Identity or with developer credentials.------ /See:/ <http://docs.aws.amazon.com/cognitosync/latest/APIReference/API_UpdateRecords.html AWS API Reference> for UpdateRecords. module Network.AWS.CognitoSync.UpdateRecords ( -- * Creating a Request@@ -159,6 +157,8 @@ (\ s h x -> UpdateRecordsResponse' <$> (x .?> "Records" .!@ mempty) <*> (pure (fromEnum s)))++instance Hashable UpdateRecords instance ToHeaders UpdateRecords where toHeaders UpdateRecords'{..}
gen/Network/AWS/CognitoSync/Waiters.hs view
@@ -7,7 +7,7 @@ -- | -- Module : Network.AWS.CognitoSync.Waiters--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated
test/Main.hs view
@@ -2,7 +2,7 @@ -- | -- Module : Main--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated
test/Test/AWS/CognitoSync.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE OverloadedStrings #-} -- Module : Test.AWS.CognitoSync--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : This Source Code Form is subject to the terms of -- the Mozilla Public License, v. 2.0. -- A copy of the MPL can be found in the LICENSE file or
test/Test/AWS/CognitoSync/Internal.hs view
@@ -2,7 +2,7 @@ {-# OPTIONS_GHC -fno-warn-unused-imports #-} -- Module : Test.AWS.CognitoSync.Internal--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : This Source Code Form is subject to the terms of -- the Mozilla Public License, v. 2.0. -- A copy of the MPL can be found in the LICENSE file or
test/Test/AWS/Gen/CognitoSync.hs view
@@ -5,7 +5,7 @@ -- | -- Module : Test.AWS.Gen.CognitoSync--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated