Module aws_lambda_powertools.utilities.typing.lambda_cognito_identity
Classes
class LambdaCognitoIdentity
-
Information about the Amazon Cognito identity that authorized the request.
Expand source code
class LambdaCognitoIdentity: """Information about the Amazon Cognito identity that authorized the request.""" _cognito_identity_id: str _cognito_identity_pool_id: str @property def cognito_identity_id(self) -> str: """The authenticated Amazon Cognito identity.""" return self._cognito_identity_id @property def cognito_identity_pool_id(self) -> str: """The Amazon Cognito identity pool that authorized the invocation.""" return self._cognito_identity_pool_id
Instance variables
prop cognito_identity_id : str
-
The authenticated Amazon Cognito identity.
Expand source code
@property def cognito_identity_id(self) -> str: """The authenticated Amazon Cognito identity.""" return self._cognito_identity_id
prop cognito_identity_pool_id : str
-
The Amazon Cognito identity pool that authorized the invocation.
Expand source code
@property def cognito_identity_pool_id(self) -> str: """The Amazon Cognito identity pool that authorized the invocation.""" return self._cognito_identity_pool_id