| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CognitoIdentity.UpdateIdentityPool
Description
Updates an identity pool.
You must use AWS Developer credentials to call this API.
Synopsis
- data UpdateIdentityPool = UpdateIdentityPool' {
- allowClassicFlow :: Maybe Bool
- cognitoIdentityProviders :: Maybe [CognitoIdentityProvider]
- developerProviderName :: Maybe Text
- identityPoolTags :: Maybe (HashMap Text Text)
- openIdConnectProviderARNs :: Maybe [Text]
- samlProviderARNs :: Maybe [Text]
- supportedLoginProviders :: Maybe (HashMap Text Text)
- identityPoolId :: Text
- identityPoolName :: Text
- allowUnauthenticatedIdentities :: Bool
- newUpdateIdentityPool :: Text -> Text -> Bool -> UpdateIdentityPool
- updateIdentityPool_allowClassicFlow :: Lens' UpdateIdentityPool (Maybe Bool)
- updateIdentityPool_cognitoIdentityProviders :: Lens' UpdateIdentityPool (Maybe [CognitoIdentityProvider])
- updateIdentityPool_developerProviderName :: Lens' UpdateIdentityPool (Maybe Text)
- updateIdentityPool_identityPoolTags :: Lens' UpdateIdentityPool (Maybe (HashMap Text Text))
- updateIdentityPool_openIdConnectProviderARNs :: Lens' UpdateIdentityPool (Maybe [Text])
- updateIdentityPool_samlProviderARNs :: Lens' UpdateIdentityPool (Maybe [Text])
- updateIdentityPool_supportedLoginProviders :: Lens' UpdateIdentityPool (Maybe (HashMap Text Text))
- updateIdentityPool_identityPoolId :: Lens' UpdateIdentityPool Text
- updateIdentityPool_identityPoolName :: Lens' UpdateIdentityPool Text
- updateIdentityPool_allowUnauthenticatedIdentities :: Lens' UpdateIdentityPool Bool
- data IdentityPool = IdentityPool' {
- allowClassicFlow :: Maybe Bool
- cognitoIdentityProviders :: Maybe [CognitoIdentityProvider]
- developerProviderName :: Maybe Text
- identityPoolTags :: Maybe (HashMap Text Text)
- openIdConnectProviderARNs :: Maybe [Text]
- samlProviderARNs :: Maybe [Text]
- supportedLoginProviders :: Maybe (HashMap Text Text)
- identityPoolId :: Text
- identityPoolName :: Text
- allowUnauthenticatedIdentities :: Bool
- newIdentityPool :: Text -> Text -> Bool -> IdentityPool
- identityPool_allowClassicFlow :: Lens' IdentityPool (Maybe Bool)
- identityPool_cognitoIdentityProviders :: Lens' IdentityPool (Maybe [CognitoIdentityProvider])
- identityPool_developerProviderName :: Lens' IdentityPool (Maybe Text)
- identityPool_identityPoolTags :: Lens' IdentityPool (Maybe (HashMap Text Text))
- identityPool_openIdConnectProviderARNs :: Lens' IdentityPool (Maybe [Text])
- identityPool_samlProviderARNs :: Lens' IdentityPool (Maybe [Text])
- identityPool_supportedLoginProviders :: Lens' IdentityPool (Maybe (HashMap Text Text))
- identityPool_identityPoolId :: Lens' IdentityPool Text
- identityPool_identityPoolName :: Lens' IdentityPool Text
- identityPool_allowUnauthenticatedIdentities :: Lens' IdentityPool Bool
Creating a Request
data UpdateIdentityPool Source #
An object representing an Amazon Cognito identity pool.
See: newUpdateIdentityPool smart constructor.
Constructors
| UpdateIdentityPool' | |
Fields
| |
Instances
newUpdateIdentityPool Source #
Arguments
| :: Text | |
| -> Text | |
| -> Bool | |
| -> UpdateIdentityPool |
Create a value of UpdateIdentityPool with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateIdentityPool, updateIdentityPool_allowClassicFlow - Enables or disables the Basic (Classic) authentication flow. For more
information, see
Identity Pools (Federated Identities) Authentication Flow
in the Amazon Cognito Developer Guide.
UpdateIdentityPool, updateIdentityPool_cognitoIdentityProviders - A list representing an Amazon Cognito user pool and its client ID.
UpdateIdentityPool, updateIdentityPool_developerProviderName - The "domain" by which Cognito will refer to your users.
UpdateIdentityPool, updateIdentityPool_identityPoolTags - The tags that are assigned to the identity pool. A tag is a label that
you can apply to identity pools to categorize and manage them in
different ways, such as by purpose, owner, environment, or other
criteria.
UpdateIdentityPool, updateIdentityPool_openIdConnectProviderARNs - The ARNs of the OpenID Connect providers.
UpdateIdentityPool, updateIdentityPool_samlProviderARNs - An array of Amazon Resource Names (ARNs) of the SAML provider for your
identity pool.
UpdateIdentityPool, updateIdentityPool_supportedLoginProviders - Optional key:value pairs mapping provider names to provider app IDs.
UpdateIdentityPool, updateIdentityPool_identityPoolId - An identity pool ID in the format REGION:GUID.
UpdateIdentityPool, updateIdentityPool_identityPoolName - A string that you provide.
UpdateIdentityPool, updateIdentityPool_allowUnauthenticatedIdentities - TRUE if the identity pool supports unauthenticated logins.
Request Lenses
updateIdentityPool_allowClassicFlow :: Lens' UpdateIdentityPool (Maybe Bool) Source #
Enables or disables the Basic (Classic) authentication flow. For more information, see Identity Pools (Federated Identities) Authentication Flow in the Amazon Cognito Developer Guide.
updateIdentityPool_cognitoIdentityProviders :: Lens' UpdateIdentityPool (Maybe [CognitoIdentityProvider]) Source #
A list representing an Amazon Cognito user pool and its client ID.
updateIdentityPool_developerProviderName :: Lens' UpdateIdentityPool (Maybe Text) Source #
The "domain" by which Cognito will refer to your users.
updateIdentityPool_identityPoolTags :: Lens' UpdateIdentityPool (Maybe (HashMap Text Text)) Source #
The tags that are assigned to the identity pool. A tag is a label that you can apply to identity pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.
updateIdentityPool_openIdConnectProviderARNs :: Lens' UpdateIdentityPool (Maybe [Text]) Source #
The ARNs of the OpenID Connect providers.
updateIdentityPool_samlProviderARNs :: Lens' UpdateIdentityPool (Maybe [Text]) Source #
An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.
updateIdentityPool_supportedLoginProviders :: Lens' UpdateIdentityPool (Maybe (HashMap Text Text)) Source #
Optional key:value pairs mapping provider names to provider app IDs.
updateIdentityPool_identityPoolId :: Lens' UpdateIdentityPool Text Source #
An identity pool ID in the format REGION:GUID.
updateIdentityPool_identityPoolName :: Lens' UpdateIdentityPool Text Source #
A string that you provide.
updateIdentityPool_allowUnauthenticatedIdentities :: Lens' UpdateIdentityPool Bool Source #
TRUE if the identity pool supports unauthenticated logins.
Destructuring the Response
data IdentityPool Source #
An object representing an Amazon Cognito identity pool.
See: newIdentityPool smart constructor.
Constructors
| IdentityPool' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Bool | |
| -> IdentityPool |
Create a value of IdentityPool with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:allowClassicFlow:IdentityPool', identityPool_allowClassicFlow - Enables or disables the Basic (Classic) authentication flow. For more
information, see
Identity Pools (Federated Identities) Authentication Flow
in the Amazon Cognito Developer Guide.
$sel:cognitoIdentityProviders:IdentityPool', identityPool_cognitoIdentityProviders - A list representing an Amazon Cognito user pool and its client ID.
$sel:developerProviderName:IdentityPool', identityPool_developerProviderName - The "domain" by which Cognito will refer to your users.
$sel:identityPoolTags:IdentityPool', identityPool_identityPoolTags - The tags that are assigned to the identity pool. A tag is a label that
you can apply to identity pools to categorize and manage them in
different ways, such as by purpose, owner, environment, or other
criteria.
$sel:openIdConnectProviderARNs:IdentityPool', identityPool_openIdConnectProviderARNs - The ARNs of the OpenID Connect providers.
$sel:samlProviderARNs:IdentityPool', identityPool_samlProviderARNs - An array of Amazon Resource Names (ARNs) of the SAML provider for your
identity pool.
$sel:supportedLoginProviders:IdentityPool', identityPool_supportedLoginProviders - Optional key:value pairs mapping provider names to provider app IDs.
$sel:identityPoolId:IdentityPool', identityPool_identityPoolId - An identity pool ID in the format REGION:GUID.
$sel:identityPoolName:IdentityPool', identityPool_identityPoolName - A string that you provide.
$sel:allowUnauthenticatedIdentities:IdentityPool', identityPool_allowUnauthenticatedIdentities - TRUE if the identity pool supports unauthenticated logins.
Response Lenses
identityPool_allowClassicFlow :: Lens' IdentityPool (Maybe Bool) Source #
Enables or disables the Basic (Classic) authentication flow. For more information, see Identity Pools (Federated Identities) Authentication Flow in the Amazon Cognito Developer Guide.
identityPool_cognitoIdentityProviders :: Lens' IdentityPool (Maybe [CognitoIdentityProvider]) Source #
A list representing an Amazon Cognito user pool and its client ID.
identityPool_developerProviderName :: Lens' IdentityPool (Maybe Text) Source #
The "domain" by which Cognito will refer to your users.
identityPool_identityPoolTags :: Lens' IdentityPool (Maybe (HashMap Text Text)) Source #
The tags that are assigned to the identity pool. A tag is a label that you can apply to identity pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.
identityPool_openIdConnectProviderARNs :: Lens' IdentityPool (Maybe [Text]) Source #
The ARNs of the OpenID Connect providers.
identityPool_samlProviderARNs :: Lens' IdentityPool (Maybe [Text]) Source #
An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.
identityPool_supportedLoginProviders :: Lens' IdentityPool (Maybe (HashMap Text Text)) Source #
Optional key:value pairs mapping provider names to provider app IDs.
identityPool_identityPoolId :: Lens' IdentityPool Text Source #
An identity pool ID in the format REGION:GUID.
identityPool_identityPoolName :: Lens' IdentityPool Text Source #
A string that you provide.
identityPool_allowUnauthenticatedIdentities :: Lens' IdentityPool Bool Source #
TRUE if the identity pool supports unauthenticated logins.