Skip to content

CognitoIdentityClient.update_identity_pool

rboto-cognito-identity==0.4.0 · Service index · Types

Model summary (excerpt): Updates the configuration of an identity pool. If you don't provide a value for a parameter, Amazon Cognito sets it to its default value. You must use Amazon Web Services developer credentials to call this operation.

Install and imports

python -m pip install "rboto[cognito-identity]==0.4.0"
from rboto import CognitoIdentityClient
from collections.abc import Sequence
from rboto_cognito_identity.types import (
    CognitoIdentityProvider,
    UpdateIdentityPoolOutput,
)

Signature

async def update_identity_pool(
    *,
    identity_pool_id: str,
    identity_pool_name: str,
    allow_unauthenticated_identities: bool,
    allow_classic_flow: bool | None = None,
    supported_login_providers: dict[str, str] | None = None,
    developer_provider_name: str | None = None,
    open_id_connect_provider_arns: Sequence[str] | None = None,
    cognito_identity_providers: Sequence[CognitoIdentityProvider] | None = None,
    saml_provider_arns: Sequence[str] | None = None,
    identity_pool_tags: dict[str, str] | None = None,
) -> UpdateIdentityPoolOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
identity_pool_id Yes An identity pool ID in the format REGION:GUID.
identity_pool_name Yes A string that you provide.
allow_unauthenticated_identities Yes TRUE if the identity pool supports unauthenticated logins.
allow_classic_flow No Enables or disables the Basic (Classic) authentication flow. For more information, see Identity Pools (Federated Identities) Authentication Flow in the Amazon Cognito Developer Guide .
supported_login_providers No Optional key:value pairs mapping provider names to provider app IDs.
developer_provider_name No The "domain" by which Cognito will refer to your users.
open_id_connect_provider_arns No The ARNs of the OpenID Connect providers.
cognito_identity_providers No A list representing an Amazon Cognito user pool and its client ID.
saml_provider_arns No An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.
identity_pool_tags No 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.

Output

UpdateIdentityPoolOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
identity_pool_id str Always present —
identity_pool_name str Always present —
allow_unauthenticated_identities bool Always present —
allow_classic_flow bool | None Always present —
supported_login_providers dict[str, str] | None Always present —
developer_provider_name str | None Always present —
open_id_connect_provider_arns list[str] | None Always present —
cognito_identity_providers list[CognitoIdentityProviderOutput] | None Always present CognitoIdentityProviderOutput
saml_provider_arns list[str] | None Always present —
identity_pool_tags dict[str, str] | None Always present —

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

CognitoIdentityProvider, UpdateIdentityPoolOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_cognito_identity.exceptions:

ConcurrentModificationError, InternalError, InvalidParameterError, LimitExceededError, NotAuthorizedError, ResourceConflictError, ResourceNotFoundError, TooManyRequestsError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model