amazonka-iot-dataplane 1.3.7 → 1.4.0
raw patch · 15 files changed
+31/−32 lines, 15 filesdep ~amazonka-coredep ~amazonka-iot-dataplanedep ~amazonka-testPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: amazonka-core, amazonka-iot-dataplane, amazonka-test
API changes (from Hackage documentation)
+ Network.AWS.IoTDataPlane.DeleteThingShadow: instance Data.Hashable.Class.Hashable Network.AWS.IoTDataPlane.DeleteThingShadow.DeleteThingShadow
+ Network.AWS.IoTDataPlane.GetThingShadow: instance Data.Hashable.Class.Hashable Network.AWS.IoTDataPlane.GetThingShadow.GetThingShadow
+ Network.AWS.IoTDataPlane.Publish: instance Data.Hashable.Class.Hashable Network.AWS.IoTDataPlane.Publish.Publish
+ Network.AWS.IoTDataPlane.UpdateThingShadow: instance Data.Hashable.Class.Hashable Network.AWS.IoTDataPlane.UpdateThingShadow.UpdateThingShadow
Files
- README.md +2/−2
- amazonka-iot-dataplane.cabal +7/−7
- gen/Network/AWS/IoTDataPlane.hs +1/−3
- gen/Network/AWS/IoTDataPlane/DeleteThingShadow.hs +3/−3
- gen/Network/AWS/IoTDataPlane/GetThingShadow.hs +3/−3
- gen/Network/AWS/IoTDataPlane/Publish.hs +3/−3
- gen/Network/AWS/IoTDataPlane/Types.hs +2/−1
- gen/Network/AWS/IoTDataPlane/Types/Product.hs +1/−1
- gen/Network/AWS/IoTDataPlane/Types/Sum.hs +1/−1
- gen/Network/AWS/IoTDataPlane/UpdateThingShadow.hs +3/−3
- gen/Network/AWS/IoTDataPlane/Waiters.hs +1/−1
- test/Main.hs +1/−1
- test/Test/AWS/Gen/IoTDataPlane.hs +1/−1
- test/Test/AWS/IoTDataPlane.hs +1/−1
- test/Test/AWS/IoTDataPlane/Internal.hs +1/−1
README.md view
@@ -8,7 +8,7 @@ ## Version -`1.3.7`+`1.4.0` ## Description@@ -24,7 +24,7 @@ cloud. Documentation is available via [Hackage](http://hackage.haskell.org/package/amazonka-iot-dataplane)-and the [AWS API Reference](https://aws.amazon.com/iot).+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-iot-dataplane.cabal view
@@ -1,5 +1,5 @@ name: amazonka-iot-dataplane-version: 1.3.7+version: 1.4.0 synopsis: Amazon IoT Data Plane 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@@ -34,7 +34,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.IoTDataPlane" and the <https://aws.amazon.com/iot AWS API Reference>+ See "Network.AWS.IoTDataPlane" or <https://aws.amazon.com/documentation/ the AWS Documentation> to get started. source-repository head@@ -61,7 +61,7 @@ , Network.AWS.IoTDataPlane.Types.Sum build-depends:- amazonka-core == 1.3.7.*+ amazonka-core == 1.4.0.* , base >= 4.7 && < 5 test-suite amazonka-iot-dataplane-test@@ -81,9 +81,9 @@ , Test.AWS.IoTDataPlane.Internal build-depends:- amazonka-core == 1.3.7.*- , amazonka-test == 1.3.7.*- , amazonka-iot-dataplane == 1.3.7.*+ amazonka-core == 1.4.0.*+ , amazonka-test == 1.4.0.*+ , amazonka-iot-dataplane == 1.4.0.* , base , bytestring , tasty
gen/Network/AWS/IoTDataPlane.hs view
@@ -5,7 +5,7 @@ -- | -- Module : Network.AWS.IoTDataPlane--- 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@@ -20,8 +20,6 @@ -- retrieve, update, and delete thing shadows. A thing shadow is a -- persistent representation of your things and their state in the AWS -- cloud.------ /See:/ <https://aws.amazon.com/iot AWS API Reference> module Network.AWS.IoTDataPlane ( -- * Service Configuration
gen/Network/AWS/IoTDataPlane/DeleteThingShadow.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.IoTDataPlane.DeleteThingShadow--- 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 @@ -- For more information, see -- <http://docs.aws.amazon.com/iot/latest/developerguide/API_DeleteThingShadow.html DeleteThingShadow> -- in the /AWS IoT Developer Guide/.------ /See:/ <https://aws.amazon.com/iot#DeleteThingShadow.html AWS API Reference> for DeleteThingShadow. module Network.AWS.IoTDataPlane.DeleteThingShadow ( -- * Creating a Request@@ -80,6 +78,8 @@ (\ s h x -> DeleteThingShadowResponse' <$> (pure (fromEnum s)) <*> (pure x))++instance Hashable DeleteThingShadow instance ToHeaders DeleteThingShadow where toHeaders = const mempty
gen/Network/AWS/IoTDataPlane/GetThingShadow.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.IoTDataPlane.GetThingShadow--- 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 @@ -- For more information, see -- <http://docs.aws.amazon.com/iot/latest/developerguide/API_GetThingShadow.html GetThingShadow> -- in the /AWS IoT Developer Guide/.------ /See:/ <https://aws.amazon.com/iot#GetThingShadow.html AWS API Reference> for GetThingShadow. module Network.AWS.IoTDataPlane.GetThingShadow ( -- * Creating a Request@@ -80,6 +78,8 @@ (\ s h x -> GetThingShadowResponse' <$> (pure (Just x)) <*> (pure (fromEnum s)))++instance Hashable GetThingShadow instance ToHeaders GetThingShadow where toHeaders = const mempty
gen/Network/AWS/IoTDataPlane/Publish.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.IoTDataPlane.Publish--- 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 @@ -- For more information, see -- <http://docs.aws.amazon.com/iot/latest/developerguide/protocols.html#http HTTP Protocol> -- in the /AWS IoT Developer Guide/.------ /See:/ <https://aws.amazon.com/iot#Publish.html AWS API Reference> for Publish. module Network.AWS.IoTDataPlane.Publish ( -- * Creating a Request@@ -91,6 +89,8 @@ type Rs Publish = PublishResponse request = postBody ioTDataPlane response = receiveNull PublishResponse'++instance Hashable Publish instance ToBody Publish where toBody = toBody . _pPayload
gen/Network/AWS/IoTDataPlane/Types.hs view
@@ -4,7 +4,7 @@ -- | -- Module : Network.AWS.IoTDataPlane.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@@ -57,6 +57,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/IoTDataPlane/Types/Product.hs view
@@ -9,7 +9,7 @@ -- | -- Module : Network.AWS.IoTDataPlane.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
gen/Network/AWS/IoTDataPlane/Types/Sum.hs view
@@ -9,7 +9,7 @@ -- | -- Module : Network.AWS.IoTDataPlane.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/IoTDataPlane/UpdateThingShadow.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.IoTDataPlane.UpdateThingShadow--- 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 @@ -- For more information, see -- <http://docs.aws.amazon.com/iot/latest/developerguide/API_UpdateThingShadow.html UpdateThingShadow> -- in the /AWS IoT Developer Guide/.------ /See:/ <https://aws.amazon.com/iot#UpdateThingShadow.html AWS API Reference> for UpdateThingShadow. module Network.AWS.IoTDataPlane.UpdateThingShadow ( -- * Creating a Request@@ -90,6 +88,8 @@ (\ s h x -> UpdateThingShadowResponse' <$> (pure (Just x)) <*> (pure (fromEnum s)))++instance Hashable UpdateThingShadow instance ToBody UpdateThingShadow where toBody = toBody . _utsPayload
gen/Network/AWS/IoTDataPlane/Waiters.hs view
@@ -7,7 +7,7 @@ -- | -- Module : Network.AWS.IoTDataPlane.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/Gen/IoTDataPlane.hs view
@@ -5,7 +5,7 @@ -- | -- Module : Test.AWS.Gen.IoTDataPlane--- 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/IoTDataPlane.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE OverloadedStrings #-} -- Module : Test.AWS.IoTDataPlane--- 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/IoTDataPlane/Internal.hs view
@@ -3,7 +3,7 @@ {-# OPTIONS_GHC -fno-warn-unused-imports #-} -- Module : Test.AWS.IoTDataPlane.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