Skip to content

Type definitions#

Index > Lambda > Type definitions

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

BlobTypeDef#

# BlobTypeDef definition

BlobTypeDef = Union[
    str,
    bytes,
    IO[Any],
    StreamingBody,
]

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

AccountLimitTypeDef#

# AccountLimitTypeDef definition

class AccountLimitTypeDef(TypedDict):
    TotalCodeSize: NotRequired[int],
    CodeSizeUnzipped: NotRequired[int],
    CodeSizeZipped: NotRequired[int],
    ConcurrentExecutions: NotRequired[int],
    UnreservedConcurrentExecutions: NotRequired[int],

AccountUsageTypeDef#

# AccountUsageTypeDef definition

class AccountUsageTypeDef(TypedDict):
    TotalCodeSize: NotRequired[int],
    FunctionCount: NotRequired[int],

AddLayerVersionPermissionRequestRequestTypeDef#

# AddLayerVersionPermissionRequestRequestTypeDef definition

class AddLayerVersionPermissionRequestRequestTypeDef(TypedDict):
    LayerName: str,
    VersionNumber: int,
    StatementId: str,
    Action: str,
    Principal: str,
    OrganizationId: NotRequired[str],
    RevisionId: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

AddPermissionRequestRequestTypeDef#

# AddPermissionRequestRequestTypeDef 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

AliasRoutingConfigurationOutputTypeDef#

# AliasRoutingConfigurationOutputTypeDef definition

class AliasRoutingConfigurationOutputTypeDef(TypedDict):
    AdditionalVersionWeights: NotRequired[dict[str, float]],

AliasRoutingConfigurationTypeDef#

# AliasRoutingConfigurationTypeDef definition

class AliasRoutingConfigurationTypeDef(TypedDict):
    AdditionalVersionWeights: NotRequired[Mapping[str, float]],

AllowedPublishersOutputTypeDef#

# AllowedPublishersOutputTypeDef definition

class AllowedPublishersOutputTypeDef(TypedDict):
    SigningProfileVersionArns: list[str],

AllowedPublishersTypeDef#

# AllowedPublishersTypeDef definition

class AllowedPublishersTypeDef(TypedDict):
    SigningProfileVersionArns: Sequence[str],

AmazonManagedKafkaEventSourceConfigTypeDef#

# AmazonManagedKafkaEventSourceConfigTypeDef definition

class AmazonManagedKafkaEventSourceConfigTypeDef(TypedDict):
    ConsumerGroupId: NotRequired[str],

CodeSigningPoliciesTypeDef#

# CodeSigningPoliciesTypeDef definition

class CodeSigningPoliciesTypeDef(TypedDict):
    UntrustedArtifactOnDeployment: NotRequired[CodeSigningPolicyType],  # (1)
  1. See CodeSigningPolicyType

ConcurrencyTypeDef#

# ConcurrencyTypeDef definition

class ConcurrencyTypeDef(TypedDict):
    ReservedConcurrentExecutions: NotRequired[int],

CorsOutputTypeDef#

# CorsOutputTypeDef definition

class CorsOutputTypeDef(TypedDict):
    AllowCredentials: NotRequired[bool],
    AllowHeaders: NotRequired[list[str]],
    AllowMethods: NotRequired[list[str]],
    AllowOrigins: NotRequired[list[str]],
    ExposeHeaders: NotRequired[list[str]],
    MaxAge: NotRequired[int],

CorsTypeDef#

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

DocumentDBEventSourceConfigTypeDef#

# DocumentDBEventSourceConfigTypeDef definition

class DocumentDBEventSourceConfigTypeDef(TypedDict):
    DatabaseName: NotRequired[str],
    CollectionName: NotRequired[str],
    FullDocument: NotRequired[FullDocumentType],  # (1)
  1. See FullDocumentType

EventSourceMappingMetricsConfigTypeDef#

# EventSourceMappingMetricsConfigTypeDef definition

class EventSourceMappingMetricsConfigTypeDef(TypedDict):
    Metrics: NotRequired[Sequence[EventSourceMappingMetricType]],  # (1)
  1. See EventSourceMappingMetricType

ProvisionedPollerConfigTypeDef#

# ProvisionedPollerConfigTypeDef definition

class ProvisionedPollerConfigTypeDef(TypedDict):
    MinimumPollers: NotRequired[int],
    MaximumPollers: NotRequired[int],

ScalingConfigTypeDef#

# ScalingConfigTypeDef definition

class ScalingConfigTypeDef(TypedDict):
    MaximumConcurrency: NotRequired[int],

SelfManagedEventSourceTypeDef#

# SelfManagedEventSourceTypeDef definition

class SelfManagedEventSourceTypeDef(TypedDict):
    Endpoints: NotRequired[Mapping[EndPointTypeType, Sequence[str]]],  # (1)
  1. See EndPointTypeType

SelfManagedKafkaEventSourceConfigTypeDef#

# SelfManagedKafkaEventSourceConfigTypeDef definition

class SelfManagedKafkaEventSourceConfigTypeDef(TypedDict):
    ConsumerGroupId: NotRequired[str],

SourceAccessConfigurationTypeDef#

# SourceAccessConfigurationTypeDef definition

class SourceAccessConfigurationTypeDef(TypedDict):
    Type: NotRequired[SourceAccessTypeType],  # (1)
    URI: NotRequired[str],
  1. See SourceAccessTypeType

DeadLetterConfigTypeDef#

# DeadLetterConfigTypeDef definition

class DeadLetterConfigTypeDef(TypedDict):
    TargetArn: NotRequired[str],

EnvironmentTypeDef#

# EnvironmentTypeDef definition

class EnvironmentTypeDef(TypedDict):
    Variables: NotRequired[Mapping[str, str]],

EphemeralStorageTypeDef#

# EphemeralStorageTypeDef definition

class EphemeralStorageTypeDef(TypedDict):
    Size: int,

FileSystemConfigTypeDef#

# FileSystemConfigTypeDef definition

class FileSystemConfigTypeDef(TypedDict):
    Arn: str,
    LocalMountPath: str,

ImageConfigTypeDef#

# ImageConfigTypeDef definition

class ImageConfigTypeDef(TypedDict):
    EntryPoint: NotRequired[Sequence[str]],
    Command: NotRequired[Sequence[str]],
    WorkingDirectory: NotRequired[str],

LoggingConfigTypeDef#

# LoggingConfigTypeDef definition

class LoggingConfigTypeDef(TypedDict):
    LogFormat: NotRequired[LogFormatType],  # (1)
    ApplicationLogLevel: NotRequired[ApplicationLogLevelType],  # (2)
    SystemLogLevel: NotRequired[SystemLogLevelType],  # (3)
    LogGroup: NotRequired[str],
  1. See LogFormatType
  2. See ApplicationLogLevelType
  3. See SystemLogLevelType

SnapStartTypeDef#

# SnapStartTypeDef definition

class SnapStartTypeDef(TypedDict):
    ApplyOn: NotRequired[SnapStartApplyOnType],  # (1)
  1. See SnapStartApplyOnType

TracingConfigTypeDef#

# TracingConfigTypeDef definition

class TracingConfigTypeDef(TypedDict):
    Mode: NotRequired[TracingModeType],  # (1)
  1. See TracingModeType

VpcConfigTypeDef#

# VpcConfigTypeDef definition

class VpcConfigTypeDef(TypedDict):
    SubnetIds: NotRequired[Sequence[str]],
    SecurityGroupIds: NotRequired[Sequence[str]],
    Ipv6AllowedForDualStack: NotRequired[bool],

DeleteAliasRequestRequestTypeDef#

# DeleteAliasRequestRequestTypeDef definition

class DeleteAliasRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Name: str,

DeleteCodeSigningConfigRequestRequestTypeDef#

# DeleteCodeSigningConfigRequestRequestTypeDef definition

class DeleteCodeSigningConfigRequestRequestTypeDef(TypedDict):
    CodeSigningConfigArn: str,

DeleteEventSourceMappingRequestRequestTypeDef#

# DeleteEventSourceMappingRequestRequestTypeDef definition

class DeleteEventSourceMappingRequestRequestTypeDef(TypedDict):
    UUID: str,

DeleteFunctionCodeSigningConfigRequestRequestTypeDef#

# DeleteFunctionCodeSigningConfigRequestRequestTypeDef definition

class DeleteFunctionCodeSigningConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,

DeleteFunctionConcurrencyRequestRequestTypeDef#

# DeleteFunctionConcurrencyRequestRequestTypeDef definition

class DeleteFunctionConcurrencyRequestRequestTypeDef(TypedDict):
    FunctionName: str,

DeleteFunctionEventInvokeConfigRequestRequestTypeDef#

# DeleteFunctionEventInvokeConfigRequestRequestTypeDef definition

class DeleteFunctionEventInvokeConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: NotRequired[str],

DeleteFunctionRequestRequestTypeDef#

# DeleteFunctionRequestRequestTypeDef definition

class DeleteFunctionRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: NotRequired[str],

DeleteFunctionUrlConfigRequestRequestTypeDef#

# DeleteFunctionUrlConfigRequestRequestTypeDef definition

class DeleteFunctionUrlConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: NotRequired[str],

DeleteLayerVersionRequestRequestTypeDef#

# DeleteLayerVersionRequestRequestTypeDef definition

class DeleteLayerVersionRequestRequestTypeDef(TypedDict):
    LayerName: str,
    VersionNumber: int,

DeleteProvisionedConcurrencyConfigRequestRequestTypeDef#

# DeleteProvisionedConcurrencyConfigRequestRequestTypeDef definition

class DeleteProvisionedConcurrencyConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: str,

OnFailureTypeDef#

# OnFailureTypeDef definition

class OnFailureTypeDef(TypedDict):
    Destination: NotRequired[str],

OnSuccessTypeDef#

# OnSuccessTypeDef definition

class OnSuccessTypeDef(TypedDict):
    Destination: NotRequired[str],

EnvironmentErrorTypeDef#

# EnvironmentErrorTypeDef definition

class EnvironmentErrorTypeDef(TypedDict):
    ErrorCode: NotRequired[str],
    Message: NotRequired[str],

EventSourceMappingMetricsConfigOutputTypeDef#

# EventSourceMappingMetricsConfigOutputTypeDef definition

class EventSourceMappingMetricsConfigOutputTypeDef(TypedDict):
    Metrics: NotRequired[list[EventSourceMappingMetricType]],  # (1)
  1. See EventSourceMappingMetricType

FilterCriteriaErrorTypeDef#

# FilterCriteriaErrorTypeDef definition

class FilterCriteriaErrorTypeDef(TypedDict):
    ErrorCode: NotRequired[str],
    Message: NotRequired[str],

SelfManagedEventSourceOutputTypeDef#

# SelfManagedEventSourceOutputTypeDef definition

class SelfManagedEventSourceOutputTypeDef(TypedDict):
    Endpoints: NotRequired[dict[EndPointTypeType, list[str]]],  # (1)
  1. See EndPointTypeType

FilterTypeDef#

# FilterTypeDef definition

class FilterTypeDef(TypedDict):
    Pattern: NotRequired[str],

FunctionCodeLocationTypeDef#

# FunctionCodeLocationTypeDef definition

class FunctionCodeLocationTypeDef(TypedDict):
    RepositoryType: NotRequired[str],
    Location: NotRequired[str],
    ImageUri: NotRequired[str],
    ResolvedImageUri: NotRequired[str],
    SourceKMSKeyArn: NotRequired[str],

LayerTypeDef#

# LayerTypeDef definition

class LayerTypeDef(TypedDict):
    Arn: NotRequired[str],
    CodeSize: NotRequired[int],
    SigningProfileVersionArn: NotRequired[str],
    SigningJobArn: NotRequired[str],

SnapStartResponseTypeDef#

# SnapStartResponseTypeDef definition

class SnapStartResponseTypeDef(TypedDict):
    ApplyOn: NotRequired[SnapStartApplyOnType],  # (1)
    OptimizationStatus: NotRequired[SnapStartOptimizationStatusType],  # (2)
  1. See SnapStartApplyOnType
  2. See SnapStartOptimizationStatusType

TracingConfigResponseTypeDef#

# TracingConfigResponseTypeDef definition

class TracingConfigResponseTypeDef(TypedDict):
    Mode: NotRequired[TracingModeType],  # (1)
  1. See TracingModeType

VpcConfigResponseTypeDef#

# VpcConfigResponseTypeDef definition

class VpcConfigResponseTypeDef(TypedDict):
    SubnetIds: NotRequired[list[str]],
    SecurityGroupIds: NotRequired[list[str]],
    VpcId: NotRequired[str],
    Ipv6AllowedForDualStack: NotRequired[bool],

GetAliasRequestRequestTypeDef#

# GetAliasRequestRequestTypeDef definition

class GetAliasRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Name: str,

GetCodeSigningConfigRequestRequestTypeDef#

# GetCodeSigningConfigRequestRequestTypeDef definition

class GetCodeSigningConfigRequestRequestTypeDef(TypedDict):
    CodeSigningConfigArn: str,

GetEventSourceMappingRequestRequestTypeDef#

# GetEventSourceMappingRequestRequestTypeDef definition

class GetEventSourceMappingRequestRequestTypeDef(TypedDict):
    UUID: str,

GetFunctionCodeSigningConfigRequestRequestTypeDef#

# GetFunctionCodeSigningConfigRequestRequestTypeDef definition

class GetFunctionCodeSigningConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,

GetFunctionConcurrencyRequestRequestTypeDef#

# GetFunctionConcurrencyRequestRequestTypeDef definition

class GetFunctionConcurrencyRequestRequestTypeDef(TypedDict):
    FunctionName: str,

GetFunctionConfigurationRequestRequestTypeDef#

# GetFunctionConfigurationRequestRequestTypeDef definition

class GetFunctionConfigurationRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: NotRequired[str],

WaiterConfigTypeDef#

# WaiterConfigTypeDef definition

class WaiterConfigTypeDef(TypedDict):
    Delay: NotRequired[int],
    MaxAttempts: NotRequired[int],

GetFunctionEventInvokeConfigRequestRequestTypeDef#

# GetFunctionEventInvokeConfigRequestRequestTypeDef definition

class GetFunctionEventInvokeConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: NotRequired[str],

GetFunctionRecursionConfigRequestRequestTypeDef#

# GetFunctionRecursionConfigRequestRequestTypeDef definition

class GetFunctionRecursionConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,

GetFunctionRequestRequestTypeDef#

# GetFunctionRequestRequestTypeDef definition

class GetFunctionRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: NotRequired[str],

TagsErrorTypeDef#

# TagsErrorTypeDef definition

class TagsErrorTypeDef(TypedDict):
    ErrorCode: str,
    Message: str,

GetFunctionUrlConfigRequestRequestTypeDef#

# GetFunctionUrlConfigRequestRequestTypeDef definition

class GetFunctionUrlConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: NotRequired[str],

GetLayerVersionByArnRequestRequestTypeDef#

# GetLayerVersionByArnRequestRequestTypeDef definition

class GetLayerVersionByArnRequestRequestTypeDef(TypedDict):
    Arn: str,

GetLayerVersionPolicyRequestRequestTypeDef#

# GetLayerVersionPolicyRequestRequestTypeDef definition

class GetLayerVersionPolicyRequestRequestTypeDef(TypedDict):
    LayerName: str,
    VersionNumber: int,

GetLayerVersionRequestRequestTypeDef#

# GetLayerVersionRequestRequestTypeDef definition

class GetLayerVersionRequestRequestTypeDef(TypedDict):
    LayerName: str,
    VersionNumber: int,

LayerVersionContentOutputTypeDef#

# LayerVersionContentOutputTypeDef definition

class LayerVersionContentOutputTypeDef(TypedDict):
    Location: NotRequired[str],
    CodeSha256: NotRequired[str],
    CodeSize: NotRequired[int],
    SigningProfileVersionArn: NotRequired[str],
    SigningJobArn: NotRequired[str],

GetPolicyRequestRequestTypeDef#

# GetPolicyRequestRequestTypeDef definition

class GetPolicyRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: NotRequired[str],

GetProvisionedConcurrencyConfigRequestRequestTypeDef#

# GetProvisionedConcurrencyConfigRequestRequestTypeDef definition

class GetProvisionedConcurrencyConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: str,

GetRuntimeManagementConfigRequestRequestTypeDef#

# GetRuntimeManagementConfigRequestRequestTypeDef definition

class GetRuntimeManagementConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: NotRequired[str],

ImageConfigErrorTypeDef#

# ImageConfigErrorTypeDef definition

class ImageConfigErrorTypeDef(TypedDict):
    ErrorCode: NotRequired[str],
    Message: NotRequired[str],

ImageConfigOutputTypeDef#

# ImageConfigOutputTypeDef definition

class ImageConfigOutputTypeDef(TypedDict):
    EntryPoint: NotRequired[list[str]],
    Command: NotRequired[list[str]],
    WorkingDirectory: NotRequired[str],

InvokeResponseStreamUpdateTypeDef#

# InvokeResponseStreamUpdateTypeDef definition

class InvokeResponseStreamUpdateTypeDef(TypedDict):
    Payload: NotRequired[bytes],

InvokeWithResponseStreamCompleteEventTypeDef#

# InvokeWithResponseStreamCompleteEventTypeDef definition

class InvokeWithResponseStreamCompleteEventTypeDef(TypedDict):
    ErrorCode: NotRequired[str],
    ErrorDetails: NotRequired[str],
    LogResult: NotRequired[str],

LayerVersionsListItemTypeDef#

# LayerVersionsListItemTypeDef 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#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListAliasesRequestRequestTypeDef#

# ListAliasesRequestRequestTypeDef definition

class ListAliasesRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    FunctionVersion: NotRequired[str],
    Marker: NotRequired[str],
    MaxItems: NotRequired[int],

ListCodeSigningConfigsRequestRequestTypeDef#

# ListCodeSigningConfigsRequestRequestTypeDef definition

class ListCodeSigningConfigsRequestRequestTypeDef(TypedDict):
    Marker: NotRequired[str],
    MaxItems: NotRequired[int],

ListEventSourceMappingsRequestRequestTypeDef#

# ListEventSourceMappingsRequestRequestTypeDef definition

class ListEventSourceMappingsRequestRequestTypeDef(TypedDict):
    EventSourceArn: NotRequired[str],
    FunctionName: NotRequired[str],
    Marker: NotRequired[str],
    MaxItems: NotRequired[int],

ListFunctionEventInvokeConfigsRequestRequestTypeDef#

# ListFunctionEventInvokeConfigsRequestRequestTypeDef definition

class ListFunctionEventInvokeConfigsRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Marker: NotRequired[str],
    MaxItems: NotRequired[int],

ListFunctionUrlConfigsRequestRequestTypeDef#

# ListFunctionUrlConfigsRequestRequestTypeDef definition

class ListFunctionUrlConfigsRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Marker: NotRequired[str],
    MaxItems: NotRequired[int],

ListFunctionsByCodeSigningConfigRequestRequestTypeDef#

# ListFunctionsByCodeSigningConfigRequestRequestTypeDef definition

class ListFunctionsByCodeSigningConfigRequestRequestTypeDef(TypedDict):
    CodeSigningConfigArn: str,
    Marker: NotRequired[str],
    MaxItems: NotRequired[int],

ListFunctionsRequestRequestTypeDef#

# ListFunctionsRequestRequestTypeDef definition

class ListFunctionsRequestRequestTypeDef(TypedDict):
    MasterRegion: NotRequired[str],
    FunctionVersion: NotRequired[FunctionVersionType],  # (1)
    Marker: NotRequired[str],
    MaxItems: NotRequired[int],
  1. See FunctionVersionType

ListLayerVersionsRequestRequestTypeDef#

# ListLayerVersionsRequestRequestTypeDef 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#

# ListLayersRequestRequestTypeDef 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#

# ListProvisionedConcurrencyConfigsRequestRequestTypeDef definition

class ListProvisionedConcurrencyConfigsRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Marker: NotRequired[str],
    MaxItems: NotRequired[int],

ProvisionedConcurrencyConfigListItemTypeDef#

# ProvisionedConcurrencyConfigListItemTypeDef 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#

# ListTagsRequestRequestTypeDef definition

class ListTagsRequestRequestTypeDef(TypedDict):
    Resource: str,

ListVersionsByFunctionRequestRequestTypeDef#

# ListVersionsByFunctionRequestRequestTypeDef definition

class ListVersionsByFunctionRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Marker: NotRequired[str],
    MaxItems: NotRequired[int],

PublishVersionRequestRequestTypeDef#

# PublishVersionRequestRequestTypeDef definition

class PublishVersionRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    CodeSha256: NotRequired[str],
    Description: NotRequired[str],
    RevisionId: NotRequired[str],

PutFunctionCodeSigningConfigRequestRequestTypeDef#

# PutFunctionCodeSigningConfigRequestRequestTypeDef definition

class PutFunctionCodeSigningConfigRequestRequestTypeDef(TypedDict):
    CodeSigningConfigArn: str,
    FunctionName: str,

PutFunctionConcurrencyRequestRequestTypeDef#

# PutFunctionConcurrencyRequestRequestTypeDef definition

class PutFunctionConcurrencyRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    ReservedConcurrentExecutions: int,

PutFunctionRecursionConfigRequestRequestTypeDef#

# PutFunctionRecursionConfigRequestRequestTypeDef definition

class PutFunctionRecursionConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    RecursiveLoop: RecursiveLoopType,  # (1)
  1. See RecursiveLoopType

PutProvisionedConcurrencyConfigRequestRequestTypeDef#

# PutProvisionedConcurrencyConfigRequestRequestTypeDef definition

class PutProvisionedConcurrencyConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: str,
    ProvisionedConcurrentExecutions: int,

PutRuntimeManagementConfigRequestRequestTypeDef#

# PutRuntimeManagementConfigRequestRequestTypeDef definition

class PutRuntimeManagementConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    UpdateRuntimeOn: UpdateRuntimeOnType,  # (1)
    Qualifier: NotRequired[str],
    RuntimeVersionArn: NotRequired[str],
  1. See UpdateRuntimeOnType

RemoveLayerVersionPermissionRequestRequestTypeDef#

# RemoveLayerVersionPermissionRequestRequestTypeDef definition

class RemoveLayerVersionPermissionRequestRequestTypeDef(TypedDict):
    LayerName: str,
    VersionNumber: int,
    StatementId: str,
    RevisionId: NotRequired[str],

RemovePermissionRequestRequestTypeDef#

# RemovePermissionRequestRequestTypeDef definition

class RemovePermissionRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    StatementId: str,
    Qualifier: NotRequired[str],
    RevisionId: NotRequired[str],

RuntimeVersionErrorTypeDef#

# RuntimeVersionErrorTypeDef definition

class RuntimeVersionErrorTypeDef(TypedDict):
    ErrorCode: NotRequired[str],
    Message: NotRequired[str],

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    Resource: str,
    Tags: Mapping[str, str],

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    Resource: str,
    TagKeys: Sequence[str],

AddLayerVersionPermissionResponseTypeDef#

# AddLayerVersionPermissionResponseTypeDef definition

class AddLayerVersionPermissionResponseTypeDef(TypedDict):
    Statement: str,
    RevisionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

AddPermissionResponseTypeDef#

# AddPermissionResponseTypeDef definition

class AddPermissionResponseTypeDef(TypedDict):
    Statement: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ConcurrencyResponseTypeDef#

# ConcurrencyResponseTypeDef definition

class ConcurrencyResponseTypeDef(TypedDict):
    ReservedConcurrentExecutions: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef definition

class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetAccountSettingsResponseTypeDef#

# GetAccountSettingsResponseTypeDef definition

class GetAccountSettingsResponseTypeDef(TypedDict):
    AccountLimit: AccountLimitTypeDef,  # (1)
    AccountUsage: AccountUsageTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See AccountLimitTypeDef
  2. See AccountUsageTypeDef
  3. See ResponseMetadataTypeDef

GetFunctionCodeSigningConfigResponseTypeDef#

# GetFunctionCodeSigningConfigResponseTypeDef definition

class GetFunctionCodeSigningConfigResponseTypeDef(TypedDict):
    CodeSigningConfigArn: str,
    FunctionName: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetFunctionConcurrencyResponseTypeDef#

# GetFunctionConcurrencyResponseTypeDef definition

class GetFunctionConcurrencyResponseTypeDef(TypedDict):
    ReservedConcurrentExecutions: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetFunctionRecursionConfigResponseTypeDef#

# GetFunctionRecursionConfigResponseTypeDef definition

class GetFunctionRecursionConfigResponseTypeDef(TypedDict):
    RecursiveLoop: RecursiveLoopType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RecursiveLoopType
  2. See ResponseMetadataTypeDef

GetLayerVersionPolicyResponseTypeDef#

# GetLayerVersionPolicyResponseTypeDef definition

class GetLayerVersionPolicyResponseTypeDef(TypedDict):
    Policy: str,
    RevisionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetPolicyResponseTypeDef#

# GetPolicyResponseTypeDef definition

class GetPolicyResponseTypeDef(TypedDict):
    Policy: str,
    RevisionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetProvisionedConcurrencyConfigResponseTypeDef#

# GetProvisionedConcurrencyConfigResponseTypeDef 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#

# GetRuntimeManagementConfigResponseTypeDef definition

class GetRuntimeManagementConfigResponseTypeDef(TypedDict):
    UpdateRuntimeOn: UpdateRuntimeOnType,  # (1)
    RuntimeVersionArn: str,
    FunctionArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UpdateRuntimeOnType
  2. See ResponseMetadataTypeDef

InvocationResponseTypeDef#

# InvocationResponseTypeDef definition

class InvocationResponseTypeDef(TypedDict):
    StatusCode: int,
    FunctionError: str,
    LogResult: str,
    Payload: StreamingBody,
    ExecutedVersion: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

InvokeAsyncResponseTypeDef#

# InvokeAsyncResponseTypeDef definition

class InvokeAsyncResponseTypeDef(TypedDict):
    Status: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListFunctionsByCodeSigningConfigResponseTypeDef#

# ListFunctionsByCodeSigningConfigResponseTypeDef definition

class ListFunctionsByCodeSigningConfigResponseTypeDef(TypedDict):
    NextMarker: str,
    FunctionArns: list[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListTagsResponseTypeDef#

# ListTagsResponseTypeDef definition

class ListTagsResponseTypeDef(TypedDict):
    Tags: dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

PutFunctionCodeSigningConfigResponseTypeDef#

# PutFunctionCodeSigningConfigResponseTypeDef definition

class PutFunctionCodeSigningConfigResponseTypeDef(TypedDict):
    CodeSigningConfigArn: str,
    FunctionName: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

PutFunctionRecursionConfigResponseTypeDef#

# PutFunctionRecursionConfigResponseTypeDef definition

class PutFunctionRecursionConfigResponseTypeDef(TypedDict):
    RecursiveLoop: RecursiveLoopType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RecursiveLoopType
  2. See ResponseMetadataTypeDef

PutProvisionedConcurrencyConfigResponseTypeDef#

# PutProvisionedConcurrencyConfigResponseTypeDef 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#

# PutRuntimeManagementConfigResponseTypeDef definition

class PutRuntimeManagementConfigResponseTypeDef(TypedDict):
    UpdateRuntimeOn: UpdateRuntimeOnType,  # (1)
    FunctionArn: str,
    RuntimeVersionArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UpdateRuntimeOnType
  2. See ResponseMetadataTypeDef

AliasConfigurationResponseTypeDef#

# AliasConfigurationResponseTypeDef definition

class AliasConfigurationResponseTypeDef(TypedDict):
    AliasArn: str,
    Name: str,
    FunctionVersion: str,
    Description: str,
    RoutingConfig: AliasRoutingConfigurationOutputTypeDef,  # (1)
    RevisionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AliasRoutingConfigurationOutputTypeDef
  2. See ResponseMetadataTypeDef

AliasConfigurationTypeDef#

# AliasConfigurationTypeDef definition

class AliasConfigurationTypeDef(TypedDict):
    AliasArn: NotRequired[str],
    Name: NotRequired[str],
    FunctionVersion: NotRequired[str],
    Description: NotRequired[str],
    RoutingConfig: NotRequired[AliasRoutingConfigurationOutputTypeDef],  # (1)
    RevisionId: NotRequired[str],
  1. See AliasRoutingConfigurationOutputTypeDef

CreateAliasRequestRequestTypeDef#

# CreateAliasRequestRequestTypeDef definition

class CreateAliasRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Name: str,
    FunctionVersion: str,
    Description: NotRequired[str],
    RoutingConfig: NotRequired[AliasRoutingConfigurationTypeDef],  # (1)
  1. See AliasRoutingConfigurationTypeDef

UpdateAliasRequestRequestTypeDef#

# UpdateAliasRequestRequestTypeDef definition

class UpdateAliasRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Name: str,
    FunctionVersion: NotRequired[str],
    Description: NotRequired[str],
    RoutingConfig: NotRequired[AliasRoutingConfigurationTypeDef],  # (1)
    RevisionId: NotRequired[str],
  1. See AliasRoutingConfigurationTypeDef

FunctionCodeTypeDef#

# FunctionCodeTypeDef definition

class FunctionCodeTypeDef(TypedDict):
    ZipFile: NotRequired[BlobTypeDef],
    S3Bucket: NotRequired[str],
    S3Key: NotRequired[str],
    S3ObjectVersion: NotRequired[str],
    ImageUri: NotRequired[str],
    SourceKMSKeyArn: NotRequired[str],

InvocationRequestRequestTypeDef#

# InvocationRequestRequestTypeDef definition

class InvocationRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    InvocationType: NotRequired[InvocationTypeType],  # (1)
    LogType: NotRequired[LogTypeType],  # (2)
    ClientContext: NotRequired[str],
    Payload: NotRequired[BlobTypeDef],
    Qualifier: NotRequired[str],
  1. See InvocationTypeType
  2. See LogTypeType

InvokeAsyncRequestRequestTypeDef#

# InvokeAsyncRequestRequestTypeDef definition

class InvokeAsyncRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    InvokeArgs: BlobTypeDef,

InvokeWithResponseStreamRequestRequestTypeDef#

# InvokeWithResponseStreamRequestRequestTypeDef definition

class InvokeWithResponseStreamRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    InvocationType: NotRequired[ResponseStreamingInvocationTypeType],  # (1)
    LogType: NotRequired[LogTypeType],  # (2)
    ClientContext: NotRequired[str],
    Qualifier: NotRequired[str],
    Payload: NotRequired[BlobTypeDef],
  1. See ResponseStreamingInvocationTypeType
  2. See LogTypeType

LayerVersionContentInputTypeDef#

# LayerVersionContentInputTypeDef definition

class LayerVersionContentInputTypeDef(TypedDict):
    S3Bucket: NotRequired[str],
    S3Key: NotRequired[str],
    S3ObjectVersion: NotRequired[str],
    ZipFile: NotRequired[BlobTypeDef],

UpdateFunctionCodeRequestRequestTypeDef#

# UpdateFunctionCodeRequestRequestTypeDef definition

class UpdateFunctionCodeRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    ZipFile: NotRequired[BlobTypeDef],
    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)
    SourceKMSKeyArn: NotRequired[str],
  1. See ArchitectureType

CodeSigningConfigTypeDef#

# CodeSigningConfigTypeDef definition

class CodeSigningConfigTypeDef(TypedDict):
    CodeSigningConfigId: str,
    CodeSigningConfigArn: str,
    AllowedPublishers: AllowedPublishersOutputTypeDef,  # (1)
    CodeSigningPolicies: CodeSigningPoliciesTypeDef,  # (2)
    LastModified: str,
    Description: NotRequired[str],
  1. See AllowedPublishersOutputTypeDef
  2. See CodeSigningPoliciesTypeDef

CreateCodeSigningConfigRequestRequestTypeDef#

# CreateCodeSigningConfigRequestRequestTypeDef definition

class CreateCodeSigningConfigRequestRequestTypeDef(TypedDict):
    AllowedPublishers: AllowedPublishersTypeDef,  # (1)
    Description: NotRequired[str],
    CodeSigningPolicies: NotRequired[CodeSigningPoliciesTypeDef],  # (2)
    Tags: NotRequired[Mapping[str, str]],
  1. See AllowedPublishersTypeDef
  2. See CodeSigningPoliciesTypeDef

UpdateCodeSigningConfigRequestRequestTypeDef#

# UpdateCodeSigningConfigRequestRequestTypeDef definition

class UpdateCodeSigningConfigRequestRequestTypeDef(TypedDict):
    CodeSigningConfigArn: str,
    Description: NotRequired[str],
    AllowedPublishers: NotRequired[AllowedPublishersTypeDef],  # (1)
    CodeSigningPolicies: NotRequired[CodeSigningPoliciesTypeDef],  # (2)
  1. See AllowedPublishersTypeDef
  2. See CodeSigningPoliciesTypeDef

CreateFunctionUrlConfigResponseTypeDef#

# CreateFunctionUrlConfigResponseTypeDef definition

class CreateFunctionUrlConfigResponseTypeDef(TypedDict):
    FunctionUrl: str,
    FunctionArn: str,
    AuthType: FunctionUrlAuthTypeType,  # (1)
    Cors: CorsOutputTypeDef,  # (2)
    CreationTime: str,
    InvokeMode: InvokeModeType,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See FunctionUrlAuthTypeType
  2. See CorsOutputTypeDef
  3. See InvokeModeType
  4. See ResponseMetadataTypeDef

FunctionUrlConfigTypeDef#

# FunctionUrlConfigTypeDef definition

class FunctionUrlConfigTypeDef(TypedDict):
    FunctionUrl: str,
    FunctionArn: str,
    CreationTime: str,
    LastModifiedTime: str,
    AuthType: FunctionUrlAuthTypeType,  # (2)
    Cors: NotRequired[CorsOutputTypeDef],  # (1)
    InvokeMode: NotRequired[InvokeModeType],  # (3)
  1. See CorsOutputTypeDef
  2. See FunctionUrlAuthTypeType
  3. See InvokeModeType

GetFunctionUrlConfigResponseTypeDef#

# GetFunctionUrlConfigResponseTypeDef definition

class GetFunctionUrlConfigResponseTypeDef(TypedDict):
    FunctionUrl: str,
    FunctionArn: str,
    AuthType: FunctionUrlAuthTypeType,  # (1)
    Cors: CorsOutputTypeDef,  # (2)
    CreationTime: str,
    LastModifiedTime: str,
    InvokeMode: InvokeModeType,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See FunctionUrlAuthTypeType
  2. See CorsOutputTypeDef
  3. See InvokeModeType
  4. See ResponseMetadataTypeDef

UpdateFunctionUrlConfigResponseTypeDef#

# UpdateFunctionUrlConfigResponseTypeDef definition

class UpdateFunctionUrlConfigResponseTypeDef(TypedDict):
    FunctionUrl: str,
    FunctionArn: str,
    AuthType: FunctionUrlAuthTypeType,  # (1)
    Cors: CorsOutputTypeDef,  # (2)
    CreationTime: str,
    LastModifiedTime: str,
    InvokeMode: InvokeModeType,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See FunctionUrlAuthTypeType
  2. See CorsOutputTypeDef
  3. See InvokeModeType
  4. See ResponseMetadataTypeDef

CreateFunctionUrlConfigRequestRequestTypeDef#

# CreateFunctionUrlConfigRequestRequestTypeDef definition

class CreateFunctionUrlConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    AuthType: FunctionUrlAuthTypeType,  # (1)
    Qualifier: NotRequired[str],
    Cors: NotRequired[CorsTypeDef],  # (2)
    InvokeMode: NotRequired[InvokeModeType],  # (3)
  1. See FunctionUrlAuthTypeType
  2. See CorsTypeDef
  3. See InvokeModeType

UpdateFunctionUrlConfigRequestRequestTypeDef#

# UpdateFunctionUrlConfigRequestRequestTypeDef definition

class UpdateFunctionUrlConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: NotRequired[str],
    AuthType: NotRequired[FunctionUrlAuthTypeType],  # (1)
    Cors: NotRequired[CorsTypeDef],  # (2)
    InvokeMode: NotRequired[InvokeModeType],  # (3)
  1. See FunctionUrlAuthTypeType
  2. See CorsTypeDef
  3. See InvokeModeType

UpdateFunctionConfigurationRequestRequestTypeDef#

# UpdateFunctionConfigurationRequestRequestTypeDef 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)
    SnapStart: NotRequired[SnapStartTypeDef],  # (9)
    LoggingConfig: NotRequired[LoggingConfigTypeDef],  # (10)
  1. See VpcConfigTypeDef
  2. See EnvironmentTypeDef
  3. See RuntimeType
  4. See DeadLetterConfigTypeDef
  5. See TracingConfigTypeDef
  6. See FileSystemConfigTypeDef
  7. See ImageConfigTypeDef
  8. See EphemeralStorageTypeDef
  9. See SnapStartTypeDef
  10. See LoggingConfigTypeDef

DestinationConfigTypeDef#

# DestinationConfigTypeDef definition

class DestinationConfigTypeDef(TypedDict):
    OnSuccess: NotRequired[OnSuccessTypeDef],  # (1)
    OnFailure: NotRequired[OnFailureTypeDef],  # (2)
  1. See OnSuccessTypeDef
  2. See OnFailureTypeDef

EnvironmentResponseTypeDef#

# EnvironmentResponseTypeDef definition

class EnvironmentResponseTypeDef(TypedDict):
    Variables: NotRequired[dict[str, str]],
    Error: NotRequired[EnvironmentErrorTypeDef],  # (1)
  1. See EnvironmentErrorTypeDef

FilterCriteriaOutputTypeDef#

# FilterCriteriaOutputTypeDef definition

class FilterCriteriaOutputTypeDef(TypedDict):
    Filters: NotRequired[list[FilterTypeDef]],  # (1)
  1. See FilterTypeDef

FilterCriteriaTypeDef#

# FilterCriteriaTypeDef definition

class FilterCriteriaTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
  1. See FilterTypeDef

GetFunctionConfigurationRequestWaitTypeDef#

# GetFunctionConfigurationRequestWaitTypeDef definition

class GetFunctionConfigurationRequestWaitTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: NotRequired[str],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

GetFunctionRequestWaitTypeDef#

# GetFunctionRequestWaitTypeDef definition

class GetFunctionRequestWaitTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: NotRequired[str],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

GetLayerVersionResponseTypeDef#

# GetLayerVersionResponseTypeDef definition

class GetLayerVersionResponseTypeDef(TypedDict):
    Content: LayerVersionContentOutputTypeDef,  # (1)
    LayerArn: str,
    LayerVersionArn: str,
    Description: str,
    CreatedDate: str,
    Version: int,
    CompatibleRuntimes: list[RuntimeType],  # (2)
    LicenseInfo: str,
    CompatibleArchitectures: list[ArchitectureType],  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See LayerVersionContentOutputTypeDef
  2. See RuntimeType
  3. See ArchitectureType
  4. See ResponseMetadataTypeDef

PublishLayerVersionResponseTypeDef#

# PublishLayerVersionResponseTypeDef definition

class PublishLayerVersionResponseTypeDef(TypedDict):
    Content: LayerVersionContentOutputTypeDef,  # (1)
    LayerArn: str,
    LayerVersionArn: str,
    Description: str,
    CreatedDate: str,
    Version: int,
    CompatibleRuntimes: list[RuntimeType],  # (2)
    LicenseInfo: str,
    CompatibleArchitectures: list[ArchitectureType],  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See LayerVersionContentOutputTypeDef
  2. See RuntimeType
  3. See ArchitectureType
  4. See ResponseMetadataTypeDef

ImageConfigResponseTypeDef#

# ImageConfigResponseTypeDef definition

class ImageConfigResponseTypeDef(TypedDict):
    ImageConfig: NotRequired[ImageConfigOutputTypeDef],  # (1)
    Error: NotRequired[ImageConfigErrorTypeDef],  # (2)
  1. See ImageConfigOutputTypeDef
  2. See ImageConfigErrorTypeDef

InvokeWithResponseStreamResponseEventTypeDef#

# InvokeWithResponseStreamResponseEventTypeDef definition

class InvokeWithResponseStreamResponseEventTypeDef(TypedDict):
    PayloadChunk: NotRequired[InvokeResponseStreamUpdateTypeDef],  # (1)
    InvokeComplete: NotRequired[InvokeWithResponseStreamCompleteEventTypeDef],  # (2)
  1. See InvokeResponseStreamUpdateTypeDef
  2. See InvokeWithResponseStreamCompleteEventTypeDef

LayersListItemTypeDef#

# LayersListItemTypeDef definition

class LayersListItemTypeDef(TypedDict):
    LayerName: NotRequired[str],
    LayerArn: NotRequired[str],
    LatestMatchingVersion: NotRequired[LayerVersionsListItemTypeDef],  # (1)
  1. See LayerVersionsListItemTypeDef

ListLayerVersionsResponseTypeDef#

# ListLayerVersionsResponseTypeDef definition

class ListLayerVersionsResponseTypeDef(TypedDict):
    NextMarker: str,
    LayerVersions: list[LayerVersionsListItemTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LayerVersionsListItemTypeDef
  2. See ResponseMetadataTypeDef

ListAliasesRequestPaginateTypeDef#

# ListAliasesRequestPaginateTypeDef definition

class ListAliasesRequestPaginateTypeDef(TypedDict):
    FunctionName: str,
    FunctionVersion: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListCodeSigningConfigsRequestPaginateTypeDef#

# ListCodeSigningConfigsRequestPaginateTypeDef definition

class ListCodeSigningConfigsRequestPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListEventSourceMappingsRequestPaginateTypeDef#

# ListEventSourceMappingsRequestPaginateTypeDef definition

class ListEventSourceMappingsRequestPaginateTypeDef(TypedDict):
    EventSourceArn: NotRequired[str],
    FunctionName: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListFunctionEventInvokeConfigsRequestPaginateTypeDef#

# ListFunctionEventInvokeConfigsRequestPaginateTypeDef definition

class ListFunctionEventInvokeConfigsRequestPaginateTypeDef(TypedDict):
    FunctionName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListFunctionUrlConfigsRequestPaginateTypeDef#

# ListFunctionUrlConfigsRequestPaginateTypeDef definition

class ListFunctionUrlConfigsRequestPaginateTypeDef(TypedDict):
    FunctionName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListFunctionsByCodeSigningConfigRequestPaginateTypeDef#

# ListFunctionsByCodeSigningConfigRequestPaginateTypeDef definition

class ListFunctionsByCodeSigningConfigRequestPaginateTypeDef(TypedDict):
    CodeSigningConfigArn: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListFunctionsRequestPaginateTypeDef#

# ListFunctionsRequestPaginateTypeDef definition

class ListFunctionsRequestPaginateTypeDef(TypedDict):
    MasterRegion: NotRequired[str],
    FunctionVersion: NotRequired[FunctionVersionType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FunctionVersionType
  2. See PaginatorConfigTypeDef

ListLayerVersionsRequestPaginateTypeDef#

# ListLayerVersionsRequestPaginateTypeDef definition

class ListLayerVersionsRequestPaginateTypeDef(TypedDict):
    LayerName: str,
    CompatibleRuntime: NotRequired[RuntimeType],  # (1)
    CompatibleArchitecture: NotRequired[ArchitectureType],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See RuntimeType
  2. See ArchitectureType
  3. See PaginatorConfigTypeDef

ListLayersRequestPaginateTypeDef#

# ListLayersRequestPaginateTypeDef definition

class ListLayersRequestPaginateTypeDef(TypedDict):
    CompatibleRuntime: NotRequired[RuntimeType],  # (1)
    CompatibleArchitecture: NotRequired[ArchitectureType],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See RuntimeType
  2. See ArchitectureType
  3. See PaginatorConfigTypeDef

ListProvisionedConcurrencyConfigsRequestPaginateTypeDef#

# ListProvisionedConcurrencyConfigsRequestPaginateTypeDef definition

class ListProvisionedConcurrencyConfigsRequestPaginateTypeDef(TypedDict):
    FunctionName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListVersionsByFunctionRequestPaginateTypeDef#

# ListVersionsByFunctionRequestPaginateTypeDef definition

class ListVersionsByFunctionRequestPaginateTypeDef(TypedDict):
    FunctionName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListProvisionedConcurrencyConfigsResponseTypeDef#

# ListProvisionedConcurrencyConfigsResponseTypeDef definition

class ListProvisionedConcurrencyConfigsResponseTypeDef(TypedDict):
    ProvisionedConcurrencyConfigs: list[ProvisionedConcurrencyConfigListItemTypeDef],  # (1)
    NextMarker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProvisionedConcurrencyConfigListItemTypeDef
  2. See ResponseMetadataTypeDef

RuntimeVersionConfigTypeDef#

# RuntimeVersionConfigTypeDef definition

class RuntimeVersionConfigTypeDef(TypedDict):
    RuntimeVersionArn: NotRequired[str],
    Error: NotRequired[RuntimeVersionErrorTypeDef],  # (1)
  1. See RuntimeVersionErrorTypeDef

ListAliasesResponseTypeDef#

# ListAliasesResponseTypeDef definition

class ListAliasesResponseTypeDef(TypedDict):
    NextMarker: str,
    Aliases: list[AliasConfigurationTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AliasConfigurationTypeDef
  2. See ResponseMetadataTypeDef

CreateFunctionRequestRequestTypeDef#

# CreateFunctionRequestRequestTypeDef 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)
    SnapStart: NotRequired[SnapStartTypeDef],  # (12)
    LoggingConfig: NotRequired[LoggingConfigTypeDef],  # (13)
  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
  12. See SnapStartTypeDef
  13. See LoggingConfigTypeDef

PublishLayerVersionRequestRequestTypeDef#

# PublishLayerVersionRequestRequestTypeDef definition

class PublishLayerVersionRequestRequestTypeDef(TypedDict):
    LayerName: str,
    Content: LayerVersionContentInputTypeDef,  # (1)
    Description: NotRequired[str],
    CompatibleRuntimes: NotRequired[Sequence[RuntimeType]],  # (2)
    LicenseInfo: NotRequired[str],
    CompatibleArchitectures: NotRequired[Sequence[ArchitectureType]],  # (3)
  1. See LayerVersionContentInputTypeDef
  2. See RuntimeType
  3. See ArchitectureType

CreateCodeSigningConfigResponseTypeDef#

# CreateCodeSigningConfigResponseTypeDef definition

class CreateCodeSigningConfigResponseTypeDef(TypedDict):
    CodeSigningConfig: CodeSigningConfigTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CodeSigningConfigTypeDef
  2. See ResponseMetadataTypeDef

GetCodeSigningConfigResponseTypeDef#

# GetCodeSigningConfigResponseTypeDef definition

class GetCodeSigningConfigResponseTypeDef(TypedDict):
    CodeSigningConfig: CodeSigningConfigTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CodeSigningConfigTypeDef
  2. See ResponseMetadataTypeDef

ListCodeSigningConfigsResponseTypeDef#

# ListCodeSigningConfigsResponseTypeDef definition

class ListCodeSigningConfigsResponseTypeDef(TypedDict):
    NextMarker: str,
    CodeSigningConfigs: list[CodeSigningConfigTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CodeSigningConfigTypeDef
  2. See ResponseMetadataTypeDef

UpdateCodeSigningConfigResponseTypeDef#

# UpdateCodeSigningConfigResponseTypeDef definition

class UpdateCodeSigningConfigResponseTypeDef(TypedDict):
    CodeSigningConfig: CodeSigningConfigTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CodeSigningConfigTypeDef
  2. See ResponseMetadataTypeDef

ListFunctionUrlConfigsResponseTypeDef#

# ListFunctionUrlConfigsResponseTypeDef definition

class ListFunctionUrlConfigsResponseTypeDef(TypedDict):
    FunctionUrlConfigs: list[FunctionUrlConfigTypeDef],  # (1)
    NextMarker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FunctionUrlConfigTypeDef
  2. See ResponseMetadataTypeDef

FunctionEventInvokeConfigResponseTypeDef#

# FunctionEventInvokeConfigResponseTypeDef definition

class FunctionEventInvokeConfigResponseTypeDef(TypedDict):
    LastModified: datetime,
    FunctionArn: str,
    MaximumRetryAttempts: int,
    MaximumEventAgeInSeconds: int,
    DestinationConfig: DestinationConfigTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DestinationConfigTypeDef
  2. See ResponseMetadataTypeDef

FunctionEventInvokeConfigTypeDef#

# FunctionEventInvokeConfigTypeDef definition

class FunctionEventInvokeConfigTypeDef(TypedDict):
    LastModified: NotRequired[datetime],
    FunctionArn: NotRequired[str],
    MaximumRetryAttempts: NotRequired[int],
    MaximumEventAgeInSeconds: NotRequired[int],
    DestinationConfig: NotRequired[DestinationConfigTypeDef],  # (1)
  1. See DestinationConfigTypeDef

PutFunctionEventInvokeConfigRequestRequestTypeDef#

# PutFunctionEventInvokeConfigRequestRequestTypeDef definition

class PutFunctionEventInvokeConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: NotRequired[str],
    MaximumRetryAttempts: NotRequired[int],
    MaximumEventAgeInSeconds: NotRequired[int],
    DestinationConfig: NotRequired[DestinationConfigTypeDef],  # (1)
  1. See DestinationConfigTypeDef

UpdateFunctionEventInvokeConfigRequestRequestTypeDef#

# UpdateFunctionEventInvokeConfigRequestRequestTypeDef definition

class UpdateFunctionEventInvokeConfigRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    Qualifier: NotRequired[str],
    MaximumRetryAttempts: NotRequired[int],
    MaximumEventAgeInSeconds: NotRequired[int],
    DestinationConfig: NotRequired[DestinationConfigTypeDef],  # (1)
  1. See DestinationConfigTypeDef

EventSourceMappingConfigurationResponseTypeDef#

# EventSourceMappingConfigurationResponseTypeDef definition

class EventSourceMappingConfigurationResponseTypeDef(TypedDict):
    UUID: str,
    StartingPosition: EventSourcePositionType,  # (1)
    StartingPositionTimestamp: datetime,
    BatchSize: int,
    MaximumBatchingWindowInSeconds: int,
    ParallelizationFactor: int,
    EventSourceArn: str,
    FilterCriteria: FilterCriteriaOutputTypeDef,  # (2)
    FunctionArn: str,
    LastModified: datetime,
    LastProcessingResult: str,
    State: str,
    StateTransitionReason: str,
    DestinationConfig: DestinationConfigTypeDef,  # (3)
    Topics: list[str],
    Queues: list[str],
    SourceAccessConfigurations: list[SourceAccessConfigurationTypeDef],  # (4)
    SelfManagedEventSource: SelfManagedEventSourceOutputTypeDef,  # (5)
    MaximumRecordAgeInSeconds: int,
    BisectBatchOnFunctionError: bool,
    MaximumRetryAttempts: int,
    TumblingWindowInSeconds: int,
    FunctionResponseTypes: list[FunctionResponseTypeType],  # (6)
    AmazonManagedKafkaEventSourceConfig: AmazonManagedKafkaEventSourceConfigTypeDef,  # (7)
    SelfManagedKafkaEventSourceConfig: SelfManagedKafkaEventSourceConfigTypeDef,  # (8)
    ScalingConfig: ScalingConfigTypeDef,  # (9)
    DocumentDBEventSourceConfig: DocumentDBEventSourceConfigTypeDef,  # (10)
    KMSKeyArn: str,
    FilterCriteriaError: FilterCriteriaErrorTypeDef,  # (11)
    EventSourceMappingArn: str,
    MetricsConfig: EventSourceMappingMetricsConfigOutputTypeDef,  # (12)
    ProvisionedPollerConfig: ProvisionedPollerConfigTypeDef,  # (13)
    ResponseMetadata: ResponseMetadataTypeDef,  # (14)
  1. See EventSourcePositionType
  2. See FilterCriteriaOutputTypeDef
  3. See DestinationConfigTypeDef
  4. See SourceAccessConfigurationTypeDef
  5. See SelfManagedEventSourceOutputTypeDef
  6. See FunctionResponseTypeType
  7. See AmazonManagedKafkaEventSourceConfigTypeDef
  8. See SelfManagedKafkaEventSourceConfigTypeDef
  9. See ScalingConfigTypeDef
  10. See DocumentDBEventSourceConfigTypeDef
  11. See FilterCriteriaErrorTypeDef
  12. See EventSourceMappingMetricsConfigOutputTypeDef
  13. See ProvisionedPollerConfigTypeDef
  14. See ResponseMetadataTypeDef

EventSourceMappingConfigurationTypeDef#

# EventSourceMappingConfigurationTypeDef definition

class EventSourceMappingConfigurationTypeDef(TypedDict):
    UUID: NotRequired[str],
    StartingPosition: NotRequired[EventSourcePositionType],  # (1)
    StartingPositionTimestamp: NotRequired[datetime],
    BatchSize: NotRequired[int],
    MaximumBatchingWindowInSeconds: NotRequired[int],
    ParallelizationFactor: NotRequired[int],
    EventSourceArn: NotRequired[str],
    FilterCriteria: NotRequired[FilterCriteriaOutputTypeDef],  # (2)
    FunctionArn: NotRequired[str],
    LastModified: NotRequired[datetime],
    LastProcessingResult: NotRequired[str],
    State: NotRequired[str],
    StateTransitionReason: NotRequired[str],
    DestinationConfig: NotRequired[DestinationConfigTypeDef],  # (3)
    Topics: NotRequired[list[str]],
    Queues: NotRequired[list[str]],
    SourceAccessConfigurations: NotRequired[list[SourceAccessConfigurationTypeDef]],  # (4)
    SelfManagedEventSource: NotRequired[SelfManagedEventSourceOutputTypeDef],  # (5)
    MaximumRecordAgeInSeconds: NotRequired[int],
    BisectBatchOnFunctionError: NotRequired[bool],
    MaximumRetryAttempts: NotRequired[int],
    TumblingWindowInSeconds: NotRequired[int],
    FunctionResponseTypes: NotRequired[list[FunctionResponseTypeType]],  # (6)
    AmazonManagedKafkaEventSourceConfig: NotRequired[AmazonManagedKafkaEventSourceConfigTypeDef],  # (7)
    SelfManagedKafkaEventSourceConfig: NotRequired[SelfManagedKafkaEventSourceConfigTypeDef],  # (8)
    ScalingConfig: NotRequired[ScalingConfigTypeDef],  # (9)
    DocumentDBEventSourceConfig: NotRequired[DocumentDBEventSourceConfigTypeDef],  # (10)
    KMSKeyArn: NotRequired[str],
    FilterCriteriaError: NotRequired[FilterCriteriaErrorTypeDef],  # (11)
    EventSourceMappingArn: NotRequired[str],
    MetricsConfig: NotRequired[EventSourceMappingMetricsConfigOutputTypeDef],  # (12)
    ProvisionedPollerConfig: NotRequired[ProvisionedPollerConfigTypeDef],  # (13)
  1. See EventSourcePositionType
  2. See FilterCriteriaOutputTypeDef
  3. See DestinationConfigTypeDef
  4. See SourceAccessConfigurationTypeDef
  5. See SelfManagedEventSourceOutputTypeDef
  6. See FunctionResponseTypeType
  7. See AmazonManagedKafkaEventSourceConfigTypeDef
  8. See SelfManagedKafkaEventSourceConfigTypeDef
  9. See ScalingConfigTypeDef
  10. See DocumentDBEventSourceConfigTypeDef
  11. See FilterCriteriaErrorTypeDef
  12. See EventSourceMappingMetricsConfigOutputTypeDef
  13. See ProvisionedPollerConfigTypeDef

CreateEventSourceMappingRequestRequestTypeDef#

# CreateEventSourceMappingRequestRequestTypeDef definition

class CreateEventSourceMappingRequestRequestTypeDef(TypedDict):
    FunctionName: str,
    EventSourceArn: NotRequired[str],
    Enabled: NotRequired[bool],
    BatchSize: NotRequired[int],
    FilterCriteria: NotRequired[FilterCriteriaTypeDef],  # (1)
    MaximumBatchingWindowInSeconds: NotRequired[int],
    ParallelizationFactor: NotRequired[int],
    StartingPosition: NotRequired[EventSourcePositionType],  # (2)
    StartingPositionTimestamp: NotRequired[TimestampTypeDef],
    DestinationConfig: NotRequired[DestinationConfigTypeDef],  # (3)
    MaximumRecordAgeInSeconds: NotRequired[int],
    BisectBatchOnFunctionError: NotRequired[bool],
    MaximumRetryAttempts: NotRequired[int],
    Tags: NotRequired[Mapping[str, str]],
    TumblingWindowInSeconds: NotRequired[int],
    Topics: NotRequired[Sequence[str]],
    Queues: NotRequired[Sequence[str]],
    SourceAccessConfigurations: NotRequired[Sequence[SourceAccessConfigurationTypeDef]],  # (4)
    SelfManagedEventSource: NotRequired[SelfManagedEventSourceTypeDef],  # (5)
    FunctionResponseTypes: NotRequired[Sequence[FunctionResponseTypeType]],  # (6)
    AmazonManagedKafkaEventSourceConfig: NotRequired[AmazonManagedKafkaEventSourceConfigTypeDef],  # (7)
    SelfManagedKafkaEventSourceConfig: NotRequired[SelfManagedKafkaEventSourceConfigTypeDef],  # (8)
    ScalingConfig: NotRequired[ScalingConfigTypeDef],  # (9)
    DocumentDBEventSourceConfig: NotRequired[DocumentDBEventSourceConfigTypeDef],  # (10)
    KMSKeyArn: NotRequired[str],
    MetricsConfig: NotRequired[EventSourceMappingMetricsConfigTypeDef],  # (11)
    ProvisionedPollerConfig: NotRequired[ProvisionedPollerConfigTypeDef],  # (12)
  1. See FilterCriteriaTypeDef
  2. See EventSourcePositionType
  3. See DestinationConfigTypeDef
  4. See SourceAccessConfigurationTypeDef
  5. See SelfManagedEventSourceTypeDef
  6. See FunctionResponseTypeType
  7. See AmazonManagedKafkaEventSourceConfigTypeDef
  8. See SelfManagedKafkaEventSourceConfigTypeDef
  9. See ScalingConfigTypeDef
  10. See DocumentDBEventSourceConfigTypeDef
  11. See EventSourceMappingMetricsConfigTypeDef
  12. See ProvisionedPollerConfigTypeDef

UpdateEventSourceMappingRequestRequestTypeDef#

# UpdateEventSourceMappingRequestRequestTypeDef definition

class UpdateEventSourceMappingRequestRequestTypeDef(TypedDict):
    UUID: str,
    FunctionName: NotRequired[str],
    Enabled: NotRequired[bool],
    BatchSize: NotRequired[int],
    FilterCriteria: NotRequired[FilterCriteriaTypeDef],  # (1)
    MaximumBatchingWindowInSeconds: NotRequired[int],
    DestinationConfig: NotRequired[DestinationConfigTypeDef],  # (2)
    MaximumRecordAgeInSeconds: NotRequired[int],
    BisectBatchOnFunctionError: NotRequired[bool],
    MaximumRetryAttempts: NotRequired[int],
    ParallelizationFactor: NotRequired[int],
    SourceAccessConfigurations: NotRequired[Sequence[SourceAccessConfigurationTypeDef]],  # (3)
    TumblingWindowInSeconds: NotRequired[int],
    FunctionResponseTypes: NotRequired[Sequence[FunctionResponseTypeType]],  # (4)
    ScalingConfig: NotRequired[ScalingConfigTypeDef],  # (5)
    DocumentDBEventSourceConfig: NotRequired[DocumentDBEventSourceConfigTypeDef],  # (6)
    KMSKeyArn: NotRequired[str],
    MetricsConfig: NotRequired[EventSourceMappingMetricsConfigTypeDef],  # (7)
    ProvisionedPollerConfig: NotRequired[ProvisionedPollerConfigTypeDef],  # (8)
  1. See FilterCriteriaTypeDef
  2. See DestinationConfigTypeDef
  3. See SourceAccessConfigurationTypeDef
  4. See FunctionResponseTypeType
  5. See ScalingConfigTypeDef
  6. See DocumentDBEventSourceConfigTypeDef
  7. See EventSourceMappingMetricsConfigTypeDef
  8. See ProvisionedPollerConfigTypeDef

InvokeWithResponseStreamResponseTypeDef#

# InvokeWithResponseStreamResponseTypeDef definition

class InvokeWithResponseStreamResponseTypeDef(TypedDict):
    StatusCode: int,
    ExecutedVersion: str,
    EventStream: EventStream[InvokeWithResponseStreamResponseEventTypeDef],  # (1)
    ResponseStreamContentType: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InvokeWithResponseStreamResponseEventTypeDef
  2. See ResponseMetadataTypeDef

ListLayersResponseTypeDef#

# ListLayersResponseTypeDef definition

class ListLayersResponseTypeDef(TypedDict):
    NextMarker: str,
    Layers: list[LayersListItemTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LayersListItemTypeDef
  2. See ResponseMetadataTypeDef

FunctionConfigurationResponseTypeDef#

# FunctionConfigurationResponseTypeDef definition

class FunctionConfigurationResponseTypeDef(TypedDict):
    FunctionName: str,
    FunctionArn: str,
    Runtime: RuntimeType,  # (1)
    Role: str,
    Handler: str,
    CodeSize: int,
    Description: str,
    Timeout: int,
    MemorySize: int,
    LastModified: str,
    CodeSha256: str,
    Version: str,
    VpcConfig: VpcConfigResponseTypeDef,  # (2)
    DeadLetterConfig: DeadLetterConfigTypeDef,  # (3)
    Environment: EnvironmentResponseTypeDef,  # (4)
    KMSKeyArn: str,
    TracingConfig: TracingConfigResponseTypeDef,  # (5)
    MasterArn: str,
    RevisionId: str,
    Layers: list[LayerTypeDef],  # (6)
    State: StateType,  # (7)
    StateReason: str,
    StateReasonCode: StateReasonCodeType,  # (8)
    LastUpdateStatus: LastUpdateStatusType,  # (9)
    LastUpdateStatusReason: str,
    LastUpdateStatusReasonCode: LastUpdateStatusReasonCodeType,  # (10)
    FileSystemConfigs: list[FileSystemConfigTypeDef],  # (11)
    PackageType: PackageTypeType,  # (12)
    ImageConfigResponse: ImageConfigResponseTypeDef,  # (13)
    SigningProfileVersionArn: str,
    SigningJobArn: str,
    Architectures: list[ArchitectureType],  # (14)
    EphemeralStorage: EphemeralStorageTypeDef,  # (15)
    SnapStart: SnapStartResponseTypeDef,  # (16)
    RuntimeVersionConfig: RuntimeVersionConfigTypeDef,  # (17)
    LoggingConfig: LoggingConfigTypeDef,  # (18)
    ResponseMetadata: ResponseMetadataTypeDef,  # (19)
  1. See RuntimeType
  2. See VpcConfigResponseTypeDef
  3. See DeadLetterConfigTypeDef
  4. See EnvironmentResponseTypeDef
  5. See TracingConfigResponseTypeDef
  6. See LayerTypeDef
  7. See StateType
  8. See StateReasonCodeType
  9. See LastUpdateStatusType
  10. See LastUpdateStatusReasonCodeType
  11. See FileSystemConfigTypeDef
  12. See PackageTypeType
  13. See ImageConfigResponseTypeDef
  14. See ArchitectureType
  15. See EphemeralStorageTypeDef
  16. See SnapStartResponseTypeDef
  17. See RuntimeVersionConfigTypeDef
  18. See LoggingConfigTypeDef
  19. See ResponseMetadataTypeDef

FunctionConfigurationTypeDef#

# FunctionConfigurationTypeDef definition

class FunctionConfigurationTypeDef(TypedDict):
    FunctionName: NotRequired[str],
    FunctionArn: NotRequired[str],
    Runtime: NotRequired[RuntimeType],  # (1)
    Role: NotRequired[str],
    Handler: NotRequired[str],
    CodeSize: NotRequired[int],
    Description: NotRequired[str],
    Timeout: NotRequired[int],
    MemorySize: NotRequired[int],
    LastModified: NotRequired[str],
    CodeSha256: NotRequired[str],
    Version: NotRequired[str],
    VpcConfig: NotRequired[VpcConfigResponseTypeDef],  # (2)
    DeadLetterConfig: NotRequired[DeadLetterConfigTypeDef],  # (3)
    Environment: NotRequired[EnvironmentResponseTypeDef],  # (4)
    KMSKeyArn: NotRequired[str],
    TracingConfig: NotRequired[TracingConfigResponseTypeDef],  # (5)
    MasterArn: NotRequired[str],
    RevisionId: NotRequired[str],
    Layers: NotRequired[list[LayerTypeDef]],  # (6)
    State: NotRequired[StateType],  # (7)
    StateReason: NotRequired[str],
    StateReasonCode: NotRequired[StateReasonCodeType],  # (8)
    LastUpdateStatus: NotRequired[LastUpdateStatusType],  # (9)
    LastUpdateStatusReason: NotRequired[str],
    LastUpdateStatusReasonCode: NotRequired[LastUpdateStatusReasonCodeType],  # (10)
    FileSystemConfigs: NotRequired[list[FileSystemConfigTypeDef]],  # (11)
    PackageType: NotRequired[PackageTypeType],  # (12)
    ImageConfigResponse: NotRequired[ImageConfigResponseTypeDef],  # (13)
    SigningProfileVersionArn: NotRequired[str],
    SigningJobArn: NotRequired[str],
    Architectures: NotRequired[list[ArchitectureType]],  # (14)
    EphemeralStorage: NotRequired[EphemeralStorageTypeDef],  # (15)
    SnapStart: NotRequired[SnapStartResponseTypeDef],  # (16)
    RuntimeVersionConfig: NotRequired[RuntimeVersionConfigTypeDef],  # (17)
    LoggingConfig: NotRequired[LoggingConfigTypeDef],  # (18)
  1. See RuntimeType
  2. See VpcConfigResponseTypeDef
  3. See DeadLetterConfigTypeDef
  4. See EnvironmentResponseTypeDef
  5. See TracingConfigResponseTypeDef
  6. See LayerTypeDef
  7. See StateType
  8. See StateReasonCodeType
  9. See LastUpdateStatusType
  10. See LastUpdateStatusReasonCodeType
  11. See FileSystemConfigTypeDef
  12. See PackageTypeType
  13. See ImageConfigResponseTypeDef
  14. See ArchitectureType
  15. See EphemeralStorageTypeDef
  16. See SnapStartResponseTypeDef
  17. See RuntimeVersionConfigTypeDef
  18. See LoggingConfigTypeDef

ListFunctionEventInvokeConfigsResponseTypeDef#

# ListFunctionEventInvokeConfigsResponseTypeDef definition

class ListFunctionEventInvokeConfigsResponseTypeDef(TypedDict):
    FunctionEventInvokeConfigs: list[FunctionEventInvokeConfigTypeDef],  # (1)
    NextMarker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FunctionEventInvokeConfigTypeDef
  2. See ResponseMetadataTypeDef

ListEventSourceMappingsResponseTypeDef#

# ListEventSourceMappingsResponseTypeDef definition

class ListEventSourceMappingsResponseTypeDef(TypedDict):
    NextMarker: str,
    EventSourceMappings: list[EventSourceMappingConfigurationTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EventSourceMappingConfigurationTypeDef
  2. See ResponseMetadataTypeDef

GetFunctionResponseTypeDef#

# GetFunctionResponseTypeDef definition

class GetFunctionResponseTypeDef(TypedDict):
    Configuration: FunctionConfigurationTypeDef,  # (1)
    Code: FunctionCodeLocationTypeDef,  # (2)
    Tags: dict[str, str],
    TagsError: TagsErrorTypeDef,  # (3)
    Concurrency: ConcurrencyTypeDef,  # (4)
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See FunctionConfigurationTypeDef
  2. See FunctionCodeLocationTypeDef
  3. See TagsErrorTypeDef
  4. See ConcurrencyTypeDef
  5. See ResponseMetadataTypeDef

ListFunctionsResponseTypeDef#

# ListFunctionsResponseTypeDef definition

class ListFunctionsResponseTypeDef(TypedDict):
    NextMarker: str,
    Functions: list[FunctionConfigurationTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FunctionConfigurationTypeDef
  2. See ResponseMetadataTypeDef

ListVersionsByFunctionResponseTypeDef#

# ListVersionsByFunctionResponseTypeDef definition

class ListVersionsByFunctionResponseTypeDef(TypedDict):
    NextMarker: str,
    Versions: list[FunctionConfigurationTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FunctionConfigurationTypeDef
  2. See ResponseMetadataTypeDef