f_lib.aws.aws_lambda.type_defs module¶
Type definitions for AWS Lambda.
- class f_lib.aws.aws_lambda.type_defs.LambdaCognitoIdentity[source]¶
Bases:
TypedDict
Amazon Cognito identity that authorized a request.
- class f_lib.aws.aws_lambda.type_defs.LambdaClientContextMobileClient[source]¶
Bases:
TypedDict
Mobile client information.
- class f_lib.aws.aws_lambda.type_defs.LambdaClientContext[source]¶
Bases:
TypedDict
Client context that’s provided to Lambda by the client application.
- client: LambdaClientContextMobileClient¶
Mobile client information.
- class f_lib.aws.aws_lambda.type_defs.LambdaContext[source]¶
Bases:
object
When a Function is invoked, it passes a context object to the handler.
This object provides methods and properties that provide information about the invocation, function, and execution environment.
- client_context: LambdaClientContext | None¶
(mobile apps) Client context that’s provided to Lambda by the client application.
- identity: LambdaCognitoIdentity | None¶
(mobile apps) Information about the Amazon Cognito identity that authorized the request.
- class f_lib.aws.aws_lambda.type_defs.LambdaSqsEventRecordAttributes[source]¶
Bases:
TypedDict
Attributes of an SQS message that are set by the SQS service.
- ApproximateFirstReceiveTimestamp: str¶
The time the message was first received from the queue (epoch time in milliseconds).
- class f_lib.aws.aws_lambda.type_defs.LambdaSqsEventMessageAttributes[source]¶
Bases:
TypedDict
Optional metadata that can be added to an SQS message.
- class f_lib.aws.aws_lambda.type_defs.LambdaSqsEventRecord[source]¶
Bases:
TypedDict
Record from a Lambda invocation event from an SQS Queue.
- attributes: LambdaSqsEventRecordAttributes¶
Attributes of an SQS message that are set by the SQS service.
- messageId: str¶
A unique identifier for the message.
A messageId is considered unique across all AWS accounts for an extended period of time.
- messageAttributes: list[LambdaSqsEventMessageAttributes]¶
Optional metadata that can be added to an SQS message.