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],

ScalingConfigTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import ScalingConfigTypeDef

def get_value() -> ScalingConfigTypeDef:
    return {
        "MaximumConcurrency": ...,
    }
Definition
class ScalingConfigTypeDef(TypedDict):
    MaximumConcurrency: 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],

SnapStartTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import SnapStartTypeDef

def get_value() -> SnapStartTypeDef:
    return {
        "ApplyOn": ...,
    }
Definition
class SnapStartTypeDef(TypedDict):
    ApplyOn: NotRequired[SnapStartApplyOnType],  # (1)
  1. See SnapStartApplyOnType

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],

SnapStartResponseTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import SnapStartResponseTypeDef

def get_value() -> SnapStartResponseTypeDef:
    return {
        "ApplyOn": ...,
    }
Definition
class SnapStartResponseTypeDef(TypedDict):
    ApplyOn: NotRequired[SnapStartApplyOnType],  # (1)
    OptimizationStatus: NotRequired[SnapStartOptimizationStatusType],  # (2)
  1. See SnapStartApplyOnType
  2. See SnapStartOptimizationStatusType

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,

GetRuntimeManagementConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import GetRuntimeManagementConfigRequestRequestTypeDef

def get_value() -> GetRuntimeManagementConfigRequestRequestTypeDef:
    return {
        "FunctionName": ...,
    }
Definition
class GetRuntimeManagementConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: NotRequired[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,

PutRuntimeManagementConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import PutRuntimeManagementConfigRequestRequestTypeDef

def get_value() -> PutRuntimeManagementConfigRequestRequestTypeDef:
    return {
        "FunctionName": ...,
        "UpdateRuntimeOn": ...,
    }
Definition
class PutRuntimeManagementConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    UpdateRuntimeOn: UpdateRuntimeOnType,  # (1)
    Qualifier: NotRequired[str],
    RuntimeVersionArn: NotRequired[str],
  1. See UpdateRuntimeOnType

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],

RuntimeVersionErrorTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import RuntimeVersionErrorTypeDef

def get_value() -> RuntimeVersionErrorTypeDef:
    return {
        "ErrorCode": ...,
    }
Definition
class RuntimeVersionErrorTypeDef(TypedDict):
    ErrorCode: NotRequired[str],
    Message: 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

GetRuntimeManagementConfigResponseTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import GetRuntimeManagementConfigResponseTypeDef

def get_value() -> GetRuntimeManagementConfigResponseTypeDef:
    return {
        "UpdateRuntimeOn": ...,
        "RuntimeVersionArn": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetRuntimeManagementConfigResponseTypeDef(TypedDict):
    UpdateRuntimeOn: UpdateRuntimeOnType,  # (1)
    RuntimeVersionArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UpdateRuntimeOnType
  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

PutRuntimeManagementConfigResponseTypeDef

Usage Example
from mypy_boto3_lambda.type_defs import PutRuntimeManagementConfigResponseTypeDef

def get_value() -> PutRuntimeManagementConfigResponseTypeDef:
    return {
        "UpdateRuntimeOn": ...,
        "FunctionArn": ...,
        "RuntimeVersionArn": ...,
        "ResponseMetadata": ...,
    }
Definition
class PutRuntimeManagementConfigResponseTypeDef(TypedDict):
    UpdateRuntimeOn: UpdateRuntimeOnType,  # (1)
    FunctionArn: str,
    RuntimeVersionArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UpdateRuntimeOnType
  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,