amazonka-cognito-identity 1.3.7 → 1.4.0
raw patch · 29 files changed
+105/−96 lines, 29 filesdep ~amazonka-cognito-identitydep ~amazonka-coredep ~amazonka-testPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: amazonka-cognito-identity, amazonka-core, amazonka-test
API changes (from Hackage documentation)
+ Network.AWS.CognitoIdentity.CreateIdentityPool: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.CreateIdentityPool.CreateIdentityPool
+ Network.AWS.CognitoIdentity.DeleteIdentities: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.DeleteIdentities.DeleteIdentities
+ Network.AWS.CognitoIdentity.DeleteIdentityPool: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPool
+ Network.AWS.CognitoIdentity.DescribeIdentity: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.DescribeIdentity.DescribeIdentity
+ Network.AWS.CognitoIdentity.DescribeIdentityPool: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.DescribeIdentityPool.DescribeIdentityPool
+ Network.AWS.CognitoIdentity.GetCredentialsForIdentity: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentity
+ Network.AWS.CognitoIdentity.GetId: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.GetId.GetId
+ Network.AWS.CognitoIdentity.GetIdentityPoolRoles: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRoles
+ Network.AWS.CognitoIdentity.GetOpenIdToken: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.GetOpenIdToken.GetOpenIdToken
+ Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentity
+ Network.AWS.CognitoIdentity.ListIdentities: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.ListIdentities.ListIdentities
+ Network.AWS.CognitoIdentity.ListIdentityPools: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.ListIdentityPools.ListIdentityPools
+ Network.AWS.CognitoIdentity.LookupDeveloperIdentity: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentity
+ Network.AWS.CognitoIdentity.MergeDeveloperIdentities: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentities
+ Network.AWS.CognitoIdentity.SetIdentityPoolRoles: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRoles
+ Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentity
+ Network.AWS.CognitoIdentity.UnlinkIdentity: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.UnlinkIdentity.UnlinkIdentity
+ Network.AWS.CognitoIdentity.UpdateIdentityPool: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.UpdateIdentityPool.UpdateIdentityPool
Files
- README.md +9/−9
- amazonka-cognito-identity.cabal +14/−14
- gen/Network/AWS/CognitoIdentity.hs +8/−10
- gen/Network/AWS/CognitoIdentity/CreateIdentityPool.hs +3/−3
- gen/Network/AWS/CognitoIdentity/DeleteIdentities.hs +3/−3
- gen/Network/AWS/CognitoIdentity/DeleteIdentityPool.hs +3/−3
- gen/Network/AWS/CognitoIdentity/DescribeIdentity.hs +3/−3
- gen/Network/AWS/CognitoIdentity/DescribeIdentityPool.hs +3/−3
- gen/Network/AWS/CognitoIdentity/GetCredentialsForIdentity.hs +3/−3
- gen/Network/AWS/CognitoIdentity/GetId.hs +3/−3
- gen/Network/AWS/CognitoIdentity/GetIdentityPoolRoles.hs +3/−3
- gen/Network/AWS/CognitoIdentity/GetOpenIdToken.hs +4/−4
- gen/Network/AWS/CognitoIdentity/GetOpenIdTokenForDeveloperIdentity.hs +3/−3
- gen/Network/AWS/CognitoIdentity/ListIdentities.hs +3/−3
- gen/Network/AWS/CognitoIdentity/ListIdentityPools.hs +3/−3
- gen/Network/AWS/CognitoIdentity/LookupDeveloperIdentity.hs +3/−3
- gen/Network/AWS/CognitoIdentity/MergeDeveloperIdentities.hs +3/−3
- gen/Network/AWS/CognitoIdentity/SetIdentityPoolRoles.hs +3/−3
- gen/Network/AWS/CognitoIdentity/Types.hs +2/−1
- gen/Network/AWS/CognitoIdentity/Types/Product.hs +11/−1
- gen/Network/AWS/CognitoIdentity/Types/Sum.hs +1/−1
- gen/Network/AWS/CognitoIdentity/UnlinkDeveloperIdentity.hs +3/−3
- gen/Network/AWS/CognitoIdentity/UnlinkIdentity.hs +3/−3
- gen/Network/AWS/CognitoIdentity/UpdateIdentityPool.hs +3/−3
- gen/Network/AWS/CognitoIdentity/Waiters.hs +1/−1
- test/Main.hs +1/−1
- test/Test/AWS/CognitoIdentity.hs +1/−1
- test/Test/AWS/CognitoIdentity/Internal.hs +1/−1
- test/Test/AWS/Gen/CognitoIdentity.hs +1/−1
README.md view
@@ -8,7 +8,7 @@ ## Version -`1.3.7`+`1.4.0` ## Description@@ -27,18 +27,18 @@ token provider trusted by AWS Security Token Service (STS) to access temporary, limited-privilege AWS credentials. -To provide end-user credentials, first make an unsigned call to GetId.-If the end user is authenticated with one of the supported identity-providers, set the @Logins@ map with the identity provider token.-@GetId@ returns a unique identifier for the user.+To provide end-user credentials, first make an unsigned call to+< GetId>. If the end user is authenticated with one of the supported+identity providers, set the @Logins@ map with the identity provider+token. @GetId@ returns a unique identifier for the user. -Next, make an unsigned call to GetCredentialsForIdentity. This call+Next, make an unsigned call to < GetCredentialsForIdentity>. This call expects the same @Logins@ map as the @GetId@ call, as well as the @IdentityID@ originally returned by @GetId@. Assuming your identity pool-has been configured via the SetIdentityPoolRoles operation,+has been configured via the < SetIdentityPoolRoles> operation, @GetCredentialsForIdentity@ will return AWS credentials for your use. If your pool has not been configured with @SetIdentityPoolRoles@, or if you-want to follow legacy flow, make an unsigned call to GetOpenIdToken,+want to follow legacy flow, make an unsigned call to < GetOpenIdToken>, which returns the OpenID token necessary to call STS and retrieve AWS credentials. This call expects the same @Logins@ map as the @GetId@ call, as well as the @IdentityID@ originally returned by @GetId@. The@@ -52,7 +52,7 @@ <http://docs.aws.amazon.com/mobile/index.html AWS Mobile SDK Developer Guide>. Documentation is available via [Hackage](http://hackage.haskell.org/package/amazonka-cognito-identity)-and the [AWS API Reference](http://docs.aws.amazon.com/cognitoidentity/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-identity.cabal view
@@ -1,5 +1,5 @@ name: amazonka-cognito-identity-version: 1.3.7+version: 1.4.0 synopsis: Amazon Cognito Identity 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@@ -27,18 +27,18 @@ token provider trusted by AWS Security Token Service (STS) to access temporary, limited-privilege AWS credentials. - To provide end-user credentials, first make an unsigned call to GetId.- If the end user is authenticated with one of the supported identity- providers, set the @Logins@ map with the identity provider token.- @GetId@ returns a unique identifier for the user.+ To provide end-user credentials, first make an unsigned call to+ < GetId>. If the end user is authenticated with one of the supported+ identity providers, set the @Logins@ map with the identity provider+ token. @GetId@ returns a unique identifier for the user. - Next, make an unsigned call to GetCredentialsForIdentity. This call+ Next, make an unsigned call to < GetCredentialsForIdentity>. This call expects the same @Logins@ map as the @GetId@ call, as well as the @IdentityID@ originally returned by @GetId@. Assuming your identity pool- has been configured via the SetIdentityPoolRoles operation,+ has been configured via the < SetIdentityPoolRoles> operation, @GetCredentialsForIdentity@ will return AWS credentials for your use. If your pool has not been configured with @SetIdentityPoolRoles@, or if you- want to follow legacy flow, make an unsigned call to GetOpenIdToken,+ want to follow legacy flow, make an unsigned call to < GetOpenIdToken>, which returns the OpenID token necessary to call STS and retrieve AWS credentials. This call expects the same @Logins@ map as the @GetId@ call, as well as the @IdentityID@ originally returned by @GetId@. The@@ -62,7 +62,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.CognitoIdentity" and the <http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/Welcome.html AWS API Reference>+ See "Network.AWS.CognitoIdentity" or <https://aws.amazon.com/documentation/ the AWS Documentation> to get started. source-repository head@@ -103,7 +103,7 @@ , Network.AWS.CognitoIdentity.Types.Sum build-depends:- amazonka-core == 1.3.7.*+ amazonka-core == 1.4.0.* , base >= 4.7 && < 5 test-suite amazonka-cognito-identity-test@@ -123,9 +123,9 @@ , Test.AWS.CognitoIdentity.Internal build-depends:- amazonka-core == 1.3.7.*- , amazonka-test == 1.3.7.*- , amazonka-cognito-identity == 1.3.7.*+ amazonka-core == 1.4.0.*+ , amazonka-test == 1.4.0.*+ , amazonka-cognito-identity == 1.4.0.* , base , bytestring , tasty
gen/Network/AWS/CognitoIdentity.hs view
@@ -5,7 +5,7 @@ -- | -- Module : Network.AWS.CognitoIdentity--- 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,18 +25,18 @@ -- token provider trusted by AWS Security Token Service (STS) to access -- temporary, limited-privilege AWS credentials. ----- To provide end-user credentials, first make an unsigned call to GetId.--- If the end user is authenticated with one of the supported identity--- providers, set the 'Logins' map with the identity provider token.--- 'GetId' returns a unique identifier for the user.+-- To provide end-user credentials, first make an unsigned call to+-- < GetId>. If the end user is authenticated with one of the supported+-- identity providers, set the 'Logins' map with the identity provider+-- token. 'GetId' returns a unique identifier for the user. ----- Next, make an unsigned call to GetCredentialsForIdentity. This call+-- Next, make an unsigned call to < GetCredentialsForIdentity>. This call -- expects the same 'Logins' map as the 'GetId' call, as well as the -- 'IdentityID' originally returned by 'GetId'. Assuming your identity pool--- has been configured via the SetIdentityPoolRoles operation,+-- has been configured via the < SetIdentityPoolRoles> operation, -- 'GetCredentialsForIdentity' will return AWS credentials for your use. If -- your pool has not been configured with 'SetIdentityPoolRoles', or if you--- want to follow legacy flow, make an unsigned call to GetOpenIdToken,+-- want to follow legacy flow, make an unsigned call to < GetOpenIdToken>, -- which returns the OpenID token necessary to call STS and retrieve AWS -- credentials. This call expects the same 'Logins' map as the 'GetId' -- call, as well as the 'IdentityID' originally returned by 'GetId'. The@@ -48,8 +48,6 @@ -- 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/index.html AWS Mobile SDK Developer Guide>.------ /See:/ <http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/Welcome.html AWS API Reference> module Network.AWS.CognitoIdentity ( -- * Service Configuration
gen/Network/AWS/CognitoIdentity/CreateIdentityPool.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoIdentity.CreateIdentityPool--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -30,8 +30,6 @@ -- - Digits: 'www.digits.com' -- -- You must use AWS Developer credentials to call this API.------ /See:/ <http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_CreateIdentityPool.html AWS API Reference> for CreateIdentityPool. module Network.AWS.CognitoIdentity.CreateIdentityPool ( -- * Creating a Request@@ -131,6 +129,8 @@ type Rs CreateIdentityPool = IdentityPool request = postJSON cognitoIdentity response = receiveJSON (\ s h x -> eitherParseJSON x)++instance Hashable CreateIdentityPool instance ToHeaders CreateIdentityPool where toHeaders
gen/Network/AWS/CognitoIdentity/DeleteIdentities.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoIdentity.DeleteIdentities--- 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 @@ -- identities that you want to delete. -- -- You must use AWS Developer credentials to call this API.------ /See:/ <http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_DeleteIdentities.html AWS API Reference> for DeleteIdentities. module Network.AWS.CognitoIdentity.DeleteIdentities ( -- * Creating a Request@@ -80,6 +78,8 @@ DeleteIdentitiesResponse' <$> (x .?> "UnprocessedIdentityIds" .!@ mempty) <*> (pure (fromEnum s)))++instance Hashable DeleteIdentities instance ToHeaders DeleteIdentities where toHeaders
gen/Network/AWS/CognitoIdentity/DeleteIdentityPool.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoIdentity.DeleteIdentityPool--- 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 @@ -- authenticate with the pool. -- -- You must use AWS Developer credentials to call this API.------ /See:/ <http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_DeleteIdentityPool.html AWS API Reference> for DeleteIdentityPool. module Network.AWS.CognitoIdentity.DeleteIdentityPool ( -- * Creating a Request@@ -73,6 +71,8 @@ DeleteIdentityPoolResponse request = postJSON cognitoIdentity response = receiveNull DeleteIdentityPoolResponse'++instance Hashable DeleteIdentityPool instance ToHeaders DeleteIdentityPool where toHeaders
gen/Network/AWS/CognitoIdentity/DescribeIdentity.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoIdentity.DescribeIdentity--- 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 @@ -- identity was created and any associated linked logins. -- -- You must use AWS Developer credentials to call this API.------ /See:/ <http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_DescribeIdentity.html AWS API Reference> for DescribeIdentity. module Network.AWS.CognitoIdentity.DescribeIdentity ( -- * Creating a Request@@ -77,6 +75,8 @@ type Rs DescribeIdentity = IdentityDescription request = postJSON cognitoIdentity response = receiveJSON (\ s h x -> eitherParseJSON x)++instance Hashable DescribeIdentity instance ToHeaders DescribeIdentity where toHeaders
gen/Network/AWS/CognitoIdentity/DescribeIdentityPool.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoIdentity.DescribeIdentityPool--- 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 @@ -- ID description, creation date, and current number of users. -- -- You must use AWS Developer credentials to call this API.------ /See:/ <http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_DescribeIdentityPool.html AWS API Reference> for DescribeIdentityPool. module Network.AWS.CognitoIdentity.DescribeIdentityPool ( -- * Creating a Request@@ -79,6 +77,8 @@ type Rs DescribeIdentityPool = IdentityPool request = postJSON cognitoIdentity response = receiveJSON (\ s h x -> eitherParseJSON x)++instance Hashable DescribeIdentityPool instance ToHeaders DescribeIdentityPool where toHeaders
gen/Network/AWS/CognitoIdentity/GetCredentialsForIdentity.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoIdentity.GetCredentialsForIdentity--- 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 @@ -- Security Token Service with the appropriate role for the token. -- -- This is a public API. You do not need any credentials to call this API.------ /See:/ <http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_GetCredentialsForIdentity.html AWS API Reference> for GetCredentialsForIdentity. module Network.AWS.CognitoIdentity.GetCredentialsForIdentity ( -- * Creating a Request@@ -94,6 +92,8 @@ GetCredentialsForIdentityResponse' <$> (x .?> "Credentials") <*> (x .?> "IdentityId") <*> (pure (fromEnum s)))++instance Hashable GetCredentialsForIdentity instance ToHeaders GetCredentialsForIdentity where toHeaders
gen/Network/AWS/CognitoIdentity/GetId.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoIdentity.GetId--- 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 @@ -- create an implicit linked account. -- -- This is a public API. You do not need any credentials to call this API.------ /See:/ <http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_GetId.html AWS API Reference> for GetId. module Network.AWS.CognitoIdentity.GetId ( -- * Creating a Request@@ -106,6 +104,8 @@ (\ s h x -> GetIdResponse' <$> (x .?> "IdentityId") <*> (pure (fromEnum s)))++instance Hashable GetId instance ToHeaders GetId where toHeaders
gen/Network/AWS/CognitoIdentity/GetIdentityPoolRoles.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoIdentity.GetIdentityPoolRoles--- 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@@ -21,8 +21,6 @@ -- Gets the roles for an identity pool. -- -- You must use AWS Developer credentials to call this API.------ /See:/ <http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_GetIdentityPoolRoles.html AWS API Reference> for GetIdentityPoolRoles. module Network.AWS.CognitoIdentity.GetIdentityPoolRoles ( -- * Creating a Request@@ -82,6 +80,8 @@ (x .?> "Roles" .!@ mempty) <*> (x .?> "IdentityPoolId") <*> (pure (fromEnum s)))++instance Hashable GetIdentityPoolRoles instance ToHeaders GetIdentityPoolRoles where toHeaders
gen/Network/AWS/CognitoIdentity/GetOpenIdToken.hs view
@@ -12,21 +12,19 @@ -- | -- Module : Network.AWS.CognitoIdentity.GetOpenIdToken--- 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 -- Portability : non-portable (GHC extensions) -- -- Gets an OpenID token, using a known Cognito ID. This known Cognito ID is--- returned by GetId. You can optionally add additional logins for the+-- returned by < GetId>. You can optionally add additional logins for the -- identity. Supplying multiple logins creates an implicit link. -- -- The OpenId token is valid for 15 minutes. -- -- This is a public API. You do not need any credentials to call this API.------ /See:/ <http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_GetOpenIdToken.html AWS API Reference> for GetOpenIdToken. module Network.AWS.CognitoIdentity.GetOpenIdToken ( -- * Creating a Request@@ -97,6 +95,8 @@ GetOpenIdTokenResponse' <$> (x .?> "Token") <*> (x .?> "IdentityId") <*> (pure (fromEnum s)))++instance Hashable GetOpenIdToken instance ToHeaders GetOpenIdToken where toHeaders
gen/Network/AWS/CognitoIdentity/GetOpenIdTokenForDeveloperIdentity.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity--- 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 @@ -- specified 'IdentityPoolId'. -- -- You must use AWS Developer credentials to call this API.------ /See:/ <http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_GetOpenIdTokenForDeveloperIdentity.html AWS API Reference> for GetOpenIdTokenForDeveloperIdentity. module Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity ( -- * Creating a Request@@ -140,6 +138,8 @@ GetOpenIdTokenForDeveloperIdentityResponse' <$> (x .?> "Token") <*> (x .?> "IdentityId") <*> (pure (fromEnum s)))++instance Hashable GetOpenIdTokenForDeveloperIdentity instance ToHeaders GetOpenIdTokenForDeveloperIdentity where
gen/Network/AWS/CognitoIdentity/ListIdentities.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoIdentity.ListIdentities--- 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@@ -21,8 +21,6 @@ -- Lists the identities in a pool. -- -- You must use AWS Developer credentials to call this API.------ /See:/ <http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_ListIdentities.html AWS API Reference> for ListIdentities. module Network.AWS.CognitoIdentity.ListIdentities ( -- * Creating a Request@@ -112,6 +110,8 @@ (x .?> "IdentityPoolId") <*> (x .?> "NextToken") <*> (x .?> "Identities" .!@ mempty) <*> (pure (fromEnum s)))++instance Hashable ListIdentities instance ToHeaders ListIdentities where toHeaders
gen/Network/AWS/CognitoIdentity/ListIdentityPools.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoIdentity.ListIdentityPools--- 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@@ -21,8 +21,6 @@ -- Lists all of the Cognito identity pools registered for your account. -- -- You must use AWS Developer credentials to call this API.------ /See:/ <http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_ListIdentityPools.html AWS API Reference> for ListIdentityPools. module Network.AWS.CognitoIdentity.ListIdentityPools ( -- * Creating a Request@@ -90,6 +88,8 @@ (x .?> "IdentityPools" .!@ mempty) <*> (x .?> "NextToken") <*> (pure (fromEnum s)))++instance Hashable ListIdentityPools instance ToHeaders ListIdentityPools where toHeaders
gen/Network/AWS/CognitoIdentity/LookupDeveloperIdentity.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoIdentity.LookupDeveloperIdentity--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -30,8 +30,6 @@ -- 'ResourceConflictException' is thrown. -- -- You must use AWS Developer credentials to call this API.------ /See:/ <http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_LookupDeveloperIdentity.html AWS API Reference> for LookupDeveloperIdentity. module Network.AWS.CognitoIdentity.LookupDeveloperIdentity ( -- * Creating a Request@@ -135,6 +133,8 @@ (x .?> "NextToken") <*> (x .?> "IdentityId") <*> (x .?> "DeveloperUserIdentifierList" .!@ mempty) <*> (pure (fromEnum s)))++instance Hashable LookupDeveloperIdentity instance ToHeaders LookupDeveloperIdentity where toHeaders
gen/Network/AWS/CognitoIdentity/MergeDeveloperIdentities.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoIdentity.MergeDeveloperIdentities--- 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@@ -28,8 +28,6 @@ -- provider, but as two different users, an exception will be thrown. -- -- You must use AWS Developer credentials to call this API.------ /See:/ <http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_MergeDeveloperIdentities.html AWS API Reference> for MergeDeveloperIdentities. module Network.AWS.CognitoIdentity.MergeDeveloperIdentities ( -- * Creating a Request@@ -123,6 +121,8 @@ (\ s h x -> MergeDeveloperIdentitiesResponse' <$> (x .?> "IdentityId") <*> (pure (fromEnum s)))++instance Hashable MergeDeveloperIdentities instance ToHeaders MergeDeveloperIdentities where toHeaders
gen/Network/AWS/CognitoIdentity/SetIdentityPoolRoles.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoIdentity.SetIdentityPoolRoles--- 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 @@ -- calls to 'GetCredentialsForIdentity' action. -- -- You must use AWS Developer credentials to call this API.------ /See:/ <http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_SetIdentityPoolRoles.html AWS API Reference> for SetIdentityPoolRoles. module Network.AWS.CognitoIdentity.SetIdentityPoolRoles ( -- * Creating a Request@@ -84,6 +82,8 @@ SetIdentityPoolRolesResponse request = postJSON cognitoIdentity response = receiveNull SetIdentityPoolRolesResponse'++instance Hashable SetIdentityPoolRoles instance ToHeaders SetIdentityPoolRoles where toHeaders
gen/Network/AWS/CognitoIdentity/Types.hs view
@@ -4,7 +4,7 @@ -- | -- Module : Network.AWS.CognitoIdentity.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@@ -99,6 +99,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/CognitoIdentity/Types/Product.hs view
@@ -9,7 +9,7 @@ -- | -- Module : Network.AWS.CognitoIdentity.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@@ -77,6 +77,8 @@ (x .:? "SecretKey") <*> (x .:? "AccessKeyId")) +instance Hashable Credentials+ -- | A description of the identity. -- -- /See:/ 'identityDescription' smart constructor.@@ -134,6 +136,8 @@ <*> (x .:? "Logins" .!= mempty) <*> (x .:? "IdentityId")) +instance Hashable IdentityDescription+ -- | An object representing a Cognito identity pool. -- -- /See:/ 'identityPool' smart constructor.@@ -212,6 +216,8 @@ <*> (x .: "IdentityPoolName") <*> (x .: "AllowUnauthenticatedIdentities")) +instance Hashable IdentityPool+ instance ToJSON IdentityPool where toJSON IdentityPool'{..} = object@@ -267,6 +273,8 @@ (x .:? "IdentityPoolId") <*> (x .:? "IdentityPoolName")) +instance Hashable IdentityPoolShortDescription+ -- | An array of UnprocessedIdentityId objects, each of which contains an -- ErrorCode and IdentityId. --@@ -305,3 +313,5 @@ (\ x -> UnprocessedIdentityId' <$> (x .:? "ErrorCode") <*> (x .:? "IdentityId"))++instance Hashable UnprocessedIdentityId
gen/Network/AWS/CognitoIdentity/Types/Sum.hs view
@@ -9,7 +9,7 @@ -- | -- Module : Network.AWS.CognitoIdentity.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/CognitoIdentity/UnlinkDeveloperIdentity.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity--- 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 @@ -- identity becomes inaccessible. -- -- You must use AWS Developer credentials to call this API.------ /See:/ <http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_UnlinkDeveloperIdentity.html AWS API Reference> for UnlinkDeveloperIdentity. module Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity ( -- * Creating a Request@@ -108,6 +106,8 @@ request = postJSON cognitoIdentity response = receiveNull UnlinkDeveloperIdentityResponse'++instance Hashable UnlinkDeveloperIdentity instance ToHeaders UnlinkDeveloperIdentity where toHeaders
gen/Network/AWS/CognitoIdentity/UnlinkIdentity.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoIdentity.UnlinkIdentity--- 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 @@ -- last linked login will make this identity inaccessible. -- -- This is a public API. You do not need any credentials to call this API.------ /See:/ <http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_UnlinkIdentity.html AWS API Reference> for UnlinkIdentity. module Network.AWS.CognitoIdentity.UnlinkIdentity ( -- * Creating a Request@@ -92,6 +90,8 @@ type Rs UnlinkIdentity = UnlinkIdentityResponse request = postJSON cognitoIdentity response = receiveNull UnlinkIdentityResponse'++instance Hashable UnlinkIdentity instance ToHeaders UnlinkIdentity where toHeaders
gen/Network/AWS/CognitoIdentity/UpdateIdentityPool.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CognitoIdentity.UpdateIdentityPool--- 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@@ -21,8 +21,6 @@ -- Updates a user pool. -- -- You must use AWS Developer credentials to call this API.------ /See:/ <http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_UpdateIdentityPool.html AWS API Reference> for UpdateIdentityPool. module Network.AWS.CognitoIdentity.UpdateIdentityPool ( -- * Creating a Request@@ -125,6 +123,8 @@ type Rs UpdateIdentityPool = IdentityPool request = postJSON cognitoIdentity response = receiveJSON (\ s h x -> eitherParseJSON x)++instance Hashable UpdateIdentityPool instance ToHeaders UpdateIdentityPool where toHeaders
gen/Network/AWS/CognitoIdentity/Waiters.hs view
@@ -7,7 +7,7 @@ -- | -- Module : Network.AWS.CognitoIdentity.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/CognitoIdentity.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE OverloadedStrings #-} -- Module : Test.AWS.CognitoIdentity--- 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/CognitoIdentity/Internal.hs view
@@ -2,7 +2,7 @@ {-# OPTIONS_GHC -fno-warn-unused-imports #-} -- Module : Test.AWS.CognitoIdentity.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/CognitoIdentity.hs view
@@ -5,7 +5,7 @@ -- | -- Module : Test.AWS.Gen.CognitoIdentity--- 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