Skip to content

Typed dictionaries

Index > Lambda > Typed dictionaries

Auto-generated documentation for Lambda type annotations stubs module mypy-boto3-lambda.

AccountLimitTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import AccountLimitTypeDef

def get_value() -> AccountLimitTypeDef:
    return {
        "TotalCodeSize": ...,
    }
Definition
class AccountLimitTypeDef(TypedDict):
    TotalCodeSize: NotRequired[int],
    CodeSizeUnzipped: NotRequired[int],
    CodeSizeZipped: NotRequired[int],
    ConcurrentExecutions: NotRequired[int],
    UnreservedConcurrentExecutions: NotRequired[int],

AccountUsageTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import AccountUsageTypeDef

def get_value() -> AccountUsageTypeDef:
    return {
        "TotalCodeSize": ...,
    }
Definition
class AccountUsageTypeDef(TypedDict):
    TotalCodeSize: NotRequired[int],
    FunctionCount: NotRequired[int],

AddLayerVersionPermissionRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import AddLayerVersionPermissionRequestRequestTypeDef

def get_value() -> AddLayerVersionPermissionRequestRequestTypeDef:
    return {
        "LayerName": ...,
        "VersionNumber": ...,
        "StatementId": ...,
        "Action": ...,
        "Principal": ...,
    }
Definition
class AddLayerVersionPermissionRequestRequestTypeDef(TypedDict):
    LayerName: str,
    VersionNumber: int,
    StatementId: str,
    Action: str,
    Principal: str,
    OrganizationId: NotRequired[str],
    RevisionId: NotRequired[str],

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

AddPermissionRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import AddPermissionRequestRequestTypeDef

def get_value() -> AddPermissionRequestRequestTypeDef:
    return {
        "FunctionName": ...,
        "StatementId": ...,
        "Action": ...,
        "Principal": ...,
    }
Definition
class AddPermissionRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    StatementId: str,
    Action: str,
    Principal: str,
    SourceArn: NotRequired[str],
    SourceAccount: NotRequired[str],
    EventSourceToken: NotRequired[str],
    Qualifier: NotRequired[str],
    RevisionId: NotRequired[str],
    PrincipalOrgID: NotRequired[str],
    FunctionUrlAuthType: NotRequired[FunctionUrlAuthTypeType],  # (1)
  1. See FunctionUrlAuthTypeType

AliasRoutingConfigurationTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import AliasRoutingConfigurationTypeDef

def get_value() -> AliasRoutingConfigurationTypeDef:
    return {
        "AdditionalVersionWeights": ...,
    }
Definition
class AliasRoutingConfigurationTypeDef(TypedDict):
    AdditionalVersionWeights: NotRequired[Mapping[str, float]],

AllowedPublishersTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import AllowedPublishersTypeDef

def get_value() -> AllowedPublishersTypeDef:
    return {
        "SigningProfileVersionArns": ...,
    }
Definition
class AllowedPublishersTypeDef(TypedDict):
    SigningProfileVersionArns: Sequence[str],

AmazonManagedKafkaEventSourceConfigTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import AmazonManagedKafkaEventSourceConfigTypeDef

def get_value() -> AmazonManagedKafkaEventSourceConfigTypeDef:
    return {
        "ConsumerGroupId": ...,
    }
Definition
class AmazonManagedKafkaEventSourceConfigTypeDef(TypedDict):
    ConsumerGroupId: NotRequired[str],

CodeSigningPoliciesTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import CodeSigningPoliciesTypeDef

def get_value() -> CodeSigningPoliciesTypeDef:
    return {
        "UntrustedArtifactOnDeployment": ...,
    }
Definition
class CodeSigningPoliciesTypeDef(TypedDict):
    UntrustedArtifactOnDeployment: NotRequired[CodeSigningPolicyType],  # (1)
  1. See CodeSigningPolicyType

ConcurrencyTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import ConcurrencyTypeDef

def get_value() -> ConcurrencyTypeDef:
    return {
        "ReservedConcurrentExecutions": ...,
    }
Definition
class ConcurrencyTypeDef(TypedDict):
    ReservedConcurrentExecutions: NotRequired[int],

CorsTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import CorsTypeDef

def get_value() -> CorsTypeDef:
    return {
        "AllowCredentials": ...,
    }
Definition
class CorsTypeDef(TypedDict):
    AllowCredentials: NotRequired[bool],
    AllowHeaders: NotRequired[Sequence[str]],
    AllowMethods: NotRequired[Sequence[str]],
    AllowOrigins: NotRequired[Sequence[str]],
    ExposeHeaders: NotRequired[Sequence[str]],
    MaxAge: NotRequired[int],

SelfManagedEventSourceTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import SelfManagedEventSourceTypeDef

def get_value() -> SelfManagedEventSourceTypeDef:
    return {
        "Endpoints": ...,
    }
Definition
class SelfManagedEventSourceTypeDef(TypedDict):
    Endpoints: NotRequired[Mapping[EndPointTypeType, Sequence[str]]],  # (1)
  1. See EndPointTypeType

SelfManagedKafkaEventSourceConfigTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import SelfManagedKafkaEventSourceConfigTypeDef

def get_value() -> SelfManagedKafkaEventSourceConfigTypeDef:
    return {
        "ConsumerGroupId": ...,
    }
Definition
class SelfManagedKafkaEventSourceConfigTypeDef(TypedDict):
    ConsumerGroupId: NotRequired[str],

SourceAccessConfigurationTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import SourceAccessConfigurationTypeDef

def get_value() -> SourceAccessConfigurationTypeDef:
    return {
        "Type": ...,
    }
Definition
class SourceAccessConfigurationTypeDef(TypedDict):
    Type: NotRequired[SourceAccessTypeType],  # (1)
    URI: NotRequired[str],
  1. See SourceAccessTypeType

DeadLetterConfigTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import DeadLetterConfigTypeDef

def get_value() -> DeadLetterConfigTypeDef:
    return {
        "TargetArn": ...,
    }
Definition
class DeadLetterConfigTypeDef(TypedDict):
    TargetArn: NotRequired[str],

EnvironmentTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import EnvironmentTypeDef

def get_value() -> EnvironmentTypeDef:
    return {
        "Variables": ...,
    }
Definition
class EnvironmentTypeDef(TypedDict):
    Variables: NotRequired[Mapping[str, str]],

EphemeralStorageTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import EphemeralStorageTypeDef

def get_value() -> EphemeralStorageTypeDef:
    return {
        "Size": ...,
    }
Definition
class EphemeralStorageTypeDef(TypedDict):
    Size: int,

FileSystemConfigTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import FileSystemConfigTypeDef

def get_value() -> FileSystemConfigTypeDef:
    return {
        "Arn": ...,
        "LocalMountPath": ...,
    }
Definition
class FileSystemConfigTypeDef(TypedDict):
    Arn: str,
    LocalMountPath: str,

FunctionCodeTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import FunctionCodeTypeDef

def get_value() -> FunctionCodeTypeDef:
    return {
        "ZipFile": ...,
    }
Definition
class FunctionCodeTypeDef(TypedDict):
    ZipFile: NotRequired[Union[str, bytes, IO[Any], StreamingBody]],
    S3Bucket: NotRequired[str],
    S3Key: NotRequired[str],
    S3ObjectVersion: NotRequired[str],
    ImageUri: NotRequired[str],

ImageConfigTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import ImageConfigTypeDef

def get_value() -> ImageConfigTypeDef:
    return {
        "EntryPoint": ...,
    }
Definition
class ImageConfigTypeDef(TypedDict):
    EntryPoint: NotRequired[Sequence[str]],
    Command: NotRequired[Sequence[str]],
    WorkingDirectory: NotRequired[str],

TracingConfigTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import TracingConfigTypeDef

def get_value() -> TracingConfigTypeDef:
    return {
        "Mode": ...,
    }
Definition
class TracingConfigTypeDef(TypedDict):
    Mode: NotRequired[TracingModeType],  # (1)
  1. See TracingModeType

VpcConfigTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import VpcConfigTypeDef

def get_value() -> VpcConfigTypeDef:
    return {
        "SubnetIds": ...,
    }
Definition
class VpcConfigTypeDef(TypedDict):
    SubnetIds: NotRequired[Sequence[str]],
    SecurityGroupIds: NotRequired[Sequence[str]],

DeleteAliasRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import DeleteAliasRequestRequestTypeDef

def get_value() -> DeleteAliasRequestRequestTypeDef:
    return {
        "FunctionName": ...,
        "Name": ...,
    }
Definition
class DeleteAliasRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Name: str,

DeleteCodeSigningConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import DeleteCodeSigningConfigRequestRequestTypeDef

def get_value() -> DeleteCodeSigningConfigRequestRequestTypeDef:
    return {
        "CodeSigningConfigArn": ...,
    }
Definition
class DeleteCodeSigningConfigRequestRequestTypeDef(TypedDict):
    CodeSigningConfigArn: str,

DeleteEventSourceMappingRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import DeleteEventSourceMappingRequestRequestTypeDef

def get_value() -> DeleteEventSourceMappingRequestRequestTypeDef:
    return {
        "UUID": ...,
    }
Definition
class DeleteEventSourceMappingRequestRequestTypeDef(TypedDict):
    UUID: str,

DeleteFunctionCodeSigningConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import DeleteFunctionCodeSigningConfigRequestRequestTypeDef

def get_value() -> DeleteFunctionCodeSigningConfigRequestRequestTypeDef:
    return {
        "FunctionName": ...,
    }
Definition
class DeleteFunctionCodeSigningConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,

DeleteFunctionConcurrencyRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import DeleteFunctionConcurrencyRequestRequestTypeDef

def get_value() -> DeleteFunctionConcurrencyRequestRequestTypeDef:
    return {
        "FunctionName": ...,
    }
Definition
class DeleteFunctionConcurrencyRequestRequestTypeDef(TypedDict):
    FunctionName: str,

DeleteFunctionEventInvokeConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import DeleteFunctionEventInvokeConfigRequestRequestTypeDef

def get_value() -> DeleteFunctionEventInvokeConfigRequestRequestTypeDef:
    return {
        "FunctionName": ...,
    }
Definition
class DeleteFunctionEventInvokeConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: NotRequired[str],

DeleteFunctionRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import DeleteFunctionRequestRequestTypeDef

def get_value() -> DeleteFunctionRequestRequestTypeDef:
    return {
        "FunctionName": ...,
    }
Definition
class DeleteFunctionRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: NotRequired[str],

DeleteFunctionUrlConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import DeleteFunctionUrlConfigRequestRequestTypeDef

def get_value() -> DeleteFunctionUrlConfigRequestRequestTypeDef:
    return {
        "FunctionName": ...,
    }
Definition
class DeleteFunctionUrlConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: NotRequired[str],

DeleteLayerVersionRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import DeleteLayerVersionRequestRequestTypeDef

def get_value() -> DeleteLayerVersionRequestRequestTypeDef:
    return {
        "LayerName": ...,
        "VersionNumber": ...,
    }
Definition
class DeleteLayerVersionRequestRequestTypeDef(TypedDict):
    LayerName: str,
    VersionNumber: int,

DeleteProvisionedConcurrencyConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import DeleteProvisionedConcurrencyConfigRequestRequestTypeDef

def get_value() -> DeleteProvisionedConcurrencyConfigRequestRequestTypeDef:
    return {
        "FunctionName": ...,
        "Qualifier": ...,
    }
Definition
class DeleteProvisionedConcurrencyConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: str,

OnFailureTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import OnFailureTypeDef

def get_value() -> OnFailureTypeDef:
    return {
        "Destination": ...,
    }
Definition
class OnFailureTypeDef(TypedDict):
    Destination: NotRequired[str],

OnSuccessTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import OnSuccessTypeDef

def get_value() -> OnSuccessTypeDef:
    return {
        "Destination": ...,
    }
Definition
class OnSuccessTypeDef(TypedDict):
    Destination: NotRequired[str],

EnvironmentErrorTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import EnvironmentErrorTypeDef

def get_value() -> EnvironmentErrorTypeDef:
    return {
        "ErrorCode": ...,
    }
Definition
class EnvironmentErrorTypeDef(TypedDict):
    ErrorCode: NotRequired[str],
    Message: NotRequired[str],

FilterTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import FilterTypeDef

def get_value() -> FilterTypeDef:
    return {
        "Pattern": ...,
    }
Definition
class FilterTypeDef(TypedDict):
    Pattern: NotRequired[str],

FunctionCodeLocationTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import FunctionCodeLocationTypeDef

def get_value() -> FunctionCodeLocationTypeDef:
    return {
        "RepositoryType": ...,
    }
Definition
class FunctionCodeLocationTypeDef(TypedDict):
    RepositoryType: NotRequired[str],
    Location: NotRequired[str],
    ImageUri: NotRequired[str],
    ResolvedImageUri: NotRequired[str],

LayerTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import LayerTypeDef

def get_value() -> LayerTypeDef:
    return {
        "Arn": ...,
    }
Definition
class LayerTypeDef(TypedDict):
    Arn: NotRequired[str],
    CodeSize: NotRequired[int],
    SigningProfileVersionArn: NotRequired[str],
    SigningJobArn: NotRequired[str],

TracingConfigResponseTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import TracingConfigResponseTypeDef

def get_value() -> TracingConfigResponseTypeDef:
    return {
        "Mode": ...,
    }
Definition
class TracingConfigResponseTypeDef(TypedDict):
    Mode: NotRequired[TracingModeType],  # (1)
  1. See TracingModeType

VpcConfigResponseTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import VpcConfigResponseTypeDef

def get_value() -> VpcConfigResponseTypeDef:
    return {
        "SubnetIds": ...,
    }
Definition
class VpcConfigResponseTypeDef(TypedDict):
    SubnetIds: NotRequired[List[str]],
    SecurityGroupIds: NotRequired[List[str]],
    VpcId: NotRequired[str],

GetAliasRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import GetAliasRequestRequestTypeDef

def get_value() -> GetAliasRequestRequestTypeDef:
    return {
        "FunctionName": ...,
        "Name": ...,
    }
Definition
class GetAliasRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Name: str,

GetCodeSigningConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import GetCodeSigningConfigRequestRequestTypeDef

def get_value() -> GetCodeSigningConfigRequestRequestTypeDef:
    return {
        "CodeSigningConfigArn": ...,
    }
Definition
class GetCodeSigningConfigRequestRequestTypeDef(TypedDict):
    CodeSigningConfigArn: str,

GetEventSourceMappingRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import GetEventSourceMappingRequestRequestTypeDef

def get_value() -> GetEventSourceMappingRequestRequestTypeDef:
    return {
        "UUID": ...,
    }
Definition
class GetEventSourceMappingRequestRequestTypeDef(TypedDict):
    UUID: str,

GetFunctionCodeSigningConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import GetFunctionCodeSigningConfigRequestRequestTypeDef

def get_value() -> GetFunctionCodeSigningConfigRequestRequestTypeDef:
    return {
        "FunctionName": ...,
    }
Definition
class GetFunctionCodeSigningConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,

GetFunctionConcurrencyRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import GetFunctionConcurrencyRequestRequestTypeDef

def get_value() -> GetFunctionConcurrencyRequestRequestTypeDef:
    return {
        "FunctionName": ...,
    }
Definition
class GetFunctionConcurrencyRequestRequestTypeDef(TypedDict):
    FunctionName: str,

WaiterConfigTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import WaiterConfigTypeDef

def get_value() -> WaiterConfigTypeDef:
    return {
        "Delay": ...,
    }
Definition
class WaiterConfigTypeDef(TypedDict):
    Delay: NotRequired[int],
    MaxAttempts: NotRequired[int],

GetFunctionConfigurationRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import GetFunctionConfigurationRequestRequestTypeDef

def get_value() -> GetFunctionConfigurationRequestRequestTypeDef:
    return {
        "FunctionName": ...,
    }
Definition
class GetFunctionConfigurationRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: NotRequired[str],

GetFunctionEventInvokeConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import GetFunctionEventInvokeConfigRequestRequestTypeDef

def get_value() -> GetFunctionEventInvokeConfigRequestRequestTypeDef:
    return {
        "FunctionName": ...,
    }
Definition
class GetFunctionEventInvokeConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: NotRequired[str],

GetFunctionRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import GetFunctionRequestRequestTypeDef

def get_value() -> GetFunctionRequestRequestTypeDef:
    return {
        "FunctionName": ...,
    }
Definition
class GetFunctionRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: NotRequired[str],

GetFunctionUrlConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import GetFunctionUrlConfigRequestRequestTypeDef

def get_value() -> GetFunctionUrlConfigRequestRequestTypeDef:
    return {
        "FunctionName": ...,
    }
Definition
class GetFunctionUrlConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: NotRequired[str],

GetLayerVersionByArnRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import GetLayerVersionByArnRequestRequestTypeDef

def get_value() -> GetLayerVersionByArnRequestRequestTypeDef:
    return {
        "Arn": ...,
    }
Definition
class GetLayerVersionByArnRequestRequestTypeDef(TypedDict):
    Arn: str,

GetLayerVersionPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import GetLayerVersionPolicyRequestRequestTypeDef

def get_value() -> GetLayerVersionPolicyRequestRequestTypeDef:
    return {
        "LayerName": ...,
        "VersionNumber": ...,
    }
Definition
class GetLayerVersionPolicyRequestRequestTypeDef(TypedDict):
    LayerName: str,
    VersionNumber: int,

GetLayerVersionRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import GetLayerVersionRequestRequestTypeDef

def get_value() -> GetLayerVersionRequestRequestTypeDef:
    return {
        "LayerName": ...,
        "VersionNumber": ...,
    }
Definition
class GetLayerVersionRequestRequestTypeDef(TypedDict):
    LayerName: str,
    VersionNumber: int,

LayerVersionContentOutputTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import LayerVersionContentOutputTypeDef

def get_value() -> LayerVersionContentOutputTypeDef:
    return {
        "Location": ...,
    }
Definition
class LayerVersionContentOutputTypeDef(TypedDict):
    Location: NotRequired[str],
    CodeSha256: NotRequired[str],
    CodeSize: NotRequired[int],
    SigningProfileVersionArn: NotRequired[str],
    SigningJobArn: NotRequired[str],

GetPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import GetPolicyRequestRequestTypeDef

def get_value() -> GetPolicyRequestRequestTypeDef:
    return {
        "FunctionName": ...,
    }
Definition
class GetPolicyRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: NotRequired[str],

GetProvisionedConcurrencyConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import GetProvisionedConcurrencyConfigRequestRequestTypeDef

def get_value() -> GetProvisionedConcurrencyConfigRequestRequestTypeDef:
    return {
        "FunctionName": ...,
        "Qualifier": ...,
    }
Definition
class GetProvisionedConcurrencyConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: str,

ImageConfigErrorTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import ImageConfigErrorTypeDef

def get_value() -> ImageConfigErrorTypeDef:
    return {
        "ErrorCode": ...,
    }
Definition
class ImageConfigErrorTypeDef(TypedDict):
    ErrorCode: NotRequired[str],
    Message: NotRequired[str],

InvocationRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import InvocationRequestRequestTypeDef

def get_value() -> InvocationRequestRequestTypeDef:
    return {
        "FunctionName": ...,
    }
Definition
class InvocationRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    InvocationType: NotRequired[InvocationTypeType],  # (1)
    LogType: NotRequired[LogTypeType],  # (2)
    ClientContext: NotRequired[str],
    Payload: NotRequired[Union[str, bytes, IO[Any], StreamingBody]],
    Qualifier: NotRequired[str],
  1. See InvocationTypeType
  2. See LogTypeType

InvokeAsyncRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import InvokeAsyncRequestRequestTypeDef

def get_value() -> InvokeAsyncRequestRequestTypeDef:
    return {
        "FunctionName": ...,
        "InvokeArgs": ...,
    }
Definition
class InvokeAsyncRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    InvokeArgs: Union[str, bytes, IO[Any], StreamingBody],

LayerVersionContentInputTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import LayerVersionContentInputTypeDef

def get_value() -> LayerVersionContentInputTypeDef:
    return {
        "S3Bucket": ...,
    }
Definition
class LayerVersionContentInputTypeDef(TypedDict):
    S3Bucket: NotRequired[str],
    S3Key: NotRequired[str],
    S3ObjectVersion: NotRequired[str],
    ZipFile: NotRequired[Union[str, bytes, IO[Any], StreamingBody]],

LayerVersionsListItemTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import LayerVersionsListItemTypeDef

def get_value() -> LayerVersionsListItemTypeDef:
    return {
        "LayerVersionArn": ...,
    }
Definition
class LayerVersionsListItemTypeDef(TypedDict):
    LayerVersionArn: NotRequired[str],
    Version: NotRequired[int],
    Description: NotRequired[str],
    CreatedDate: NotRequired[str],
    CompatibleRuntimes: NotRequired[List[RuntimeType]],  # (1)
    LicenseInfo: NotRequired[str],
    CompatibleArchitectures: NotRequired[List[ArchitectureType]],  # (2)
  1. See RuntimeType
  2. See ArchitectureType

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
Definition
class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListAliasesRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import ListAliasesRequestRequestTypeDef

def get_value() -> ListAliasesRequestRequestTypeDef:
    return {
        "FunctionName": ...,
    }
Definition
class ListAliasesRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    FunctionVersion: NotRequired[str],
    Marker: NotRequired[str],
    MaxItems: NotRequired[int],

ListCodeSigningConfigsRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import ListCodeSigningConfigsRequestRequestTypeDef

def get_value() -> ListCodeSigningConfigsRequestRequestTypeDef:
    return {
        "Marker": ...,
    }
Definition
class ListCodeSigningConfigsRequestRequestTypeDef(TypedDict):
    Marker: NotRequired[str],
    MaxItems: NotRequired[int],

ListEventSourceMappingsRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import ListEventSourceMappingsRequestRequestTypeDef

def get_value() -> ListEventSourceMappingsRequestRequestTypeDef:
    return {
        "EventSourceArn": ...,
    }
Definition
class ListEventSourceMappingsRequestRequestTypeDef(TypedDict):
    EventSourceArn: NotRequired[str],
    FunctionName: NotRequired[str],
    Marker: NotRequired[str],
    MaxItems: NotRequired[int],

ListFunctionEventInvokeConfigsRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import ListFunctionEventInvokeConfigsRequestRequestTypeDef

def get_value() -> ListFunctionEventInvokeConfigsRequestRequestTypeDef:
    return {
        "FunctionName": ...,
    }
Definition
class ListFunctionEventInvokeConfigsRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Marker: NotRequired[str],
    MaxItems: NotRequired[int],

ListFunctionUrlConfigsRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import ListFunctionUrlConfigsRequestRequestTypeDef

def get_value() -> ListFunctionUrlConfigsRequestRequestTypeDef:
    return {
        "FunctionName": ...,
    }
Definition
class ListFunctionUrlConfigsRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Marker: NotRequired[str],
    MaxItems: NotRequired[int],

ListFunctionsByCodeSigningConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import ListFunctionsByCodeSigningConfigRequestRequestTypeDef

def get_value() -> ListFunctionsByCodeSigningConfigRequestRequestTypeDef:
    return {
        "CodeSigningConfigArn": ...,
    }
Definition
class ListFunctionsByCodeSigningConfigRequestRequestTypeDef(TypedDict):
    CodeSigningConfigArn: str,
    Marker: NotRequired[str],
    MaxItems: NotRequired[int],

ListFunctionsRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import ListFunctionsRequestRequestTypeDef

def get_value() -> ListFunctionsRequestRequestTypeDef:
    return {
        "MasterRegion": ...,
    }
Definition
class ListFunctionsRequestRequestTypeDef(TypedDict):
    MasterRegion: NotRequired[str],
    FunctionVersion: NotRequired[FunctionVersionType],  # (1)
    Marker: NotRequired[str],
    MaxItems: NotRequired[int],
  1. See FunctionVersionType

ListLayerVersionsRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import ListLayerVersionsRequestRequestTypeDef

def get_value() -> ListLayerVersionsRequestRequestTypeDef:
    return {
        "LayerName": ...,
    }
Definition
class ListLayerVersionsRequestRequestTypeDef(TypedDict):
    LayerName: str,
    CompatibleRuntime: NotRequired[RuntimeType],  # (1)
    Marker: NotRequired[str],
    MaxItems: NotRequired[int],
    CompatibleArchitecture: NotRequired[ArchitectureType],  # (2)
  1. See RuntimeType
  2. See ArchitectureType

ListLayersRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import ListLayersRequestRequestTypeDef

def get_value() -> ListLayersRequestRequestTypeDef:
    return {
        "CompatibleRuntime": ...,
    }
Definition
class ListLayersRequestRequestTypeDef(TypedDict):
    CompatibleRuntime: NotRequired[RuntimeType],  # (1)
    Marker: NotRequired[str],
    MaxItems: NotRequired[int],
    CompatibleArchitecture: NotRequired[ArchitectureType],  # (2)
  1. See RuntimeType
  2. See ArchitectureType

ListProvisionedConcurrencyConfigsRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import ListProvisionedConcurrencyConfigsRequestRequestTypeDef

def get_value() -> ListProvisionedConcurrencyConfigsRequestRequestTypeDef:
    return {
        "FunctionName": ...,
    }
Definition
class ListProvisionedConcurrencyConfigsRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Marker: NotRequired[str],
    MaxItems: NotRequired[int],

ProvisionedConcurrencyConfigListItemTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import ProvisionedConcurrencyConfigListItemTypeDef

def get_value() -> ProvisionedConcurrencyConfigListItemTypeDef:
    return {
        "FunctionArn": ...,
    }
Definition
class ProvisionedConcurrencyConfigListItemTypeDef(TypedDict):
    FunctionArn: NotRequired[str],
    RequestedProvisionedConcurrentExecutions: NotRequired[int],
    AvailableProvisionedConcurrentExecutions: NotRequired[int],
    AllocatedProvisionedConcurrentExecutions: NotRequired[int],
    Status: NotRequired[ProvisionedConcurrencyStatusEnumType],  # (1)
    StatusReason: NotRequired[str],
    LastModified: NotRequired[str],
  1. See ProvisionedConcurrencyStatusEnumType

ListTagsRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import ListTagsRequestRequestTypeDef

def get_value() -> ListTagsRequestRequestTypeDef:
    return {
        "Resource": ...,
    }
Definition
class ListTagsRequestRequestTypeDef(TypedDict):
    Resource: str,

ListVersionsByFunctionRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import ListVersionsByFunctionRequestRequestTypeDef

def get_value() -> ListVersionsByFunctionRequestRequestTypeDef:
    return {
        "FunctionName": ...,
    }
Definition
class ListVersionsByFunctionRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Marker: NotRequired[str],
    MaxItems: NotRequired[int],

PublishVersionRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import PublishVersionRequestRequestTypeDef

def get_value() -> PublishVersionRequestRequestTypeDef:
    return {
        "FunctionName": ...,
    }
Definition
class PublishVersionRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    CodeSha256: NotRequired[str],
    Description: NotRequired[str],
    RevisionId: NotRequired[str],

PutFunctionCodeSigningConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import PutFunctionCodeSigningConfigRequestRequestTypeDef

def get_value() -> PutFunctionCodeSigningConfigRequestRequestTypeDef:
    return {
        "CodeSigningConfigArn": ...,
        "FunctionName": ...,
    }
Definition
class PutFunctionCodeSigningConfigRequestRequestTypeDef(TypedDict):
    CodeSigningConfigArn: str,
    FunctionName: str,

PutFunctionConcurrencyRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import PutFunctionConcurrencyRequestRequestTypeDef

def get_value() -> PutFunctionConcurrencyRequestRequestTypeDef:
    return {
        "FunctionName": ...,
        "ReservedConcurrentExecutions": ...,
    }
Definition
class PutFunctionConcurrencyRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    ReservedConcurrentExecutions: int,

PutProvisionedConcurrencyConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import PutProvisionedConcurrencyConfigRequestRequestTypeDef

def get_value() -> PutProvisionedConcurrencyConfigRequestRequestTypeDef:
    return {
        "FunctionName": ...,
        "Qualifier": ...,
        "ProvisionedConcurrentExecutions": ...,
    }
Definition
class PutProvisionedConcurrencyConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: str,
    ProvisionedConcurrentExecutions: int,

RemoveLayerVersionPermissionRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import RemoveLayerVersionPermissionRequestRequestTypeDef

def get_value() -> RemoveLayerVersionPermissionRequestRequestTypeDef:
    return {
        "LayerName": ...,
        "VersionNumber": ...,
        "StatementId": ...,
    }
Definition
class RemoveLayerVersionPermissionRequestRequestTypeDef(TypedDict):
    LayerName: str,
    VersionNumber: int,
    StatementId: str,
    RevisionId: NotRequired[str],

RemovePermissionRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import RemovePermissionRequestRequestTypeDef

def get_value() -> RemovePermissionRequestRequestTypeDef:
    return {
        "FunctionName": ...,
        "StatementId": ...,
    }
Definition
class RemovePermissionRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    StatementId: str,
    Qualifier: NotRequired[str],
    RevisionId: NotRequired[str],

TagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import TagResourceRequestRequestTypeDef

def get_value() -> TagResourceRequestRequestTypeDef:
    return {
        "Resource": ...,
        "Tags": ...,
    }
Definition
class TagResourceRequestRequestTypeDef(TypedDict):
    Resource: str,
    Tags: Mapping[str, str],

UntagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import UntagResourceRequestRequestTypeDef

def get_value() -> UntagResourceRequestRequestTypeDef:
    return {
        "Resource": ...,
        "TagKeys": ...,
    }
Definition
class UntagResourceRequestRequestTypeDef(TypedDict):
    Resource: str,
    TagKeys: Sequence[str],

UpdateFunctionCodeRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import UpdateFunctionCodeRequestRequestTypeDef

def get_value() -> UpdateFunctionCodeRequestRequestTypeDef:
    return {
        "FunctionName": ...,
    }
Definition
class UpdateFunctionCodeRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    ZipFile: NotRequired[Union[str, bytes, IO[Any], StreamingBody]],
    S3Bucket: NotRequired[str],
    S3Key: NotRequired[str],
    S3ObjectVersion: NotRequired[str],
    ImageUri: NotRequired[str],
    Publish: NotRequired[bool],
    DryRun: NotRequired[bool],
    RevisionId: NotRequired[str],
    Architectures: NotRequired[Sequence[ArchitectureType]],  # (1)
  1. See ArchitectureType

AddLayerVersionPermissionResponseTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import AddLayerVersionPermissionResponseTypeDef

def get_value() -> AddLayerVersionPermissionResponseTypeDef:
    return {
        "Statement": ...,
        "RevisionId": ...,
        "ResponseMetadata": ...,
    }
Definition
class AddLayerVersionPermissionResponseTypeDef(TypedDict):
    Statement: str,
    RevisionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

AddPermissionResponseTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import AddPermissionResponseTypeDef

def get_value() -> AddPermissionResponseTypeDef:
    return {
        "Statement": ...,
        "ResponseMetadata": ...,
    }
Definition
class AddPermissionResponseTypeDef(TypedDict):
    Statement: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ConcurrencyResponseMetadataTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import ConcurrencyResponseMetadataTypeDef

def get_value() -> ConcurrencyResponseMetadataTypeDef:
    return {
        "ReservedConcurrentExecutions": ...,
        "ResponseMetadata": ...,
    }
Definition
class ConcurrencyResponseMetadataTypeDef(TypedDict):
    ReservedConcurrentExecutions: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import EmptyResponseMetadataTypeDef

def get_value() -> EmptyResponseMetadataTypeDef:
    return {
        "ResponseMetadata": ...,
    }
Definition
class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetAccountSettingsResponseTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import GetAccountSettingsResponseTypeDef

def get_value() -> GetAccountSettingsResponseTypeDef:
    return {
        "AccountLimit": ...,
        "AccountUsage": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetAccountSettingsResponseTypeDef(TypedDict):
    AccountLimit: AccountLimitTypeDef,  # (1)
    AccountUsage: AccountUsageTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See AccountLimitTypeDef
  2. See AccountUsageTypeDef
  3. See ResponseMetadataTypeDef

GetFunctionCodeSigningConfigResponseTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import GetFunctionCodeSigningConfigResponseTypeDef

def get_value() -> GetFunctionCodeSigningConfigResponseTypeDef:
    return {
        "CodeSigningConfigArn": ...,
        "FunctionName": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetFunctionCodeSigningConfigResponseTypeDef(TypedDict):
    CodeSigningConfigArn: str,
    FunctionName: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetFunctionConcurrencyResponseTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import GetFunctionConcurrencyResponseTypeDef

def get_value() -> GetFunctionConcurrencyResponseTypeDef:
    return {
        "ReservedConcurrentExecutions": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetFunctionConcurrencyResponseTypeDef(TypedDict):
    ReservedConcurrentExecutions: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetLayerVersionPolicyResponseTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import GetLayerVersionPolicyResponseTypeDef

def get_value() -> GetLayerVersionPolicyResponseTypeDef:
    return {
        "Policy": ...,
        "RevisionId": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetLayerVersionPolicyResponseTypeDef(TypedDict):
    Policy: str,
    RevisionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetPolicyResponseTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import GetPolicyResponseTypeDef

def get_value() -> GetPolicyResponseTypeDef:
    return {
        "Policy": ...,
        "RevisionId": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetPolicyResponseTypeDef(TypedDict):
    Policy: str,
    RevisionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetProvisionedConcurrencyConfigResponseTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import GetProvisionedConcurrencyConfigResponseTypeDef

def get_value() -> GetProvisionedConcurrencyConfigResponseTypeDef:
    return {
        "RequestedProvisionedConcurrentExecutions": ...,
        "AvailableProvisionedConcurrentExecutions": ...,
        "AllocatedProvisionedConcurrentExecutions": ...,
        "Status": ...,
        "StatusReason": ...,
        "LastModified": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetProvisionedConcurrencyConfigResponseTypeDef(TypedDict):
    RequestedProvisionedConcurrentExecutions: int,
    AvailableProvisionedConcurrentExecutions: int,
    AllocatedProvisionedConcurrentExecutions: int,
    Status: ProvisionedConcurrencyStatusEnumType,  # (1)
    StatusReason: str,
    LastModified: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProvisionedConcurrencyStatusEnumType
  2. See ResponseMetadataTypeDef

InvocationResponseTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import InvocationResponseTypeDef

def get_value() -> InvocationResponseTypeDef:
    return {
        "StatusCode": ...,
        "FunctionError": ...,
        "LogResult": ...,
        "Payload": ...,
        "ExecutedVersion": ...,
        "ResponseMetadata": ...,
    }
Definition
class InvocationResponseTypeDef(TypedDict):
    StatusCode: int,
    FunctionError: str,
    LogResult: str,
    Payload: StreamingBody,
    ExecutedVersion: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

InvokeAsyncResponseTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import InvokeAsyncResponseTypeDef

def get_value() -> InvokeAsyncResponseTypeDef:
    return {
        "Status": ...,
        "ResponseMetadata": ...,
    }
Definition
class InvokeAsyncResponseTypeDef(TypedDict):
    Status: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListFunctionsByCodeSigningConfigResponseTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import ListFunctionsByCodeSigningConfigResponseTypeDef

def get_value() -> ListFunctionsByCodeSigningConfigResponseTypeDef:
    return {
        "NextMarker": ...,
        "FunctionArns": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListFunctionsByCodeSigningConfigResponseTypeDef(TypedDict):
    NextMarker: str,
    FunctionArns: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListTagsResponseTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import ListTagsResponseTypeDef

def get_value() -> ListTagsResponseTypeDef:
    return {
        "Tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListTagsResponseTypeDef(TypedDict):
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

PutFunctionCodeSigningConfigResponseTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import PutFunctionCodeSigningConfigResponseTypeDef

def get_value() -> PutFunctionCodeSigningConfigResponseTypeDef:
    return {
        "CodeSigningConfigArn": ...,
        "FunctionName": ...,
        "ResponseMetadata": ...,
    }
Definition
class PutFunctionCodeSigningConfigResponseTypeDef(TypedDict):
    CodeSigningConfigArn: str,
    FunctionName: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

PutProvisionedConcurrencyConfigResponseTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import PutProvisionedConcurrencyConfigResponseTypeDef

def get_value() -> PutProvisionedConcurrencyConfigResponseTypeDef:
    return {
        "RequestedProvisionedConcurrentExecutions": ...,
        "AvailableProvisionedConcurrentExecutions": ...,
        "AllocatedProvisionedConcurrentExecutions": ...,
        "Status": ...,
        "StatusReason": ...,
        "LastModified": ...,
        "ResponseMetadata": ...,
    }
Definition
class PutProvisionedConcurrencyConfigResponseTypeDef(TypedDict):
    RequestedProvisionedConcurrentExecutions: int,
    AvailableProvisionedConcurrentExecutions: int,
    AllocatedProvisionedConcurrentExecutions: int,
    Status: ProvisionedConcurrencyStatusEnumType,  # (1)
    StatusReason: str,
    LastModified: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProvisionedConcurrencyStatusEnumType
  2. See ResponseMetadataTypeDef

AliasConfigurationResponseMetadataTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import AliasConfigurationResponseMetadataTypeDef

def get_value() -> AliasConfigurationResponseMetadataTypeDef:
    return {
        "AliasArn": ...,
        "Name": ...,
        "FunctionVersion": ...,
        "Description": ...,
        "RoutingConfig": ...,
        "RevisionId": ...,
        "ResponseMetadata": ...,
    }
Definition
class AliasConfigurationResponseMetadataTypeDef(TypedDict):
    AliasArn: str,
    Name: str,
    FunctionVersion: str,
    Description: str,
    RoutingConfig: AliasRoutingConfigurationTypeDef,  # (1)
    RevisionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AliasRoutingConfigurationTypeDef
  2. See ResponseMetadataTypeDef

AliasConfigurationTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import AliasConfigurationTypeDef

def get_value() -> AliasConfigurationTypeDef:
    return {
        "AliasArn": ...,
    }
Definition
class AliasConfigurationTypeDef(TypedDict):
    AliasArn: NotRequired[str],
    Name: NotRequired[str],
    FunctionVersion: NotRequired[str],
    Description: NotRequired[str],
    RoutingConfig: NotRequired[AliasRoutingConfigurationTypeDef],  # (1)
    RevisionId: NotRequired[str],
  1. See AliasRoutingConfigurationTypeDef

CreateAliasRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import CreateAliasRequestRequestTypeDef

def get_value() -> CreateAliasRequestRequestTypeDef:
    return {
        "FunctionName": ...,
        "Name": ...,
        "FunctionVersion": ...,
    }
Definition
class CreateAliasRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Name: str,
    FunctionVersion: str,
    Description: NotRequired[str],
    RoutingConfig: NotRequired[AliasRoutingConfigurationTypeDef],  # (1)
  1. See AliasRoutingConfigurationTypeDef

UpdateAliasRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import UpdateAliasRequestRequestTypeDef

def get_value() -> UpdateAliasRequestRequestTypeDef:
    return {
        "FunctionName": ...,
        "Name": ...,
    }
Definition
class UpdateAliasRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Name: str,
    FunctionVersion: NotRequired[str],
    Description: NotRequired[str],
    RoutingConfig: NotRequired[AliasRoutingConfigurationTypeDef],  # (1)
    RevisionId: NotRequired[str],
  1. See AliasRoutingConfigurationTypeDef

CodeSigningConfigTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import CodeSigningConfigTypeDef

def get_value() -> CodeSigningConfigTypeDef:
    return {
        "CodeSigningConfigId": ...,
        "CodeSigningConfigArn": ...,
        "AllowedPublishers": ...,
        "CodeSigningPolicies": ...,
        "LastModified": ...,
    }
Definition
class CodeSigningConfigTypeDef(TypedDict):
    CodeSigningConfigId: str,
    CodeSigningConfigArn: str,
    AllowedPublishers: AllowedPublishersTypeDef,  # (1)
    CodeSigningPolicies: CodeSigningPoliciesTypeDef,  # (2)
    LastModified: str,
    Description: NotRequired[str],
  1. See AllowedPublishersTypeDef
  2. See CodeSigningPoliciesTypeDef

CreateCodeSigningConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import CreateCodeSigningConfigRequestRequestTypeDef

def get_value() -> CreateCodeSigningConfigRequestRequestTypeDef:
    return {
        "AllowedPublishers": ...,
    }
Definition
class CreateCodeSigningConfigRequestRequestTypeDef(TypedDict):
    AllowedPublishers: AllowedPublishersTypeDef,  # (1)
    Description: NotRequired[str],
    CodeSigningPolicies: NotRequired[CodeSigningPoliciesTypeDef],  # (2)
  1. See AllowedPublishersTypeDef
  2. See CodeSigningPoliciesTypeDef

UpdateCodeSigningConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import UpdateCodeSigningConfigRequestRequestTypeDef

def get_value() -> UpdateCodeSigningConfigRequestRequestTypeDef:
    return {
        "CodeSigningConfigArn": ...,
    }
Definition
class UpdateCodeSigningConfigRequestRequestTypeDef(TypedDict):
    CodeSigningConfigArn: str,
    Description: NotRequired[str],
    AllowedPublishers: NotRequired[AllowedPublishersTypeDef],  # (1)
    CodeSigningPolicies: NotRequired[CodeSigningPoliciesTypeDef],  # (2)
  1. See AllowedPublishersTypeDef
  2. See CodeSigningPoliciesTypeDef

CreateFunctionUrlConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import CreateFunctionUrlConfigRequestRequestTypeDef

def get_value() -> CreateFunctionUrlConfigRequestRequestTypeDef:
    return {
        "FunctionName": ...,
        "AuthType": ...,
    }
Definition
class CreateFunctionUrlConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    AuthType: FunctionUrlAuthTypeType,  # (1)
    Qualifier: NotRequired[str],
    Cors: NotRequired[CorsTypeDef],  # (2)
  1. See FunctionUrlAuthTypeType
  2. See CorsTypeDef

CreateFunctionUrlConfigResponseTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import CreateFunctionUrlConfigResponseTypeDef

def get_value() -> CreateFunctionUrlConfigResponseTypeDef:
    return {
        "FunctionUrl": ...,
        "FunctionArn": ...,
        "AuthType": ...,
        "Cors": ...,
        "CreationTime": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateFunctionUrlConfigResponseTypeDef(TypedDict):
    FunctionUrl: str,
    FunctionArn: str,
    AuthType: FunctionUrlAuthTypeType,  # (1)
    Cors: CorsTypeDef,  # (2)
    CreationTime: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See FunctionUrlAuthTypeType
  2. See CorsTypeDef
  3. See ResponseMetadataTypeDef

FunctionUrlConfigTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import FunctionUrlConfigTypeDef

def get_value() -> FunctionUrlConfigTypeDef:
    return {
        "FunctionUrl": ...,
        "FunctionArn": ...,
        "CreationTime": ...,
        "LastModifiedTime": ...,
        "AuthType": ...,
    }
Definition
class FunctionUrlConfigTypeDef(TypedDict):
    FunctionUrl: str,
    FunctionArn: str,
    CreationTime: str,
    LastModifiedTime: str,
    AuthType: FunctionUrlAuthTypeType,  # (2)
    Cors: NotRequired[CorsTypeDef],  # (1)
  1. See CorsTypeDef
  2. See FunctionUrlAuthTypeType

GetFunctionUrlConfigResponseTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import GetFunctionUrlConfigResponseTypeDef

def get_value() -> GetFunctionUrlConfigResponseTypeDef:
    return {
        "FunctionUrl": ...,
        "FunctionArn": ...,
        "AuthType": ...,
        "Cors": ...,
        "CreationTime": ...,
        "LastModifiedTime": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetFunctionUrlConfigResponseTypeDef(TypedDict):
    FunctionUrl: str,
    FunctionArn: str,
    AuthType: FunctionUrlAuthTypeType,  # (1)
    Cors: CorsTypeDef,  # (2)
    CreationTime: str,
    LastModifiedTime: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See FunctionUrlAuthTypeType
  2. See CorsTypeDef
  3. See ResponseMetadataTypeDef

UpdateFunctionUrlConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import UpdateFunctionUrlConfigRequestRequestTypeDef

def get_value() -> UpdateFunctionUrlConfigRequestRequestTypeDef:
    return {
        "FunctionName": ...,
    }
Definition
class UpdateFunctionUrlConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: NotRequired[str],
    AuthType: NotRequired[FunctionUrlAuthTypeType],  # (1)
    Cors: NotRequired[CorsTypeDef],  # (2)
  1. See FunctionUrlAuthTypeType
  2. See CorsTypeDef

UpdateFunctionUrlConfigResponseTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import UpdateFunctionUrlConfigResponseTypeDef

def get_value() -> UpdateFunctionUrlConfigResponseTypeDef:
    return {
        "FunctionUrl": ...,
        "FunctionArn": ...,
        "AuthType": ...,
        "Cors": ...,
        "CreationTime": ...,
        "LastModifiedTime": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateFunctionUrlConfigResponseTypeDef(TypedDict):
    FunctionUrl: str,
    FunctionArn: str,
    AuthType: FunctionUrlAuthTypeType,  # (1)
    Cors: CorsTypeDef,  # (2)
    CreationTime: str,
    LastModifiedTime: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See FunctionUrlAuthTypeType
  2. See CorsTypeDef
  3. See ResponseMetadataTypeDef

CreateFunctionRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import CreateFunctionRequestRequestTypeDef

def get_value() -> CreateFunctionRequestRequestTypeDef:
    return {
        "FunctionName": ...,
        "Role": ...,
        "Code": ...,
    }
Definition
class CreateFunctionRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Role: str,
    Code: FunctionCodeTypeDef,  # (1)
    Runtime: NotRequired[RuntimeType],  # (2)
    Handler: NotRequired[str],
    Description: NotRequired[str],
    Timeout: NotRequired[int],
    MemorySize: NotRequired[int],
    Publish: NotRequired[bool],
    VpcConfig: NotRequired[VpcConfigTypeDef],  # (3)
    PackageType: NotRequired[PackageTypeType],  # (4)
    DeadLetterConfig: NotRequired[DeadLetterConfigTypeDef],  # (5)
    Environment: NotRequired[EnvironmentTypeDef],  # (6)
    KMSKeyArn: NotRequired[str],
    TracingConfig: NotRequired[TracingConfigTypeDef],  # (7)
    Tags: NotRequired[Mapping[str, str]],
    Layers: NotRequired[Sequence[str]],
    FileSystemConfigs: NotRequired[Sequence[FileSystemConfigTypeDef]],  # (8)
    ImageConfig: NotRequired[ImageConfigTypeDef],  # (9)
    CodeSigningConfigArn: NotRequired[str],
    Architectures: NotRequired[Sequence[ArchitectureType]],  # (10)
    EphemeralStorage: NotRequired[EphemeralStorageTypeDef],  # (11)
  1. See FunctionCodeTypeDef
  2. See RuntimeType
  3. See VpcConfigTypeDef
  4. See PackageTypeType
  5. See DeadLetterConfigTypeDef
  6. See EnvironmentTypeDef
  7. See TracingConfigTypeDef
  8. See FileSystemConfigTypeDef
  9. See ImageConfigTypeDef
  10. See ArchitectureType
  11. See EphemeralStorageTypeDef

UpdateFunctionConfigurationRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import UpdateFunctionConfigurationRequestRequestTypeDef

def get_value() -> UpdateFunctionConfigurationRequestRequestTypeDef:
    return {
        "FunctionName": ...,
    }
Definition
class UpdateFunctionConfigurationRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Role: NotRequired[str],
    Handler: NotRequired[str],
    Description: NotRequired[str],
    Timeout: NotRequired[int],
    MemorySize: NotRequired[int],
    VpcConfig: NotRequired[VpcConfigTypeDef],  # (1)
    Environment: NotRequired[EnvironmentTypeDef],  # (2)
    Runtime: NotRequired[RuntimeType],  # (3)
    DeadLetterConfig: NotRequired[DeadLetterConfigTypeDef],  # (4)
    KMSKeyArn: NotRequired[str],
    TracingConfig: NotRequired[TracingConfigTypeDef],  # (5)
    RevisionId: NotRequired[str],
    Layers: NotRequired[Sequence[str]],
    FileSystemConfigs: NotRequired[Sequence[FileSystemConfigTypeDef]],  # (6)
    ImageConfig: NotRequired[ImageConfigTypeDef],  # (7)
    EphemeralStorage: NotRequired[EphemeralStorageTypeDef],  # (8)
  1. See VpcConfigTypeDef
  2. See EnvironmentTypeDef
  3. See RuntimeType
  4. See DeadLetterConfigTypeDef
  5. See TracingConfigTypeDef
  6. See FileSystemConfigTypeDef
  7. See ImageConfigTypeDef
  8. See EphemeralStorageTypeDef

DestinationConfigTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import DestinationConfigTypeDef

def get_value() -> DestinationConfigTypeDef:
    return {
        "OnSuccess": ...,
    }
Definition
class DestinationConfigTypeDef(TypedDict):
    OnSuccess: NotRequired[OnSuccessTypeDef],  # (1)
    OnFailure: NotRequired[OnFailureTypeDef],  # (2)
  1. See OnSuccessTypeDef
  2. See OnFailureTypeDef

EnvironmentResponseTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import EnvironmentResponseTypeDef

def get_value() -> EnvironmentResponseTypeDef:
    return {
        "Variables": ...,
    }
Definition
class EnvironmentResponseTypeDef(TypedDict):
    Variables: NotRequired[Dict[str, str]],
    Error: NotRequired[EnvironmentErrorTypeDef],  # (1)
  1. See EnvironmentErrorTypeDef

FilterCriteriaTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import FilterCriteriaTypeDef

def get_value() -> FilterCriteriaTypeDef:
    return {
        "Filters": ...,
    }
Definition
class FilterCriteriaTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
  1. See FilterTypeDef

GetFunctionConfigurationRequestFunctionActiveWaitTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import GetFunctionConfigurationRequestFunctionActiveWaitTypeDef

def get_value() -> GetFunctionConfigurationRequestFunctionActiveWaitTypeDef:
    return {