Module aws_lambda_powertools.utilities.typing.lambda_client_context

Classes

class LambdaClientContext
Expand source code
class LambdaClientContext:
    _client: LambdaClientContextMobileClient
    _custom: dict[str, Any]
    _env: dict[str, Any]

    @property
    def client(self) -> LambdaClientContextMobileClient:
        """Client context that's provided to Lambda by the client application."""
        return self._client

    @property
    def custom(self) -> dict[str, Any]:
        """A dict of custom values set by the mobile client application."""
        return self._custom

    @property
    def env(self) -> dict[str, Any]:
        """A dict of environment information provided by the AWS SDK."""
        return self._env

Instance variables

prop client : LambdaClientContextMobileClient

Client context that's provided to Lambda by the client application.

Expand source code
@property
def client(self) -> LambdaClientContextMobileClient:
    """Client context that's provided to Lambda by the client application."""
    return self._client
prop custom : dict[str, Any]

A dict of custom values set by the mobile client application.

Expand source code
@property
def custom(self) -> dict[str, Any]:
    """A dict of custom values set by the mobile client application."""
    return self._custom
prop env : dict[str, Any]

A dict of environment information provided by the AWS SDK.

Expand source code
@property
def env(self) -> dict[str, Any]:
    """A dict of environment information provided by the AWS SDK."""
    return self._env