packages feed

amazonka-cognito-identity 1.4.2 → 1.4.3

raw patch · 22 files changed

+281/−373 lines, 22 filesdep ~amazonka-cognito-identitydep ~amazonka-coredep ~amazonka-testPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: amazonka-cognito-identity, amazonka-core, amazonka-test

API changes (from Hackage documentation)

- Network.AWS.CognitoIdentity.CreateIdentityPool: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CognitoIdentity.CreateIdentityPool.CreateIdentityPool
- Network.AWS.CognitoIdentity.DeleteIdentities: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CognitoIdentity.DeleteIdentities.DeleteIdentities
- Network.AWS.CognitoIdentity.DeleteIdentityPool: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPool
- Network.AWS.CognitoIdentity.DescribeIdentity: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CognitoIdentity.DescribeIdentity.DescribeIdentity
- Network.AWS.CognitoIdentity.DescribeIdentityPool: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CognitoIdentity.DescribeIdentityPool.DescribeIdentityPool
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentity
- Network.AWS.CognitoIdentity.GetId: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CognitoIdentity.GetId.GetId
- Network.AWS.CognitoIdentity.GetIdentityPoolRoles: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRoles
- Network.AWS.CognitoIdentity.GetOpenIdToken: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CognitoIdentity.GetOpenIdToken.GetOpenIdToken
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentity
- Network.AWS.CognitoIdentity.ListIdentities: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CognitoIdentity.ListIdentities.ListIdentities
- Network.AWS.CognitoIdentity.ListIdentityPools: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CognitoIdentity.ListIdentityPools.ListIdentityPools
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentity
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentities
- Network.AWS.CognitoIdentity.SetIdentityPoolRoles: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRoles
- Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentity
- Network.AWS.CognitoIdentity.UnlinkIdentity: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CognitoIdentity.UnlinkIdentity.UnlinkIdentity
- Network.AWS.CognitoIdentity.UpdateIdentityPool: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CognitoIdentity.UpdateIdentityPool.UpdateIdentityPool
+ Network.AWS.CognitoIdentity.CreateIdentityPool: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.CreateIdentityPool.CreateIdentityPool
+ Network.AWS.CognitoIdentity.DeleteIdentities: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.DeleteIdentities.DeleteIdentities
+ Network.AWS.CognitoIdentity.DeleteIdentityPool: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPool
+ Network.AWS.CognitoIdentity.DescribeIdentity: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.DescribeIdentity.DescribeIdentity
+ Network.AWS.CognitoIdentity.DescribeIdentityPool: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.DescribeIdentityPool.DescribeIdentityPool
+ Network.AWS.CognitoIdentity.GetCredentialsForIdentity: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentity
+ Network.AWS.CognitoIdentity.GetId: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.GetId.GetId
+ Network.AWS.CognitoIdentity.GetIdentityPoolRoles: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRoles
+ Network.AWS.CognitoIdentity.GetOpenIdToken: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.GetOpenIdToken.GetOpenIdToken
+ Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentity
+ Network.AWS.CognitoIdentity.ListIdentities: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.ListIdentities.ListIdentities
+ Network.AWS.CognitoIdentity.ListIdentityPools: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.ListIdentityPools.ListIdentityPools
+ Network.AWS.CognitoIdentity.LookupDeveloperIdentity: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentity
+ Network.AWS.CognitoIdentity.MergeDeveloperIdentities: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentities
+ Network.AWS.CognitoIdentity.SetIdentityPoolRoles: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRoles
+ Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentity
+ Network.AWS.CognitoIdentity.UnlinkIdentity: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.UnlinkIdentity.UnlinkIdentity
+ Network.AWS.CognitoIdentity.UpdateIdentityPool: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.UpdateIdentityPool.UpdateIdentityPool

Files

README.md view
@@ -8,48 +8,74 @@  ## Version -`1.4.2`+`1.4.3`   ## Description  Amazon Cognito -Amazon Cognito is a web service that delivers scoped temporary-credentials to mobile devices and other untrusted environments. Amazon-Cognito uniquely identifies a device and supplies the user with a-consistent identity over the lifetime of an application.+Amazon Cognito is a web service that delivers scoped temporary credentials to mobile devices and other untrusted environments. Amazon Cognito uniquely identifies a device and supplies the user with a consistent identity over the lifetime of an application. -Using Amazon Cognito, you can enable authentication with one or more-third-party identity providers (Facebook, Google, or Login with Amazon),-and you can also choose to support unauthenticated access from your app.-Cognito delivers a unique identifier for each user and acts as an OpenID-token provider trusted by AWS Security Token Service (STS) to access-temporary, limited-privilege AWS credentials.+Using Amazon Cognito, you can enable authentication with one or more third-party identity providers (Facebook, Google, or Login with Amazon), and you can also choose to support unauthenticated access from your app. Cognito delivers a unique identifier for each user and acts as an OpenID 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-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,-@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>,-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-token returned by @GetOpenIdToken@ can be passed to the STS operation-<http://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html AssumeRoleWithWebIdentity>-to retrieve AWS credentials.+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, +    @+    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>, 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 token returned by +    @+    GetOpenIdToken+    @+     can be passed to the STS operation <http://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html AssumeRoleWithWebIdentity> to retrieve AWS credentials. -If you want to use Amazon Cognito in an Android, iOS, or Unity-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>.+If you want to use Amazon Cognito in an Android, iOS, or Unity 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>.  Documentation is available via [Hackage](http://hackage.haskell.org/package/amazonka-cognito-identity) and the [AWS API Reference](https://aws.amazon.com/documentation/).
amazonka-cognito-identity.cabal view
@@ -1,5 +1,5 @@ name:                  amazonka-cognito-identity-version:               1.4.2+version:               1.4.3 synopsis:              Amazon Cognito Identity SDK. homepage:              https://github.com/brendanhay/amazonka bug-reports:           https://github.com/brendanhay/amazonka/issues@@ -15,41 +15,67 @@ description:     Amazon Cognito -    Amazon Cognito is a web service that delivers scoped temporary-    credentials to mobile devices and other untrusted environments. Amazon-    Cognito uniquely identifies a device and supplies the user with a-    consistent identity over the lifetime of an application.+    Amazon Cognito is a web service that delivers scoped temporary credentials to mobile devices and other untrusted environments. Amazon Cognito uniquely identifies a device and supplies the user with a consistent identity over the lifetime of an application. -    Using Amazon Cognito, you can enable authentication with one or more-    third-party identity providers (Facebook, Google, or Login with Amazon),-    and you can also choose to support unauthenticated access from your app.-    Cognito delivers a unique identifier for each user and acts as an OpenID-    token provider trusted by AWS Security Token Service (STS) to access-    temporary, limited-privilege AWS credentials.+    Using Amazon Cognito, you can enable authentication with one or more third-party identity providers (Facebook, Google, or Login with Amazon), and you can also choose to support unauthenticated access from your app. Cognito delivers a unique identifier for each user and acts as an OpenID 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-    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,-    @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>,-    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-    token returned by @GetOpenIdToken@ can be passed to the STS operation-    <http://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html AssumeRoleWithWebIdentity>-    to retrieve AWS credentials.+    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, +    @+    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>, 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 token returned by +    @+    GetOpenIdToken+    @+     can be passed to the STS operation <http://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html AssumeRoleWithWebIdentity> to retrieve AWS credentials. -    If you want to use Amazon Cognito in an Android, iOS, or Unity-    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>.+    If you want to use Amazon Cognito in an Android, iOS, or Unity 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>.     .     The types from this library are intended to be used with     <http://hackage.haskell.org/package/amazonka amazonka>, which provides@@ -103,7 +129,7 @@         , Network.AWS.CognitoIdentity.Types.Sum      build-depends:-          amazonka-core == 1.4.2.*+          amazonka-core == 1.4.3.*         , base          >= 4.7     && < 5  test-suite amazonka-cognito-identity-test@@ -123,9 +149,9 @@         , Test.AWS.CognitoIdentity.Internal      build-depends:-          amazonka-core == 1.4.2.*-        , amazonka-test == 1.4.2.*-        , amazonka-cognito-identity == 1.4.2.*+          amazonka-core == 1.4.3.*+        , amazonka-test == 1.4.3.*+        , amazonka-cognito-identity == 1.4.3.*         , base         , bytestring         , tasty
gen/Network/AWS/CognitoIdentity.hs view
@@ -13,41 +13,15 @@ -- -- Amazon Cognito ----- Amazon Cognito is a web service that delivers scoped temporary--- credentials to mobile devices and other untrusted environments. Amazon--- Cognito uniquely identifies a device and supplies the user with a--- consistent identity over the lifetime of an application.+-- Amazon Cognito is a web service that delivers scoped temporary credentials to mobile devices and other untrusted environments. Amazon Cognito uniquely identifies a device and supplies the user with a consistent identity over the lifetime of an application. ----- Using Amazon Cognito, you can enable authentication with one or more--- third-party identity providers (Facebook, Google, or Login with Amazon),--- and you can also choose to support unauthenticated access from your app.--- Cognito delivers a unique identifier for each user and acts as an OpenID--- token provider trusted by AWS Security Token Service (STS) to access--- temporary, limited-privilege AWS credentials.+-- Using Amazon Cognito, you can enable authentication with one or more third-party identity providers (Facebook, Google, or Login with Amazon), and you can also choose to support unauthenticated access from your app. Cognito delivers a unique identifier for each user and acts as an OpenID 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--- 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,--- '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>,--- 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--- token returned by 'GetOpenIdToken' can be passed to the STS operation--- <http://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html AssumeRoleWithWebIdentity>--- to retrieve AWS credentials.+-- 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, '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>, 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 token returned by 'GetOpenIdToken' can be passed to the STS operation <http://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html AssumeRoleWithWebIdentity> to retrieve AWS credentials. ----- If you want to use Amazon Cognito in an Android, iOS, or Unity--- 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>.+-- If you want to use Amazon Cognito in an Android, iOS, or Unity 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>. module Network.AWS.CognitoIdentity     (     -- * Service Configuration
gen/Network/AWS/CognitoIdentity/CreateIdentityPool.hs view
@@ -18,10 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates a new identity pool. The identity pool is a store of user--- identity information that is specific to your AWS account. The limit on--- identity pools is 60 per account. The keys for 'SupportedLoginProviders'--- are as follows:+-- Creates a new identity pool. The identity pool is a store of user identity information that is specific to your AWS account. The limit on identity pools is 60 per account. The keys for 'SupportedLoginProviders' are as follows: -- -- -   Facebook: 'graph.facebook.com' -- -   Google: 'accounts.google.com'@@ -108,14 +105,9 @@ cipSupportedLoginProviders :: Lens' CreateIdentityPool (HashMap Text Text) cipSupportedLoginProviders = lens _cipSupportedLoginProviders (\ s a -> s{_cipSupportedLoginProviders = a}) . _Default . _Map; --- | The \"domain\" by which Cognito will refer to your users. This name acts--- as a placeholder that allows your backend and the Cognito service to--- communicate about the developer provider. For the--- 'DeveloperProviderName', you can use letters as well as period ('.'),--- underscore ('_'), and dash ('-').+-- | The \"domain\" by which Cognito will refer to your users. This name acts as a placeholder that allows your backend and the Cognito service to communicate about the developer provider. For the 'DeveloperProviderName', you can use letters as well as period ('.'), underscore ('_'), and dash ('-'). ----- Once you have set a developer provider name, you cannot change it.--- Please take care in setting this parameter.+-- Once you have set a developer provider name, you cannot change it. Please take care in setting this parameter. cipDeveloperProviderName :: Lens' CreateIdentityPool (Maybe Text) cipDeveloperProviderName = lens _cipDeveloperProviderName (\ s a -> s{_cipDeveloperProviderName = a}); 
gen/Network/AWS/CognitoIdentity/DeleteIdentities.hs view
@@ -18,8 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes identities from an identity pool. You can specify a list of 1-60--- identities that you want to delete.+-- Deletes identities from an identity pool. You can specify a list of 1-60 identities that you want to delete. -- -- You must use AWS Developer credentials to call this API. module Network.AWS.CognitoIdentity.DeleteIdentities@@ -130,8 +129,7 @@     , _dirsResponseStatus = pResponseStatus_     } --- | An array of UnprocessedIdentityId objects, each of which contains an--- ErrorCode and IdentityId.+-- | An array of UnprocessedIdentityId objects, each of which contains an ErrorCode and IdentityId. dirsUnprocessedIdentityIds :: Lens' DeleteIdentitiesResponse [UnprocessedIdentityId] dirsUnprocessedIdentityIds = lens _dirsUnprocessedIdentityIds (\ s a -> s{_dirsUnprocessedIdentityIds = a}) . _Default . _Coerce; 
gen/Network/AWS/CognitoIdentity/DeleteIdentityPool.hs view
@@ -18,8 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes a user pool. Once a pool is deleted, users will not be able to--- authenticate with the pool.+-- Deletes a user pool. Once a pool is deleted, users will not be able to authenticate with the pool. -- -- You must use AWS Developer credentials to call this API. module Network.AWS.CognitoIdentity.DeleteIdentityPool
gen/Network/AWS/CognitoIdentity/DescribeIdentity.hs view
@@ -18,8 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns metadata related to the given identity, including when the--- identity was created and any associated linked logins.+-- Returns metadata related to the given identity, including when the identity was created and any associated linked logins. -- -- You must use AWS Developer credentials to call this API. module Network.AWS.CognitoIdentity.DescribeIdentity
gen/Network/AWS/CognitoIdentity/DescribeIdentityPool.hs view
@@ -18,8 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Gets details about a particular identity pool, including the pool name,--- ID description, creation date, and current number of users.+-- Gets details about a particular identity pool, including the pool name, ID description, creation date, and current number of users. -- -- You must use AWS Developer credentials to call this API. module Network.AWS.CognitoIdentity.DescribeIdentityPool
gen/Network/AWS/CognitoIdentity/GetCredentialsForIdentity.hs view
@@ -18,10 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns credentials for the provided identity ID. Any provided logins--- will be validated against supported login providers. If the token is for--- cognito-identity.amazonaws.com, it will be passed through to AWS--- Security Token Service with the appropriate role for the token.+-- Returns credentials for the provided identity ID. Any provided logins will be validated against supported login providers. If the token is for cognito-identity.amazonaws.com, it will be passed through to AWS 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. module Network.AWS.CognitoIdentity.GetCredentialsForIdentity@@ -73,8 +70,7 @@     , _gcfiIdentityId = pIdentityId_     } --- | A set of optional name-value pairs that map provider names to provider--- tokens.+-- | A set of optional name-value pairs that map provider names to provider tokens. gcfiLogins :: Lens' GetCredentialsForIdentity (HashMap Text Text) gcfiLogins = lens _gcfiLogins (\ s a -> s{_gcfiLogins = a}) . _Default . _Map; @@ -120,8 +116,7 @@ instance ToQuery GetCredentialsForIdentity where         toQuery = const mempty --- | Returned in response to a successful 'GetCredentialsForIdentity'--- operation.+-- | Returned in response to a successful 'GetCredentialsForIdentity' operation. -- -- /See:/ 'getCredentialsForIdentityResponse' smart constructor. data GetCredentialsForIdentityResponse = GetCredentialsForIdentityResponse'
gen/Network/AWS/CognitoIdentity/GetId.hs view
@@ -18,8 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Generates (or retrieves) a Cognito ID. Supplying multiple logins will--- create an implicit linked account.+-- Generates (or retrieves) a Cognito ID. Supplying multiple logins will create an implicit linked account. -- -- This is a public API. You do not need any credentials to call this API. module Network.AWS.CognitoIdentity.GetId@@ -79,14 +78,12 @@ giAccountId :: Lens' GetId (Maybe Text) giAccountId = lens _giAccountId (\ s a -> s{_giAccountId = a}); --- | A set of optional name-value pairs that map provider names to provider--- tokens.+-- | A set of optional name-value pairs that map provider names to provider tokens. -- -- The available provider names for 'Logins' are as follows: -- -- -   Facebook: 'graph.facebook.com'--- -   Amazon Cognito Identity Provider:---     'cognito-idp.us-east-1.amazonaws.com\/us-east-1_123456789'+-- -   Amazon Cognito Identity Provider: 'cognito-idp.us-east-1.amazonaws.com\/us-east-1_123456789' -- -   Google: 'accounts.google.com' -- -   Amazon: 'www.amazon.com' -- -   Twitter: 'api.twitter.com'
gen/Network/AWS/CognitoIdentity/GetIdentityPoolRoles.hs view
@@ -135,8 +135,7 @@     , _giprrsResponseStatus = pResponseStatus_     } --- | The map of roles associated with this pool. Currently only authenticated--- and unauthenticated roles are supported.+-- | The map of roles associated with this pool. Currently only authenticated and unauthenticated roles are supported. giprrsRoles :: Lens' GetIdentityPoolRolesResponse (HashMap Text Text) giprrsRoles = lens _giprrsRoles (\ s a -> s{_giprrsRoles = a}) . _Default . _Map; 
gen/Network/AWS/CognitoIdentity/GetOpenIdToken.hs view
@@ -18,9 +18,7 @@ -- 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--- identity. Supplying multiple logins creates an implicit link.+-- 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 identity. Supplying multiple logins creates an implicit link. -- -- The OpenId token is valid for 15 minutes. --@@ -74,11 +72,7 @@     , _goitIdentityId = pIdentityId_     } --- | A set of optional name-value pairs that map provider names to provider--- tokens. When using graph.facebook.com and www.amazon.com, supply the--- access_token returned from the provider\'s authflow. For--- accounts.google.com, an Amazon Cognito Identity Provider, or any other--- OpenId Connect provider, always include the 'id_token'.+-- | A set of optional name-value pairs that map provider names to provider tokens. When using graph.facebook.com and www.amazon.com, supply the access_token returned from the provider\'s authflow. For accounts.google.com, an Amazon Cognito Identity Provider, or any other OpenId Connect provider, always include the 'id_token'. goitLogins :: Lens' GetOpenIdToken (HashMap Text Text) goitLogins = lens _goitLogins (\ s a -> s{_goitLogins = a}) . _Default . _Map; @@ -155,8 +149,7 @@ goitrsToken :: Lens' GetOpenIdTokenResponse (Maybe Text) goitrsToken = lens _goitrsToken (\ s a -> s{_goitrsToken = a}); --- | A unique identifier in the format REGION:GUID. Note that the IdentityId--- returned may not match the one passed on input.+-- | A unique identifier in the format REGION:GUID. Note that the IdentityId returned may not match the one passed on input. goitrsIdentityId :: Lens' GetOpenIdTokenResponse (Maybe Text) goitrsIdentityId = lens _goitrsIdentityId (\ s a -> s{_goitrsIdentityId = a}); 
gen/Network/AWS/CognitoIdentity/GetOpenIdTokenForDeveloperIdentity.hs view
@@ -18,21 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Registers (or retrieves) a Cognito 'IdentityId' and an OpenID Connect--- token for a user authenticated by your backend authentication process.--- Supplying multiple logins will create an implicit linked account. You--- can only specify one developer provider as part of the 'Logins' map,--- which is linked to the identity pool. The developer provider is the--- \"domain\" by which Cognito will refer to your users.+-- Registers (or retrieves) a Cognito 'IdentityId' and an OpenID Connect token for a user authenticated by your backend authentication process. Supplying multiple logins will create an implicit linked account. You can only specify one developer provider as part of the 'Logins' map, which is linked to the identity pool. The developer provider is the \"domain\" by which Cognito will refer to your users. ----- You can use 'GetOpenIdTokenForDeveloperIdentity' to create a new--- identity and to link new logins (that is, user credentials issued by a--- public provider or developer provider) to an existing identity. When you--- want to create a new identity, the 'IdentityId' should be null. When you--- want to associate a new login with an existing--- authenticated\/unauthenticated identity, you can do so by providing the--- existing 'IdentityId'. This API will create the identity in the--- specified 'IdentityPoolId'.+-- You can use 'GetOpenIdTokenForDeveloperIdentity' to create a new identity and to link new logins (that is, user credentials issued by a public provider or developer provider) to an existing identity. When you want to create a new identity, the 'IdentityId' should be null. When you want to associate a new login with an existing authenticated\/unauthenticated identity, you can do so by providing the existing 'IdentityId'. This API will create the identity in the specified 'IdentityPoolId'. -- -- You must use AWS Developer credentials to call this API. module Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity@@ -94,15 +82,7 @@     , _goitfdiLogins = mempty     } --- | The expiration time of the token, in seconds. You can specify a custom--- expiration time for the token so that you can cache it. If you don\'t--- provide an expiration time, the token is valid for 15 minutes. You can--- exchange the token with Amazon STS for temporary AWS credentials, which--- are valid for a maximum of one hour. The maximum token duration you can--- set is 24 hours. You should take care in setting the expiration time for--- a token, as there are significant security implications: an attacker--- could use a leaked token to access your AWS resources for the token\'s--- duration.+-- | The expiration time of the token, in seconds. You can specify a custom expiration time for the token so that you can cache it. If you don\'t provide an expiration time, the token is valid for 15 minutes. You can exchange the token with Amazon STS for temporary AWS credentials, which are valid for a maximum of one hour. The maximum token duration you can set is 24 hours. You should take care in setting the expiration time for a token, as there are significant security implications: an attacker could use a leaked token to access your AWS resources for the token\'s duration. goitfdiTokenDuration :: Lens' GetOpenIdTokenForDeveloperIdentity (Maybe Natural) goitfdiTokenDuration = lens _goitfdiTokenDuration (\ s a -> s{_goitfdiTokenDuration = a}) . mapping _Nat; @@ -114,16 +94,7 @@ goitfdiIdentityPoolId :: Lens' GetOpenIdTokenForDeveloperIdentity Text goitfdiIdentityPoolId = lens _goitfdiIdentityPoolId (\ s a -> s{_goitfdiIdentityPoolId = a}); --- | A set of optional name-value pairs that map provider names to provider--- tokens. Each name-value pair represents a user from a public provider or--- developer provider. If the user is from a developer provider, the--- name-value pair will follow the syntax--- '\"developer_provider_name\": \"developer_user_identifier\"'. The--- developer provider is the \"domain\" by which Cognito will refer to your--- users; you provided this domain while creating\/updating the identity--- pool. The developer user identifier is an identifier from your backend--- that uniquely identifies a user. When you create an identity pool, you--- can specify the supported logins.+-- | A set of optional name-value pairs that map provider names to provider tokens. Each name-value pair represents a user from a public provider or developer provider. If the user is from a developer provider, the name-value pair will follow the syntax '\"developer_provider_name\": \"developer_user_identifier\"'. The developer provider is the \"domain\" by which Cognito will refer to your users; you provided this domain while creating\/updating the identity pool. The developer user identifier is an identifier from your backend that uniquely identifies a user. When you create an identity pool, you can specify the supported logins. goitfdiLogins :: Lens' GetOpenIdTokenForDeveloperIdentity (HashMap Text Text) goitfdiLogins = lens _goitfdiLogins (\ s a -> s{_goitfdiLogins = a}) . _Map; @@ -172,8 +143,7 @@          where         toQuery = const mempty --- | Returned in response to a successful--- 'GetOpenIdTokenForDeveloperIdentity' request.+-- | Returned in response to a successful 'GetOpenIdTokenForDeveloperIdentity' request. -- -- /See:/ 'getOpenIdTokenForDeveloperIdentityResponse' smart constructor. data GetOpenIdTokenForDeveloperIdentityResponse = GetOpenIdTokenForDeveloperIdentityResponse'
gen/Network/AWS/CognitoIdentity/ListIdentities.hs view
@@ -82,9 +82,7 @@     , _liMaxResults = _Nat # pMaxResults_     } --- | An optional boolean parameter that allows you to hide disabled--- identities. If omitted, the ListIdentities API will include disabled--- identities in the response.+-- | An optional boolean parameter that allows you to hide disabled identities. If omitted, the ListIdentities API will include disabled identities in the response. liHideDisabled :: Lens' ListIdentities (Maybe Bool) liHideDisabled = lens _liHideDisabled (\ s a -> s{_liHideDisabled = a}); 
gen/Network/AWS/CognitoIdentity/LookupDeveloperIdentity.hs view
@@ -18,16 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Retrieves the 'IdentityID' associated with a 'DeveloperUserIdentifier'--- or the list of 'DeveloperUserIdentifier's associated with an--- 'IdentityId' for an existing identity. Either 'IdentityID' or--- 'DeveloperUserIdentifier' must not be null. If you supply only one of--- these values, the other value will be searched in the database and--- returned as a part of the response. If you supply both,--- 'DeveloperUserIdentifier' will be matched against 'IdentityID'. If the--- values are verified against the database, the response returns both--- values and is the same as the request. Otherwise a--- 'ResourceConflictException' is thrown.+-- Retrieves the 'IdentityID' associated with a 'DeveloperUserIdentifier' or the list of 'DeveloperUserIdentifier's associated with an 'IdentityId' for an existing identity. Either 'IdentityID' or 'DeveloperUserIdentifier' must not be null. If you supply only one of these values, the other value will be searched in the database and returned as a part of the response. If you supply both, 'DeveloperUserIdentifier' will be matched against 'IdentityID'. If the values are verified against the database, the response returns both values and is the same as the request. Otherwise a 'ResourceConflictException' is thrown. -- -- You must use AWS Developer credentials to call this API. module Network.AWS.CognitoIdentity.LookupDeveloperIdentity@@ -95,18 +86,11 @@     , _ldiIdentityPoolId = pIdentityPoolId_     } --- | A unique ID used by your backend authentication process to identify a--- user. Typically, a developer identity provider would issue many--- developer user identifiers, in keeping with the number of users.+-- | A unique ID used by your backend authentication process to identify a user. Typically, a developer identity provider would issue many developer user identifiers, in keeping with the number of users. ldiDeveloperUserIdentifier :: Lens' LookupDeveloperIdentity (Maybe Text) ldiDeveloperUserIdentifier = lens _ldiDeveloperUserIdentifier (\ s a -> s{_ldiDeveloperUserIdentifier = a}); --- | A pagination token. The first call you make will have 'NextToken' set to--- null. After that the service will return 'NextToken' values as needed.--- For example, let\'s say you make a request with 'MaxResults' set to 10,--- and there are 20 matches in the database. The service will return a--- pagination token as a part of the response. This token can be used to--- call the API again and get results starting from the 11th match.+-- | A pagination token. The first call you make will have 'NextToken' set to null. After that the service will return 'NextToken' values as needed. For example, let\'s say you make a request with 'MaxResults' set to 10, and there are 20 matches in the database. The service will return a pagination token as a part of the response. This token can be used to call the API again and get results starting from the 11th match. ldiNextToken :: Lens' LookupDeveloperIdentity (Maybe Text) ldiNextToken = lens _ldiNextToken (\ s a -> s{_ldiNextToken = a}); @@ -197,12 +181,7 @@     , _ldirsResponseStatus = pResponseStatus_     } --- | A pagination token. The first call you make will have 'NextToken' set to--- null. After that the service will return 'NextToken' values as needed.--- For example, let\'s say you make a request with 'MaxResults' set to 10,--- and there are 20 matches in the database. The service will return a--- pagination token as a part of the response. This token can be used to--- call the API again and get results starting from the 11th match.+-- | A pagination token. The first call you make will have 'NextToken' set to null. After that the service will return 'NextToken' values as needed. For example, let\'s say you make a request with 'MaxResults' set to 10, and there are 20 matches in the database. The service will return a pagination token as a part of the response. This token can be used to call the API again and get results starting from the 11th match. ldirsNextToken :: Lens' LookupDeveloperIdentityResponse (Maybe Text) ldirsNextToken = lens _ldirsNextToken (\ s a -> s{_ldirsNextToken = a}); @@ -210,9 +189,7 @@ ldirsIdentityId :: Lens' LookupDeveloperIdentityResponse (Maybe Text) ldirsIdentityId = lens _ldirsIdentityId (\ s a -> s{_ldirsIdentityId = a}); --- | This is the list of developer user identifiers associated with an--- identity ID. Cognito supports the association of multiple developer user--- identifiers with an identity ID.+-- | This is the list of developer user identifiers associated with an identity ID. Cognito supports the association of multiple developer user identifiers with an identity ID. ldirsDeveloperUserIdentifierList :: Lens' LookupDeveloperIdentityResponse [Text] ldirsDeveloperUserIdentifierList = lens _ldirsDeveloperUserIdentifierList (\ s a -> s{_ldirsDeveloperUserIdentifierList = a}) . _Default . _Coerce; 
gen/Network/AWS/CognitoIdentity/MergeDeveloperIdentities.hs view
@@ -18,14 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Merges two users having different 'IdentityId's, existing in the same--- identity pool, and identified by the same developer provider. You can--- use this action to request that discrete users be merged and identified--- as a single user in the Cognito environment. Cognito associates the--- given source user ('SourceUserIdentifier') with the 'IdentityId' of the--- 'DestinationUserIdentifier'. Only developer-authenticated users can be--- merged. If the users to be merged are associated with the same public--- provider, but as two different users, an exception will be thrown.+-- Merges two users having different 'IdentityId's, existing in the same identity pool, and identified by the same developer provider. You can use this action to request that discrete users be merged and identified as a single user in the Cognito environment. Cognito associates the given source user ('SourceUserIdentifier') with the 'IdentityId' of the 'DestinationUserIdentifier'. Only developer-authenticated users can be merged. If the users to be merged are associated with the same public provider, but as two different users, an exception will be thrown. -- -- You must use AWS Developer credentials to call this API. module Network.AWS.CognitoIdentity.MergeDeveloperIdentities@@ -89,22 +82,15 @@     , _mdiIdentityPoolId = pIdentityPoolId_     } --- | User identifier for the source user. The value should be a--- 'DeveloperUserIdentifier'.+-- | User identifier for the source user. The value should be a 'DeveloperUserIdentifier'. mdiSourceUserIdentifier :: Lens' MergeDeveloperIdentities Text mdiSourceUserIdentifier = lens _mdiSourceUserIdentifier (\ s a -> s{_mdiSourceUserIdentifier = a}); --- | User identifier for the destination user. The value should be a--- 'DeveloperUserIdentifier'.+-- | User identifier for the destination user. The value should be a 'DeveloperUserIdentifier'. mdiDestinationUserIdentifier :: Lens' MergeDeveloperIdentities Text mdiDestinationUserIdentifier = lens _mdiDestinationUserIdentifier (\ s a -> s{_mdiDestinationUserIdentifier = a}); --- | The \"domain\" by which Cognito will refer to your users. This is a--- (pseudo) domain name that you provide while creating an identity pool.--- This name acts as a placeholder that allows your backend and the Cognito--- service to communicate about the developer provider. For the--- 'DeveloperProviderName', you can use letters as well as period (.),--- underscore (_), and dash (-).+-- | The \"domain\" by which Cognito will refer to your users. This is a (pseudo) domain name that you provide while creating an identity pool. This name acts as a placeholder that allows your backend and the Cognito service to communicate about the developer provider. For the 'DeveloperProviderName', you can use letters as well as period (.), underscore (_), and dash (-). mdiDeveloperProviderName :: Lens' MergeDeveloperIdentities Text mdiDeveloperProviderName = lens _mdiDeveloperProviderName (\ s a -> s{_mdiDeveloperProviderName = a}); 
gen/Network/AWS/CognitoIdentity/SetIdentityPoolRoles.hs view
@@ -18,8 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Sets the roles for an identity pool. These roles are used when making--- calls to 'GetCredentialsForIdentity' action.+-- Sets the roles for an identity pool. These roles are used when making calls to 'GetCredentialsForIdentity' action. -- -- You must use AWS Developer credentials to call this API. module Network.AWS.CognitoIdentity.SetIdentityPoolRoles@@ -71,9 +70,7 @@ siprIdentityPoolId :: Lens' SetIdentityPoolRoles Text siprIdentityPoolId = lens _siprIdentityPoolId (\ s a -> s{_siprIdentityPoolId = a}); --- | The map of roles associated with this pool. For a given role, the key--- will be either \"authenticated\" or \"unauthenticated\" and the value--- will be the Role ARN.+-- | The map of roles associated with this pool. For a given role, the key will be either \"authenticated\" or \"unauthenticated\" and the value will be the Role ARN. siprRoles :: Lens' SetIdentityPoolRoles (HashMap Text Text) siprRoles = lens _siprRoles (\ s a -> s{_siprRoles = a}) . _Map; 
gen/Network/AWS/CognitoIdentity/Types.hs view
@@ -117,8 +117,7 @@       | has (hasStatus 509) e = Just "limit_exceeded"       | otherwise = Nothing --- | Thrown if the identity pool has no role associated for the given auth--- type (auth\/unauth) or if the AssumeRole fails.+-- | Thrown if the identity pool has no role associated for the given auth type (auth\/unauth) or if the AssumeRole fails. _InvalidIdentityPoolConfigurationException :: AsError a => Getting (First ServiceError) a ServiceError _InvalidIdentityPoolConfigurationException =     _ServiceError . hasCode "InvalidIdentityPoolConfigurationException"@@ -132,13 +131,11 @@ _NotAuthorizedException :: AsError a => Getting (First ServiceError) a ServiceError _NotAuthorizedException = _ServiceError . hasCode "NotAuthorizedException" --- | Thrown when the service encounters an error during processing the--- request.+-- | Thrown when the service encounters an error during processing the request. _InternalErrorException :: AsError a => Getting (First ServiceError) a ServiceError _InternalErrorException = _ServiceError . hasCode "InternalErrorException" --- | An exception thrown when a dependent service such as Facebook or Twitter--- is not responding+-- | An exception thrown when a dependent service such as Facebook or Twitter is not responding _ExternalServiceException :: AsError a => Getting (First ServiceError) a ServiceError _ExternalServiceException = _ServiceError . hasCode "ExternalServiceException" @@ -151,20 +148,17 @@ _ConcurrentModificationException =     _ServiceError . hasCode "ConcurrentModificationException" --- | Thrown when a user tries to use a login which is already linked to--- another account.+-- | Thrown when a user tries to use a login which is already linked to another account. _ResourceConflictException :: AsError a => Getting (First ServiceError) a ServiceError _ResourceConflictException =     _ServiceError . hasCode "ResourceConflictException" --- | The provided developer user identifier is already registered with--- Cognito under a different identity ID.+-- | The provided developer user identifier is already registered with Cognito under a different identity ID. _DeveloperUserAlreadyRegisteredException :: AsError a => Getting (First ServiceError) a ServiceError _DeveloperUserAlreadyRegisteredException =     _ServiceError . hasCode "DeveloperUserAlreadyRegisteredException" --- | Thrown when the requested resource (for example, a dataset or record)--- does not exist.+-- | Thrown when the requested resource (for example, a dataset or record) does not exist. _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError _ResourceNotFoundException =     _ServiceError . hasCode "ResourceNotFoundException"
gen/Network/AWS/CognitoIdentity/Types/Product.hs view
@@ -48,8 +48,7 @@ cipClientId :: Lens' CognitoIdentityProvider (Maybe Text) cipClientId = lens _cipClientId (\ s a -> s{_cipClientId = a}); --- | The provider name for a Cognito User Identity Pool. For example,--- 'cognito-idp.us-east-1.amazonaws.com\/us-east-1_123456789'.+-- | The provider name for a Cognito User Identity Pool. For example, 'cognito-idp.us-east-1.amazonaws.com\/us-east-1_123456789'. cipProviderName :: Lens' CognitoIdentityProvider (Maybe Text) cipProviderName = lens _cipProviderName (\ s a -> s{_cipProviderName = a}); @@ -170,8 +169,7 @@ idCreationDate :: Lens' IdentityDescription (Maybe UTCTime) idCreationDate = lens _idCreationDate (\ s a -> s{_idCreationDate = a}) . mapping _Time; --- | A set of optional name-value pairs that map provider names to provider--- tokens.+-- | A set of optional name-value pairs that map provider names to provider tokens. idLogins :: Lens' IdentityDescription [Text] idLogins = lens _idLogins (\ s a -> s{_idLogins = a}) . _Default . _Coerce; @@ -344,8 +342,7 @@  instance NFData IdentityPoolShortDescription --- | An array of UnprocessedIdentityId objects, each of which contains an--- ErrorCode and IdentityId.+-- | An array of UnprocessedIdentityId objects, each of which contains an ErrorCode and IdentityId. -- -- /See:/ 'unprocessedIdentityId' smart constructor. data UnprocessedIdentityId = UnprocessedIdentityId'
gen/Network/AWS/CognitoIdentity/UnlinkDeveloperIdentity.hs view
@@ -18,11 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Unlinks a 'DeveloperUserIdentifier' from an existing identity. Unlinked--- developer users will be considered new identities next time they are--- seen. If, for a given Cognito identity, you remove all federated--- identities as well as the developer user identifier, the Cognito--- identity becomes inaccessible.+-- Unlinks a 'DeveloperUserIdentifier' from an existing identity. Unlinked developer users will be considered new identities next time they are seen. If, for a given Cognito identity, you remove all federated identities as well as the developer user identifier, the Cognito identity becomes inaccessible. -- -- You must use AWS Developer credentials to call this API. module Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity@@ -95,8 +91,7 @@ udiDeveloperProviderName :: Lens' UnlinkDeveloperIdentity Text udiDeveloperProviderName = lens _udiDeveloperProviderName (\ s a -> s{_udiDeveloperProviderName = a}); --- | A unique ID used by your backend authentication process to identify a--- user.+-- | A unique ID used by your backend authentication process to identify a user. udiDeveloperUserIdentifier :: Lens' UnlinkDeveloperIdentity Text udiDeveloperUserIdentifier = lens _udiDeveloperUserIdentifier (\ s a -> s{_udiDeveloperUserIdentifier = a}); 
gen/Network/AWS/CognitoIdentity/UnlinkIdentity.hs view
@@ -18,9 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Unlinks a federated identity from an existing account. Unlinked logins--- will be considered new identities next time they are seen. Removing the--- last linked login will make this identity inaccessible.+-- Unlinks a federated identity from an existing account. Unlinked logins will be considered new identities next time they are seen. Removing the last linked login will make this identity inaccessible. -- -- This is a public API. You do not need any credentials to call this API. module Network.AWS.CognitoIdentity.UnlinkIdentity@@ -77,8 +75,7 @@ uiIdentityId :: Lens' UnlinkIdentity Text uiIdentityId = lens _uiIdentityId (\ s a -> s{_uiIdentityId = a}); --- | A set of optional name-value pairs that map provider names to provider--- tokens.+-- | A set of optional name-value pairs that map provider names to provider tokens. uiLogins :: Lens' UnlinkIdentity (HashMap Text Text) uiLogins = lens _uiLogins (\ s a -> s{_uiLogins = a}) . _Map; 
test/Test/AWS/Gen/CognitoIdentity.hs view
@@ -28,115 +28,115 @@ -- fixtures :: TestTree -- fixtures = --     [ testGroup "request"---         [ testGetOpenIdToken $+--         [ requestGetOpenIdToken $ --             getOpenIdToken -----         , testGetOpenIdTokenForDeveloperIdentity $+--         , requestGetOpenIdTokenForDeveloperIdentity $ --             getOpenIdTokenForDeveloperIdentity -----         , testDescribeIdentityPool $+--         , requestDescribeIdentityPool $ --             describeIdentityPool -----         , testGetId $+--         , requestGetId $ --             getId -----         , testDeleteIdentityPool $+--         , requestDeleteIdentityPool $ --             deleteIdentityPool -----         , testUpdateIdentityPool $+--         , requestUpdateIdentityPool $ --             updateIdentityPool -----         , testUnlinkDeveloperIdentity $+--         , requestUnlinkDeveloperIdentity $ --             unlinkDeveloperIdentity -----         , testGetIdentityPoolRoles $+--         , requestGetIdentityPoolRoles $ --             getIdentityPoolRoles -----         , testListIdentityPools $+--         , requestListIdentityPools $ --             listIdentityPools -----         , testGetCredentialsForIdentity $+--         , requestGetCredentialsForIdentity $ --             getCredentialsForIdentity -----         , testDeleteIdentities $+--         , requestDeleteIdentities $ --             deleteIdentities -----         , testSetIdentityPoolRoles $+--         , requestSetIdentityPoolRoles $ --             setIdentityPoolRoles -----         , testListIdentities $+--         , requestListIdentities $ --             listIdentities -----         , testLookupDeveloperIdentity $+--         , requestLookupDeveloperIdentity $ --             lookupDeveloperIdentity -----         , testUnlinkIdentity $+--         , requestUnlinkIdentity $ --             unlinkIdentity -----         , testDescribeIdentity $+--         , requestDescribeIdentity $ --             describeIdentity -----         , testCreateIdentityPool $+--         , requestCreateIdentityPool $ --             createIdentityPool -----         , testMergeDeveloperIdentities $+--         , requestMergeDeveloperIdentities $ --             mergeDeveloperIdentities -- --           ]  --     , testGroup "response"---         [ testGetOpenIdTokenResponse $+--         [ responseGetOpenIdToken $ --             getOpenIdTokenResponse -----         , testGetOpenIdTokenForDeveloperIdentityResponse $+--         , responseGetOpenIdTokenForDeveloperIdentity $ --             getOpenIdTokenForDeveloperIdentityResponse -----         , testDescribeIdentityPoolResponse $+--         , responseDescribeIdentityPool $ --             identityPool -----         , testGetIdResponse $+--         , responseGetId $ --             getIdResponse -----         , testDeleteIdentityPoolResponse $+--         , responseDeleteIdentityPool $ --             deleteIdentityPoolResponse -----         , testUpdateIdentityPoolResponse $+--         , responseUpdateIdentityPool $ --             identityPool -----         , testUnlinkDeveloperIdentityResponse $+--         , responseUnlinkDeveloperIdentity $ --             unlinkDeveloperIdentityResponse -----         , testGetIdentityPoolRolesResponse $+--         , responseGetIdentityPoolRoles $ --             getIdentityPoolRolesResponse -----         , testListIdentityPoolsResponse $+--         , responseListIdentityPools $ --             listIdentityPoolsResponse -----         , testGetCredentialsForIdentityResponse $+--         , responseGetCredentialsForIdentity $ --             getCredentialsForIdentityResponse -----         , testDeleteIdentitiesResponse $+--         , responseDeleteIdentities $ --             deleteIdentitiesResponse -----         , testSetIdentityPoolRolesResponse $+--         , responseSetIdentityPoolRoles $ --             setIdentityPoolRolesResponse -----         , testListIdentitiesResponse $+--         , responseListIdentities $ --             listIdentitiesResponse -----         , testLookupDeveloperIdentityResponse $+--         , responseLookupDeveloperIdentity $ --             lookupDeveloperIdentityResponse -----         , testUnlinkIdentityResponse $+--         , responseUnlinkIdentity $ --             unlinkIdentityResponse -----         , testDescribeIdentityResponse $+--         , responseDescribeIdentity $ --             identityDescription -----         , testCreateIdentityPoolResponse $+--         , responseCreateIdentityPool $ --             identityPool -----         , testMergeDeveloperIdentitiesResponse $+--         , responseMergeDeveloperIdentities $ --             mergeDeveloperIdentitiesResponse -- --           ]@@ -144,219 +144,219 @@  -- Requests -testGetOpenIdToken :: GetOpenIdToken -> TestTree-testGetOpenIdToken = req+requestGetOpenIdToken :: GetOpenIdToken -> TestTree+requestGetOpenIdToken = req     "GetOpenIdToken"     "fixture/GetOpenIdToken.yaml" -testGetOpenIdTokenForDeveloperIdentity :: GetOpenIdTokenForDeveloperIdentity -> TestTree-testGetOpenIdTokenForDeveloperIdentity = req+requestGetOpenIdTokenForDeveloperIdentity :: GetOpenIdTokenForDeveloperIdentity -> TestTree+requestGetOpenIdTokenForDeveloperIdentity = req     "GetOpenIdTokenForDeveloperIdentity"     "fixture/GetOpenIdTokenForDeveloperIdentity.yaml" -testDescribeIdentityPool :: DescribeIdentityPool -> TestTree-testDescribeIdentityPool = req+requestDescribeIdentityPool :: DescribeIdentityPool -> TestTree+requestDescribeIdentityPool = req     "DescribeIdentityPool"     "fixture/DescribeIdentityPool.yaml" -testGetId :: GetId -> TestTree-testGetId = req+requestGetId :: GetId -> TestTree+requestGetId = req     "GetId"     "fixture/GetId.yaml" -testDeleteIdentityPool :: DeleteIdentityPool -> TestTree-testDeleteIdentityPool = req+requestDeleteIdentityPool :: DeleteIdentityPool -> TestTree+requestDeleteIdentityPool = req     "DeleteIdentityPool"     "fixture/DeleteIdentityPool.yaml" -testUpdateIdentityPool :: UpdateIdentityPool -> TestTree-testUpdateIdentityPool = req+requestUpdateIdentityPool :: UpdateIdentityPool -> TestTree+requestUpdateIdentityPool = req     "UpdateIdentityPool"     "fixture/UpdateIdentityPool.yaml" -testUnlinkDeveloperIdentity :: UnlinkDeveloperIdentity -> TestTree-testUnlinkDeveloperIdentity = req+requestUnlinkDeveloperIdentity :: UnlinkDeveloperIdentity -> TestTree+requestUnlinkDeveloperIdentity = req     "UnlinkDeveloperIdentity"     "fixture/UnlinkDeveloperIdentity.yaml" -testGetIdentityPoolRoles :: GetIdentityPoolRoles -> TestTree-testGetIdentityPoolRoles = req+requestGetIdentityPoolRoles :: GetIdentityPoolRoles -> TestTree+requestGetIdentityPoolRoles = req     "GetIdentityPoolRoles"     "fixture/GetIdentityPoolRoles.yaml" -testListIdentityPools :: ListIdentityPools -> TestTree-testListIdentityPools = req+requestListIdentityPools :: ListIdentityPools -> TestTree+requestListIdentityPools = req     "ListIdentityPools"     "fixture/ListIdentityPools.yaml" -testGetCredentialsForIdentity :: GetCredentialsForIdentity -> TestTree-testGetCredentialsForIdentity = req+requestGetCredentialsForIdentity :: GetCredentialsForIdentity -> TestTree+requestGetCredentialsForIdentity = req     "GetCredentialsForIdentity"     "fixture/GetCredentialsForIdentity.yaml" -testDeleteIdentities :: DeleteIdentities -> TestTree-testDeleteIdentities = req+requestDeleteIdentities :: DeleteIdentities -> TestTree+requestDeleteIdentities = req     "DeleteIdentities"     "fixture/DeleteIdentities.yaml" -testSetIdentityPoolRoles :: SetIdentityPoolRoles -> TestTree-testSetIdentityPoolRoles = req+requestSetIdentityPoolRoles :: SetIdentityPoolRoles -> TestTree+requestSetIdentityPoolRoles = req     "SetIdentityPoolRoles"     "fixture/SetIdentityPoolRoles.yaml" -testListIdentities :: ListIdentities -> TestTree-testListIdentities = req+requestListIdentities :: ListIdentities -> TestTree+requestListIdentities = req     "ListIdentities"     "fixture/ListIdentities.yaml" -testLookupDeveloperIdentity :: LookupDeveloperIdentity -> TestTree-testLookupDeveloperIdentity = req+requestLookupDeveloperIdentity :: LookupDeveloperIdentity -> TestTree+requestLookupDeveloperIdentity = req     "LookupDeveloperIdentity"     "fixture/LookupDeveloperIdentity.yaml" -testUnlinkIdentity :: UnlinkIdentity -> TestTree-testUnlinkIdentity = req+requestUnlinkIdentity :: UnlinkIdentity -> TestTree+requestUnlinkIdentity = req     "UnlinkIdentity"     "fixture/UnlinkIdentity.yaml" -testDescribeIdentity :: DescribeIdentity -> TestTree-testDescribeIdentity = req+requestDescribeIdentity :: DescribeIdentity -> TestTree+requestDescribeIdentity = req     "DescribeIdentity"     "fixture/DescribeIdentity.yaml" -testCreateIdentityPool :: CreateIdentityPool -> TestTree-testCreateIdentityPool = req+requestCreateIdentityPool :: CreateIdentityPool -> TestTree+requestCreateIdentityPool = req     "CreateIdentityPool"     "fixture/CreateIdentityPool.yaml" -testMergeDeveloperIdentities :: MergeDeveloperIdentities -> TestTree-testMergeDeveloperIdentities = req+requestMergeDeveloperIdentities :: MergeDeveloperIdentities -> TestTree+requestMergeDeveloperIdentities = req     "MergeDeveloperIdentities"     "fixture/MergeDeveloperIdentities.yaml"  -- Responses -testGetOpenIdTokenResponse :: GetOpenIdTokenResponse -> TestTree-testGetOpenIdTokenResponse = res+responseGetOpenIdToken :: GetOpenIdTokenResponse -> TestTree+responseGetOpenIdToken = res     "GetOpenIdTokenResponse"     "fixture/GetOpenIdTokenResponse.proto"     cognitoIdentity     (Proxy :: Proxy GetOpenIdToken) -testGetOpenIdTokenForDeveloperIdentityResponse :: GetOpenIdTokenForDeveloperIdentityResponse -> TestTree-testGetOpenIdTokenForDeveloperIdentityResponse = res+responseGetOpenIdTokenForDeveloperIdentity :: GetOpenIdTokenForDeveloperIdentityResponse -> TestTree+responseGetOpenIdTokenForDeveloperIdentity = res     "GetOpenIdTokenForDeveloperIdentityResponse"     "fixture/GetOpenIdTokenForDeveloperIdentityResponse.proto"     cognitoIdentity     (Proxy :: Proxy GetOpenIdTokenForDeveloperIdentity) -testDescribeIdentityPoolResponse :: IdentityPool -> TestTree-testDescribeIdentityPoolResponse = res+responseDescribeIdentityPool :: IdentityPool -> TestTree+responseDescribeIdentityPool = res     "DescribeIdentityPoolResponse"     "fixture/DescribeIdentityPoolResponse.proto"     cognitoIdentity     (Proxy :: Proxy DescribeIdentityPool) -testGetIdResponse :: GetIdResponse -> TestTree-testGetIdResponse = res+responseGetId :: GetIdResponse -> TestTree+responseGetId = res     "GetIdResponse"     "fixture/GetIdResponse.proto"     cognitoIdentity     (Proxy :: Proxy GetId) -testDeleteIdentityPoolResponse :: DeleteIdentityPoolResponse -> TestTree-testDeleteIdentityPoolResponse = res+responseDeleteIdentityPool :: DeleteIdentityPoolResponse -> TestTree+responseDeleteIdentityPool = res     "DeleteIdentityPoolResponse"     "fixture/DeleteIdentityPoolResponse.proto"     cognitoIdentity     (Proxy :: Proxy DeleteIdentityPool) -testUpdateIdentityPoolResponse :: IdentityPool -> TestTree-testUpdateIdentityPoolResponse = res+responseUpdateIdentityPool :: IdentityPool -> TestTree+responseUpdateIdentityPool = res     "UpdateIdentityPoolResponse"     "fixture/UpdateIdentityPoolResponse.proto"     cognitoIdentity     (Proxy :: Proxy UpdateIdentityPool) -testUnlinkDeveloperIdentityResponse :: UnlinkDeveloperIdentityResponse -> TestTree-testUnlinkDeveloperIdentityResponse = res+responseUnlinkDeveloperIdentity :: UnlinkDeveloperIdentityResponse -> TestTree+responseUnlinkDeveloperIdentity = res     "UnlinkDeveloperIdentityResponse"     "fixture/UnlinkDeveloperIdentityResponse.proto"     cognitoIdentity     (Proxy :: Proxy UnlinkDeveloperIdentity) -testGetIdentityPoolRolesResponse :: GetIdentityPoolRolesResponse -> TestTree-testGetIdentityPoolRolesResponse = res+responseGetIdentityPoolRoles :: GetIdentityPoolRolesResponse -> TestTree+responseGetIdentityPoolRoles = res     "GetIdentityPoolRolesResponse"     "fixture/GetIdentityPoolRolesResponse.proto"     cognitoIdentity     (Proxy :: Proxy GetIdentityPoolRoles) -testListIdentityPoolsResponse :: ListIdentityPoolsResponse -> TestTree-testListIdentityPoolsResponse = res+responseListIdentityPools :: ListIdentityPoolsResponse -> TestTree+responseListIdentityPools = res     "ListIdentityPoolsResponse"     "fixture/ListIdentityPoolsResponse.proto"     cognitoIdentity     (Proxy :: Proxy ListIdentityPools) -testGetCredentialsForIdentityResponse :: GetCredentialsForIdentityResponse -> TestTree-testGetCredentialsForIdentityResponse = res+responseGetCredentialsForIdentity :: GetCredentialsForIdentityResponse -> TestTree+responseGetCredentialsForIdentity = res     "GetCredentialsForIdentityResponse"     "fixture/GetCredentialsForIdentityResponse.proto"     cognitoIdentity     (Proxy :: Proxy GetCredentialsForIdentity) -testDeleteIdentitiesResponse :: DeleteIdentitiesResponse -> TestTree-testDeleteIdentitiesResponse = res+responseDeleteIdentities :: DeleteIdentitiesResponse -> TestTree+responseDeleteIdentities = res     "DeleteIdentitiesResponse"     "fixture/DeleteIdentitiesResponse.proto"     cognitoIdentity     (Proxy :: Proxy DeleteIdentities) -testSetIdentityPoolRolesResponse :: SetIdentityPoolRolesResponse -> TestTree-testSetIdentityPoolRolesResponse = res+responseSetIdentityPoolRoles :: SetIdentityPoolRolesResponse -> TestTree+responseSetIdentityPoolRoles = res     "SetIdentityPoolRolesResponse"     "fixture/SetIdentityPoolRolesResponse.proto"     cognitoIdentity     (Proxy :: Proxy SetIdentityPoolRoles) -testListIdentitiesResponse :: ListIdentitiesResponse -> TestTree-testListIdentitiesResponse = res+responseListIdentities :: ListIdentitiesResponse -> TestTree+responseListIdentities = res     "ListIdentitiesResponse"     "fixture/ListIdentitiesResponse.proto"     cognitoIdentity     (Proxy :: Proxy ListIdentities) -testLookupDeveloperIdentityResponse :: LookupDeveloperIdentityResponse -> TestTree-testLookupDeveloperIdentityResponse = res+responseLookupDeveloperIdentity :: LookupDeveloperIdentityResponse -> TestTree+responseLookupDeveloperIdentity = res     "LookupDeveloperIdentityResponse"     "fixture/LookupDeveloperIdentityResponse.proto"     cognitoIdentity     (Proxy :: Proxy LookupDeveloperIdentity) -testUnlinkIdentityResponse :: UnlinkIdentityResponse -> TestTree-testUnlinkIdentityResponse = res+responseUnlinkIdentity :: UnlinkIdentityResponse -> TestTree+responseUnlinkIdentity = res     "UnlinkIdentityResponse"     "fixture/UnlinkIdentityResponse.proto"     cognitoIdentity     (Proxy :: Proxy UnlinkIdentity) -testDescribeIdentityResponse :: IdentityDescription -> TestTree-testDescribeIdentityResponse = res+responseDescribeIdentity :: IdentityDescription -> TestTree+responseDescribeIdentity = res     "DescribeIdentityResponse"     "fixture/DescribeIdentityResponse.proto"     cognitoIdentity     (Proxy :: Proxy DescribeIdentity) -testCreateIdentityPoolResponse :: IdentityPool -> TestTree-testCreateIdentityPoolResponse = res+responseCreateIdentityPool :: IdentityPool -> TestTree+responseCreateIdentityPool = res     "CreateIdentityPoolResponse"     "fixture/CreateIdentityPoolResponse.proto"     cognitoIdentity     (Proxy :: Proxy CreateIdentityPool) -testMergeDeveloperIdentitiesResponse :: MergeDeveloperIdentitiesResponse -> TestTree-testMergeDeveloperIdentitiesResponse = res+responseMergeDeveloperIdentities :: MergeDeveloperIdentitiesResponse -> TestTree+responseMergeDeveloperIdentities = res     "MergeDeveloperIdentitiesResponse"     "fixture/MergeDeveloperIdentitiesResponse.proto"     cognitoIdentity