libZSservicesZSamazonka-cognito-identityZSamazonka-cognito-identity
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CognitoIdentity.UpdateIdentityPool

Description

Updates an identity pool.

You must use AWS Developer credentials to call this API.

Synopsis

Creating a Request

data UpdateIdentityPool Source #

An object representing an Amazon Cognito identity pool.

See: newUpdateIdentityPool smart constructor.

Constructors

UpdateIdentityPool' 

Fields

Instances

Instances details
Eq UpdateIdentityPool Source # 
Instance details

Defined in Amazonka.CognitoIdentity.UpdateIdentityPool

Read UpdateIdentityPool Source # 
Instance details

Defined in Amazonka.CognitoIdentity.UpdateIdentityPool

Show UpdateIdentityPool Source # 
Instance details

Defined in Amazonka.CognitoIdentity.UpdateIdentityPool

Generic UpdateIdentityPool Source # 
Instance details

Defined in Amazonka.CognitoIdentity.UpdateIdentityPool

Associated Types

type Rep UpdateIdentityPool :: Type -> Type #

NFData UpdateIdentityPool Source # 
Instance details

Defined in Amazonka.CognitoIdentity.UpdateIdentityPool

Methods

rnf :: UpdateIdentityPool -> () #

Hashable UpdateIdentityPool Source # 
Instance details

Defined in Amazonka.CognitoIdentity.UpdateIdentityPool

ToJSON UpdateIdentityPool Source # 
Instance details

Defined in Amazonka.CognitoIdentity.UpdateIdentityPool

AWSRequest UpdateIdentityPool Source # 
Instance details

Defined in Amazonka.CognitoIdentity.UpdateIdentityPool

Associated Types

type AWSResponse UpdateIdentityPool #

ToHeaders UpdateIdentityPool Source # 
Instance details

Defined in Amazonka.CognitoIdentity.UpdateIdentityPool

ToPath UpdateIdentityPool Source # 
Instance details

Defined in Amazonka.CognitoIdentity.UpdateIdentityPool

ToQuery UpdateIdentityPool Source # 
Instance details

Defined in Amazonka.CognitoIdentity.UpdateIdentityPool

type Rep UpdateIdentityPool Source # 
Instance details

Defined in Amazonka.CognitoIdentity.UpdateIdentityPool

type Rep UpdateIdentityPool = D1 ('MetaData "UpdateIdentityPool" "Amazonka.CognitoIdentity.UpdateIdentityPool" "libZSservicesZSamazonka-cognito-identityZSamazonka-cognito-identity" 'False) (C1 ('MetaCons "UpdateIdentityPool'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "samlProviderARNs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "supportedLoginProviders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "allowClassicFlow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "developerProviderName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "identityPoolTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))) :*: ((S1 ('MetaSel ('Just "openIdConnectProviderARNs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "cognitoIdentityProviders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CognitoIdentityProvider]))) :*: (S1 ('MetaSel ('Just "identityPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "identityPoolName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "allowUnauthenticatedIdentities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))))))
type AWSResponse UpdateIdentityPool Source # 
Instance details

Defined in Amazonka.CognitoIdentity.UpdateIdentityPool

newUpdateIdentityPool Source #

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:

$sel:samlProviderARNs:UpdateIdentityPool', updateIdentityPool_samlProviderARNs - An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.

$sel:supportedLoginProviders:UpdateIdentityPool', updateIdentityPool_supportedLoginProviders - Optional key:value pairs mapping provider names to provider app IDs.

$sel:allowClassicFlow: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.

$sel:developerProviderName:UpdateIdentityPool', updateIdentityPool_developerProviderName - The "domain" by which Cognito will refer to your users.

$sel:identityPoolTags: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.

$sel:openIdConnectProviderARNs:UpdateIdentityPool', updateIdentityPool_openIdConnectProviderARNs - The ARNs of the OpenID Connect providers.

$sel:cognitoIdentityProviders:UpdateIdentityPool', updateIdentityPool_cognitoIdentityProviders - A list representing an Amazon Cognito user pool and its client ID.

$sel:identityPoolId:UpdateIdentityPool', updateIdentityPool_identityPoolId - An identity pool ID in the format REGION:GUID.

$sel:identityPoolName:UpdateIdentityPool', updateIdentityPool_identityPoolName - A string that you provide.

$sel:allowUnauthenticatedIdentities:UpdateIdentityPool', updateIdentityPool_allowUnauthenticatedIdentities - TRUE if the identity pool supports unauthenticated logins.

Request Lenses

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_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_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_cognitoIdentityProviders :: Lens' UpdateIdentityPool (Maybe [CognitoIdentityProvider]) Source #

A list representing an Amazon Cognito user pool and its client ID.

updateIdentityPool_identityPoolId :: Lens' UpdateIdentityPool Text Source #

An identity pool ID in the format REGION:GUID.

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

Instances details
Eq IdentityPool Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.IdentityPool

Read IdentityPool Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.IdentityPool

Show IdentityPool Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.IdentityPool

Generic IdentityPool Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.IdentityPool

Associated Types

type Rep IdentityPool :: Type -> Type #

NFData IdentityPool Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.IdentityPool

Methods

rnf :: IdentityPool -> () #

Hashable IdentityPool Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.IdentityPool

ToJSON IdentityPool Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.IdentityPool

FromJSON IdentityPool Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.IdentityPool

type Rep IdentityPool Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.IdentityPool

type Rep IdentityPool = D1 ('MetaData "IdentityPool" "Amazonka.CognitoIdentity.Types.IdentityPool" "libZSservicesZSamazonka-cognito-identityZSamazonka-cognito-identity" 'False) (C1 ('MetaCons "IdentityPool'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "samlProviderARNs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "supportedLoginProviders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "allowClassicFlow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "developerProviderName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "identityPoolTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))) :*: ((S1 ('MetaSel ('Just "openIdConnectProviderARNs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "cognitoIdentityProviders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CognitoIdentityProvider]))) :*: (S1 ('MetaSel ('Just "identityPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "identityPoolName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "allowUnauthenticatedIdentities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))))))

newIdentityPool Source #

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: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: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: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:cognitoIdentityProviders:IdentityPool', identityPool_cognitoIdentityProviders - A list representing an Amazon Cognito user pool and its client ID.

$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_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_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_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_cognitoIdentityProviders :: Lens' IdentityPool (Maybe [CognitoIdentityProvider]) Source #

A list representing an Amazon Cognito user pool and its client ID.

identityPool_identityPoolId :: Lens' IdentityPool Text Source #

An identity pool ID in the format REGION:GUID.

identityPool_allowUnauthenticatedIdentities :: Lens' IdentityPool Bool Source #

TRUE if the identity pool supports unauthenticated logins.