update_identity_pool
¶
update_identity_pool(
identity_pool_id: IdentityPoolId,
identity_pool_name: IdentityPoolName,
allow_unauthenticated_identities: IdentityPoolUnauthenticated,
*,
config_overrides: Optional[CognitoIdentityClientConfig] = None,
allow_classic_flow: Optional[ClassicFlow] = None,
supported_login_providers: Optional[IdentityProviders] = None,
developer_provider_name: Optional[DeveloperProviderName] = None,
open_id_connect_provider_ar_ns: Optional[OIDCProviderList] = None,
cognito_identity_providers: Optional[CognitoIdentityProviderList] = None,
saml_provider_ar_ns: Optional[SAMLProviderList] = None,
identity_pool_tags: Optional[IdentityPoolTagsType] = None,
) -> IdentityPool
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.
Parameters:
-
identity_pool_id(IdentityPoolId) –An identity pool ID in the format REGION:GUID.
-
identity_pool_name(IdentityPoolName) –A string that you provide.
-
allow_unauthenticated_identities(IdentityPoolUnauthenticated) –TRUE if the identity pool supports unauthenticated logins.
-
allow_classic_flow(Optional[ClassicFlow], default:None) –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(Optional[IdentityProviders], default:None) –Optional key:value pairs mapping provider names to provider app IDs.
-
developer_provider_name(Optional[DeveloperProviderName], default:None) –The "domain" by which Cognito will refer to your users.
-
open_id_connect_provider_ar_ns(Optional[OIDCProviderList], default:None) –The ARNs of the OpenID Connect providers.
-
cognito_identity_providers(Optional[CognitoIdentityProviderList], default:None) –A list representing an Amazon Cognito user pool and its client ID.
-
saml_provider_ar_ns(Optional[SAMLProviderList], default:None) –An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.
-
identity_pool_tags(Optional[IdentityPoolTagsType], default:None) –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.
Raises:
-
ConcurrentModificationException–Thrown if there are parallel requests to modify a resource.
-
InternalErrorException–Thrown when the service encounters an error during processing the request.
-
InvalidParameterException–Thrown for missing or bad input parameter(s).
-
LimitExceededException–Thrown when the total number of user pools has exceeded a preset limit.
-
NotAuthorizedException–Thrown when a user is not authorized to access the requested resource.
-
ResourceConflictException–Thrown when a user tries to use a login which is already linked to another account.
-
ResourceNotFoundException–Thrown when the requested resource (for example, a dataset or record) does not exist.
-
TooManyRequestsException–Thrown when a request is throttled.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_cognito_identity/_services/cognito_identity.py
1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 | |