LambdaClient#
Auto-generated documentation for Lambda type annotations stubs module mypy-boto3-lambda.
LambdaClient#
Type annotations and code completion for boto3.client("lambda")
.
boto3 documentation
# LambdaClient usage example
from boto3.session import Session
from mypy_boto3_lambda.client import LambdaClient
def get_lambda_client() -> LambdaClient:
return Session().client("lambda")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("lambda").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("lambda")
try:
do_something(client)
except (
client.exceptions.ClientError,
client.exceptions.CodeSigningConfigNotFoundException,
client.exceptions.CodeStorageExceededException,
client.exceptions.CodeVerificationFailedException,
client.exceptions.EC2AccessDeniedException,
client.exceptions.EC2ThrottledException,
client.exceptions.EC2UnexpectedException,
client.exceptions.EFSIOException,
client.exceptions.EFSMountConnectivityException,
client.exceptions.EFSMountFailureException,
client.exceptions.EFSMountTimeoutException,
client.exceptions.ENILimitReachedException,
client.exceptions.InvalidCodeSignatureException,
client.exceptions.InvalidParameterValueException,
client.exceptions.InvalidRequestContentException,
client.exceptions.InvalidRuntimeException,
client.exceptions.InvalidSecurityGroupIDException,
client.exceptions.InvalidSubnetIDException,
client.exceptions.InvalidZipFileException,
client.exceptions.KMSAccessDeniedException,
client.exceptions.KMSDisabledException,
client.exceptions.KMSInvalidStateException,
client.exceptions.KMSNotFoundException,
client.exceptions.PolicyLengthExceededException,
client.exceptions.PreconditionFailedException,
client.exceptions.ProvisionedConcurrencyConfigNotFoundException,
client.exceptions.RecursiveInvocationException,
client.exceptions.RequestTooLargeException,
client.exceptions.ResourceConflictException,
client.exceptions.ResourceInUseException,
client.exceptions.ResourceNotFoundException,
client.exceptions.ResourceNotReadyException,
client.exceptions.ServiceException,
client.exceptions.SnapStartException,
client.exceptions.SnapStartNotReadyException,
client.exceptions.SnapStartTimeoutException,
client.exceptions.SubnetIPAddressLimitReachedException,
client.exceptions.TooManyRequestsException,
client.exceptions.UnsupportedMediaTypeException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from mypy_boto3_lambda.client import Exceptions
def handle_error(exc: Exceptions.ClientError) -> None:
...
Methods#
can_paginate#
Type annotations and code completion for boto3.client("lambda").can_paginate
method.
boto3 documentation
# can_paginate method definition
def can_paginate(
self,
operation_name: str,
) -> bool:
...
generate_presigned_url#
Type annotations and code completion for boto3.client("lambda").generate_presigned_url
method.
boto3 documentation
# generate_presigned_url method definition
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
add_layer_version_permission#
Adds permissions to the resource-based policy of a version of an Lambda layer.
Type annotations and code completion for boto3.client("lambda").add_layer_version_permission
method.
boto3 documentation
# add_layer_version_permission method definition
def add_layer_version_permission(
self,
*,
LayerName: str,
VersionNumber: int,
StatementId: str,
Action: str,
Principal: str,
OrganizationId: str = ...,
RevisionId: str = ...,
) -> AddLayerVersionPermissionResponseTypeDef: # (1)
...
# add_layer_version_permission method usage example with argument unpacking
kwargs: AddLayerVersionPermissionRequestTypeDef = { # (1)
"LayerName": ...,
"VersionNumber": ...,
"StatementId": ...,
"Action": ...,
"Principal": ...,
}
parent.add_layer_version_permission(**kwargs)
add_permission#
Grants a principal permission to use a function.
Type annotations and code completion for boto3.client("lambda").add_permission
method.
boto3 documentation
# add_permission method definition
def add_permission(
self,
*,
FunctionName: str,
StatementId: str,
Action: str,
Principal: str,
SourceArn: str = ...,
SourceAccount: str = ...,
EventSourceToken: str = ...,
Qualifier: str = ...,
RevisionId: str = ...,
PrincipalOrgID: str = ...,
FunctionUrlAuthType: FunctionUrlAuthTypeType = ..., # (1)
) -> AddPermissionResponseTypeDef: # (2)
...
# add_permission method usage example with argument unpacking
kwargs: AddPermissionRequestTypeDef = { # (1)
"FunctionName": ...,
"StatementId": ...,
"Action": ...,
"Principal": ...,
}
parent.add_permission(**kwargs)
create_alias#
Creates an alias for a Lambda function version.
Type annotations and code completion for boto3.client("lambda").create_alias
method.
boto3 documentation
# create_alias method definition
def create_alias(
self,
*,
FunctionName: str,
Name: str,
FunctionVersion: str,
Description: str = ...,
RoutingConfig: AliasRoutingConfigurationUnionTypeDef = ..., # (1)
) -> AliasConfigurationResponseTypeDef: # (2)
...
# create_alias method usage example with argument unpacking
kwargs: CreateAliasRequestTypeDef = { # (1)
"FunctionName": ...,
"Name": ...,
"FunctionVersion": ...,
}
parent.create_alias(**kwargs)
create_code_signing_config#
Creates a code signing configuration.
Type annotations and code completion for boto3.client("lambda").create_code_signing_config
method.
boto3 documentation
# create_code_signing_config method definition
def create_code_signing_config(
self,
*,
AllowedPublishers: AllowedPublishersUnionTypeDef, # (1)
Description: str = ...,
CodeSigningPolicies: CodeSigningPoliciesTypeDef = ..., # (2)
Tags: Mapping[str, str] = ...,
) -> CreateCodeSigningConfigResponseTypeDef: # (3)
...
- See AllowedPublishersUnionTypeDef
- See CodeSigningPoliciesTypeDef
- See CreateCodeSigningConfigResponseTypeDef
# create_code_signing_config method usage example with argument unpacking
kwargs: CreateCodeSigningConfigRequestTypeDef = { # (1)
"AllowedPublishers": ...,
}
parent.create_code_signing_config(**kwargs)
create_event_source_mapping#
Creates a mapping between an event source and an Lambda function.
Type annotations and code completion for boto3.client("lambda").create_event_source_mapping
method.
boto3 documentation
# create_event_source_mapping method definition
def create_event_source_mapping(
self,
*,
FunctionName: str,
EventSourceArn: str = ...,
Enabled: bool = ...,
BatchSize: int = ...,
FilterCriteria: FilterCriteriaUnionTypeDef = ..., # (1)
MaximumBatchingWindowInSeconds: int = ...,
ParallelizationFactor: int = ...,
StartingPosition: EventSourcePositionType = ..., # (2)
StartingPositionTimestamp: TimestampTypeDef = ...,
DestinationConfig: DestinationConfigTypeDef = ..., # (3)
MaximumRecordAgeInSeconds: int = ...,
BisectBatchOnFunctionError: bool = ...,
MaximumRetryAttempts: int = ...,
Tags: Mapping[str, str] = ...,
TumblingWindowInSeconds: int = ...,
Topics: Sequence[str] = ...,
Queues: Sequence[str] = ...,
SourceAccessConfigurations: Sequence[SourceAccessConfigurationTypeDef] = ..., # (4)
SelfManagedEventSource: SelfManagedEventSourceUnionTypeDef = ..., # (5)
FunctionResponseTypes: Sequence[FunctionResponseTypeType] = ..., # (6)
AmazonManagedKafkaEventSourceConfig: AmazonManagedKafkaEventSourceConfigUnionTypeDef = ..., # (7)
SelfManagedKafkaEventSourceConfig: SelfManagedKafkaEventSourceConfigUnionTypeDef = ..., # (8)
ScalingConfig: ScalingConfigTypeDef = ..., # (9)
DocumentDBEventSourceConfig: DocumentDBEventSourceConfigTypeDef = ..., # (10)
KMSKeyArn: str = ...,
MetricsConfig: EventSourceMappingMetricsConfigUnionTypeDef = ..., # (11)
ProvisionedPollerConfig: ProvisionedPollerConfigTypeDef = ..., # (12)
) -> EventSourceMappingConfigurationResponseTypeDef: # (13)
...
- See FilterCriteriaUnionTypeDef
- See EventSourcePositionType
- See DestinationConfigTypeDef
- See
Sequence[SourceAccessConfigurationTypeDef]
- See SelfManagedEventSourceUnionTypeDef
- See
Sequence[Literal['ReportBatchItemFailures']]
- See AmazonManagedKafkaEventSourceConfigUnionTypeDef
- See SelfManagedKafkaEventSourceConfigUnionTypeDef
- See ScalingConfigTypeDef
- See DocumentDBEventSourceConfigTypeDef
- See EventSourceMappingMetricsConfigUnionTypeDef
- See ProvisionedPollerConfigTypeDef
- See EventSourceMappingConfigurationResponseTypeDef
# create_event_source_mapping method usage example with argument unpacking
kwargs: CreateEventSourceMappingRequestTypeDef = { # (1)
"FunctionName": ...,
}
parent.create_event_source_mapping(**kwargs)
create_function#
Creates a Lambda function.
Type annotations and code completion for boto3.client("lambda").create_function
method.
boto3 documentation
# create_function method definition
def create_function(
self,
*,
FunctionName: str,
Role: str,
Code: FunctionCodeTypeDef, # (1)
Runtime: RuntimeType = ..., # (2)
Handler: str = ...,
Description: str = ...,
Timeout: int = ...,
MemorySize: int = ...,
Publish: bool = ...,
VpcConfig: VpcConfigTypeDef = ..., # (3)
PackageType: PackageTypeType = ..., # (4)
DeadLetterConfig: DeadLetterConfigTypeDef = ..., # (5)
Environment: EnvironmentTypeDef = ..., # (6)
KMSKeyArn: str = ...,
TracingConfig: TracingConfigTypeDef = ..., # (7)
Tags: Mapping[str, str] = ...,
Layers: Sequence[str] = ...,
FileSystemConfigs: Sequence[FileSystemConfigTypeDef] = ..., # (8)
ImageConfig: ImageConfigUnionTypeDef = ..., # (9)
CodeSigningConfigArn: str = ...,
Architectures: Sequence[ArchitectureType] = ..., # (10)
EphemeralStorage: EphemeralStorageTypeDef = ..., # (11)
SnapStart: SnapStartTypeDef = ..., # (12)
LoggingConfig: LoggingConfigTypeDef = ..., # (13)
) -> FunctionConfigurationResponseTypeDef: # (14)
...
- See FunctionCodeTypeDef
- See RuntimeType
- See VpcConfigTypeDef
- See PackageTypeType
- See DeadLetterConfigTypeDef
- See EnvironmentTypeDef
- See TracingConfigTypeDef
- See
Sequence[FileSystemConfigTypeDef]
- See ImageConfigUnionTypeDef
- See
Sequence[ArchitectureType]
- See EphemeralStorageTypeDef
- See SnapStartTypeDef
- See LoggingConfigTypeDef
- See FunctionConfigurationResponseTypeDef
# create_function method usage example with argument unpacking
kwargs: CreateFunctionRequestTypeDef = { # (1)
"FunctionName": ...,
"Role": ...,
"Code": ...,
}
parent.create_function(**kwargs)
create_function_url_config#
Creates a Lambda function URL with the specified configuration parameters.
Type annotations and code completion for boto3.client("lambda").create_function_url_config
method.
boto3 documentation
# create_function_url_config method definition
def create_function_url_config(
self,
*,
FunctionName: str,
AuthType: FunctionUrlAuthTypeType, # (1)
Qualifier: str = ...,
Cors: CorsUnionTypeDef = ..., # (2)
InvokeMode: InvokeModeType = ..., # (3)
) -> CreateFunctionUrlConfigResponseTypeDef: # (4)
...
- See FunctionUrlAuthTypeType
- See CorsUnionTypeDef
- See InvokeModeType
- See CreateFunctionUrlConfigResponseTypeDef
# create_function_url_config method usage example with argument unpacking
kwargs: CreateFunctionUrlConfigRequestTypeDef = { # (1)
"FunctionName": ...,
"AuthType": ...,
}
parent.create_function_url_config(**kwargs)
delete_alias#
Deletes a Lambda function alias.
Type annotations and code completion for boto3.client("lambda").delete_alias
method.
boto3 documentation
# delete_alias method definition
def delete_alias(
self,
*,
FunctionName: str,
Name: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_alias method usage example with argument unpacking
kwargs: DeleteAliasRequestTypeDef = { # (1)
"FunctionName": ...,
"Name": ...,
}
parent.delete_alias(**kwargs)
delete_code_signing_config#
Deletes the code signing configuration.
Type annotations and code completion for boto3.client("lambda").delete_code_signing_config
method.
boto3 documentation
# delete_code_signing_config method definition
def delete_code_signing_config(
self,
*,
CodeSigningConfigArn: str,
) -> Dict[str, Any]:
...
# delete_code_signing_config method usage example with argument unpacking
kwargs: DeleteCodeSigningConfigRequestTypeDef = { # (1)
"CodeSigningConfigArn": ...,
}
parent.delete_code_signing_config(**kwargs)
delete_event_source_mapping#
Deletes an event source mapping.
Type annotations and code completion for boto3.client("lambda").delete_event_source_mapping
method.
boto3 documentation
# delete_event_source_mapping method definition
def delete_event_source_mapping(
self,
*,
UUID: str,
) -> EventSourceMappingConfigurationResponseTypeDef: # (1)
...
# delete_event_source_mapping method usage example with argument unpacking
kwargs: DeleteEventSourceMappingRequestTypeDef = { # (1)
"UUID": ...,
}
parent.delete_event_source_mapping(**kwargs)
delete_function#
Deletes a Lambda function.
Type annotations and code completion for boto3.client("lambda").delete_function
method.
boto3 documentation
# delete_function method definition
def delete_function(
self,
*,
FunctionName: str,
Qualifier: str = ...,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_function method usage example with argument unpacking
kwargs: DeleteFunctionRequestTypeDef = { # (1)
"FunctionName": ...,
}
parent.delete_function(**kwargs)
delete_function_code_signing_config#
Removes the code signing configuration from the function.
Type annotations and code completion for boto3.client("lambda").delete_function_code_signing_config
method.
boto3 documentation
# delete_function_code_signing_config method definition
def delete_function_code_signing_config(
self,
*,
FunctionName: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_function_code_signing_config method usage example with argument unpacking
kwargs: DeleteFunctionCodeSigningConfigRequestTypeDef = { # (1)
"FunctionName": ...,
}
parent.delete_function_code_signing_config(**kwargs)
delete_function_concurrency#
Removes a concurrent execution limit from a function.
Type annotations and code completion for boto3.client("lambda").delete_function_concurrency
method.
boto3 documentation
# delete_function_concurrency method definition
def delete_function_concurrency(
self,
*,
FunctionName: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_function_concurrency method usage example with argument unpacking
kwargs: DeleteFunctionConcurrencyRequestTypeDef = { # (1)
"FunctionName": ...,
}
parent.delete_function_concurrency(**kwargs)
delete_function_event_invoke_config#
Deletes the configuration for asynchronous invocation for a function, version, or alias.
Type annotations and code completion for boto3.client("lambda").delete_function_event_invoke_config
method.
boto3 documentation
# delete_function_event_invoke_config method definition
def delete_function_event_invoke_config(
self,
*,
FunctionName: str,
Qualifier: str = ...,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_function_event_invoke_config method usage example with argument unpacking
kwargs: DeleteFunctionEventInvokeConfigRequestTypeDef = { # (1)
"FunctionName": ...,
}
parent.delete_function_event_invoke_config(**kwargs)
delete_function_url_config#
Deletes a Lambda function URL.
Type annotations and code completion for boto3.client("lambda").delete_function_url_config
method.
boto3 documentation
# delete_function_url_config method definition
def delete_function_url_config(
self,
*,
FunctionName: str,
Qualifier: str = ...,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_function_url_config method usage example with argument unpacking
kwargs: DeleteFunctionUrlConfigRequestTypeDef = { # (1)
"FunctionName": ...,
}
parent.delete_function_url_config(**kwargs)
delete_layer_version#
Deletes a version of an Lambda layer.
Type annotations and code completion for boto3.client("lambda").delete_layer_version
method.
boto3 documentation
# delete_layer_version method definition
def delete_layer_version(
self,
*,
LayerName: str,
VersionNumber: int,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_layer_version method usage example with argument unpacking
kwargs: DeleteLayerVersionRequestTypeDef = { # (1)
"LayerName": ...,
"VersionNumber": ...,
}
parent.delete_layer_version(**kwargs)
delete_provisioned_concurrency_config#
Deletes the provisioned concurrency configuration for a function.
Type annotations and code completion for boto3.client("lambda").delete_provisioned_concurrency_config
method.
boto3 documentation
# delete_provisioned_concurrency_config method definition
def delete_provisioned_concurrency_config(
self,
*,
FunctionName: str,
Qualifier: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_provisioned_concurrency_config method usage example with argument unpacking
kwargs: DeleteProvisionedConcurrencyConfigRequestTypeDef = { # (1)
"FunctionName": ...,
"Qualifier": ...,
}
parent.delete_provisioned_concurrency_config(**kwargs)
get_account_settings#
Retrieves details about your account's limits and usage in an Amazon Web Services Region.
Type annotations and code completion for boto3.client("lambda").get_account_settings
method.
boto3 documentation
# get_account_settings method definition
def get_account_settings(
self,
) -> GetAccountSettingsResponseTypeDef: # (1)
...
get_alias#
Returns details about a Lambda function alias.
Type annotations and code completion for boto3.client("lambda").get_alias
method.
boto3 documentation
# get_alias method definition
def get_alias(
self,
*,
FunctionName: str,
Name: str,
) -> AliasConfigurationResponseTypeDef: # (1)
...
# get_alias method usage example with argument unpacking
kwargs: GetAliasRequestTypeDef = { # (1)
"FunctionName": ...,
"Name": ...,
}
parent.get_alias(**kwargs)
get_code_signing_config#
Returns information about the specified code signing configuration.
Type annotations and code completion for boto3.client("lambda").get_code_signing_config
method.
boto3 documentation
# get_code_signing_config method definition
def get_code_signing_config(
self,
*,
CodeSigningConfigArn: str,
) -> GetCodeSigningConfigResponseTypeDef: # (1)
...
# get_code_signing_config method usage example with argument unpacking
kwargs: GetCodeSigningConfigRequestTypeDef = { # (1)
"CodeSigningConfigArn": ...,
}
parent.get_code_signing_config(**kwargs)
get_event_source_mapping#
Returns details about an event source mapping.
Type annotations and code completion for boto3.client("lambda").get_event_source_mapping
method.
boto3 documentation
# get_event_source_mapping method definition
def get_event_source_mapping(
self,
*,
UUID: str,
) -> EventSourceMappingConfigurationResponseTypeDef: # (1)
...
# get_event_source_mapping method usage example with argument unpacking
kwargs: GetEventSourceMappingRequestTypeDef = { # (1)
"UUID": ...,
}
parent.get_event_source_mapping(**kwargs)
get_function#
Returns information about the function or function version, with a link to download the deployment package that's valid for 10 minutes.
Type annotations and code completion for boto3.client("lambda").get_function
method.
boto3 documentation
# get_function method definition
def get_function(
self,
*,
FunctionName: str,
Qualifier: str = ...,
) -> GetFunctionResponseTypeDef: # (1)
...
# get_function method usage example with argument unpacking
kwargs: GetFunctionRequestTypeDef = { # (1)
"FunctionName": ...,
}
parent.get_function(**kwargs)
get_function_code_signing_config#
Returns the code signing configuration for the specified function.
Type annotations and code completion for boto3.client("lambda").get_function_code_signing_config
method.
boto3 documentation
# get_function_code_signing_config method definition
def get_function_code_signing_config(
self,
*,
FunctionName: str,
) -> GetFunctionCodeSigningConfigResponseTypeDef: # (1)
...
# get_function_code_signing_config method usage example with argument unpacking
kwargs: GetFunctionCodeSigningConfigRequestTypeDef = { # (1)
"FunctionName": ...,
}
parent.get_function_code_signing_config(**kwargs)
get_function_concurrency#
Returns details about the reserved concurrency configuration for a function.
Type annotations and code completion for boto3.client("lambda").get_function_concurrency
method.
boto3 documentation
# get_function_concurrency method definition
def get_function_concurrency(
self,
*,
FunctionName: str,
) -> GetFunctionConcurrencyResponseTypeDef: # (1)
...
# get_function_concurrency method usage example with argument unpacking
kwargs: GetFunctionConcurrencyRequestTypeDef = { # (1)
"FunctionName": ...,
}
parent.get_function_concurrency(**kwargs)
get_function_configuration#
Returns the version-specific settings of a Lambda function or version.
Type annotations and code completion for boto3.client("lambda").get_function_configuration
method.
boto3 documentation
# get_function_configuration method definition
def get_function_configuration(
self,
*,
FunctionName: str,
Qualifier: str = ...,
) -> FunctionConfigurationResponseTypeDef: # (1)
...
# get_function_configuration method usage example with argument unpacking
kwargs: GetFunctionConfigurationRequestTypeDef = { # (1)
"FunctionName": ...,
}
parent.get_function_configuration(**kwargs)
get_function_event_invoke_config#
Retrieves the configuration for asynchronous invocation for a function, version, or alias.
Type annotations and code completion for boto3.client("lambda").get_function_event_invoke_config
method.
boto3 documentation
# get_function_event_invoke_config method definition
def get_function_event_invoke_config(
self,
*,
FunctionName: str,
Qualifier: str = ...,
) -> FunctionEventInvokeConfigResponseTypeDef: # (1)
...
# get_function_event_invoke_config method usage example with argument unpacking
kwargs: GetFunctionEventInvokeConfigRequestTypeDef = { # (1)
"FunctionName": ...,
}
parent.get_function_event_invoke_config(**kwargs)
get_function_recursion_config#
Returns your function's recursive loop detection configuration.
Type annotations and code completion for boto3.client("lambda").get_function_recursion_config
method.
boto3 documentation
# get_function_recursion_config method definition
def get_function_recursion_config(
self,
*,
FunctionName: str,
) -> GetFunctionRecursionConfigResponseTypeDef: # (1)
...
# get_function_recursion_config method usage example with argument unpacking
kwargs: GetFunctionRecursionConfigRequestTypeDef = { # (1)
"FunctionName": ...,
}
parent.get_function_recursion_config(**kwargs)
get_function_url_config#
Returns details about a Lambda function URL.
Type annotations and code completion for boto3.client("lambda").get_function_url_config
method.
boto3 documentation
# get_function_url_config method definition
def get_function_url_config(
self,
*,
FunctionName: str,
Qualifier: str = ...,
) -> GetFunctionUrlConfigResponseTypeDef: # (1)
...
# get_function_url_config method usage example with argument unpacking
kwargs: GetFunctionUrlConfigRequestTypeDef = { # (1)
"FunctionName": ...,
}
parent.get_function_url_config(**kwargs)
get_layer_version#
Returns information about a version of an Lambda layer, with a link to download the layer archive that's valid for 10 minutes.
Type annotations and code completion for boto3.client("lambda").get_layer_version
method.
boto3 documentation
# get_layer_version method definition
def get_layer_version(
self,
*,
LayerName: str,
VersionNumber: int,
) -> GetLayerVersionResponseTypeDef: # (1)
...
# get_layer_version method usage example with argument unpacking
kwargs: GetLayerVersionRequestTypeDef = { # (1)
"LayerName": ...,
"VersionNumber": ...,
}
parent.get_layer_version(**kwargs)
get_layer_version_by_arn#
Returns information about a version of an Lambda layer, with a link to download the layer archive that's valid for 10 minutes.
Type annotations and code completion for boto3.client("lambda").get_layer_version_by_arn
method.
boto3 documentation
# get_layer_version_by_arn method definition
def get_layer_version_by_arn(
self,
*,
Arn: str,
) -> GetLayerVersionResponseTypeDef: # (1)
...
# get_layer_version_by_arn method usage example with argument unpacking
kwargs: GetLayerVersionByArnRequestTypeDef = { # (1)
"Arn": ...,
}
parent.get_layer_version_by_arn(**kwargs)
get_layer_version_policy#
Returns the permission policy for a version of an Lambda layer.
Type annotations and code completion for boto3.client("lambda").get_layer_version_policy
method.
boto3 documentation
# get_layer_version_policy method definition
def get_layer_version_policy(
self,
*,
LayerName: str,
VersionNumber: int,
) -> GetLayerVersionPolicyResponseTypeDef: # (1)
...
# get_layer_version_policy method usage example with argument unpacking
kwargs: GetLayerVersionPolicyRequestTypeDef = { # (1)
"LayerName": ...,
"VersionNumber": ...,
}
parent.get_layer_version_policy(**kwargs)
get_policy#
Returns the resource-based IAM policy for a function, version, or alias.
Type annotations and code completion for boto3.client("lambda").get_policy
method.
boto3 documentation
# get_policy method definition
def get_policy(
self,
*,
FunctionName: str,
Qualifier: str = ...,
) -> GetPolicyResponseTypeDef: # (1)
...
# get_policy method usage example with argument unpacking
kwargs: GetPolicyRequestTypeDef = { # (1)
"FunctionName": ...,
}
parent.get_policy(**kwargs)
get_provisioned_concurrency_config#
Retrieves the provisioned concurrency configuration for a function's alias or version.
Type annotations and code completion for boto3.client("lambda").get_provisioned_concurrency_config
method.
boto3 documentation
# get_provisioned_concurrency_config method definition
def get_provisioned_concurrency_config(
self,
*,
FunctionName: str,
Qualifier: str,
) -> GetProvisionedConcurrencyConfigResponseTypeDef: # (1)
...
# get_provisioned_concurrency_config method usage example with argument unpacking
kwargs: GetProvisionedConcurrencyConfigRequestTypeDef = { # (1)
"FunctionName": ...,
"Qualifier": ...,
}
parent.get_provisioned_concurrency_config(**kwargs)
get_runtime_management_config#
Retrieves the runtime management configuration for a function's version.
Type annotations and code completion for boto3.client("lambda").get_runtime_management_config
method.
boto3 documentation
# get_runtime_management_config method definition
def get_runtime_management_config(
self,
*,
FunctionName: str,
Qualifier: str = ...,
) -> GetRuntimeManagementConfigResponseTypeDef: # (1)
...
# get_runtime_management_config method usage example with argument unpacking
kwargs: GetRuntimeManagementConfigRequestTypeDef = { # (1)
"FunctionName": ...,
}
parent.get_runtime_management_config(**kwargs)
invoke#
Invokes a Lambda function.
Type annotations and code completion for boto3.client("lambda").invoke
method.
boto3 documentation
# invoke method definition
def invoke(
self,
*,
FunctionName: str,
InvocationType: InvocationTypeType = ..., # (1)
LogType: LogTypeType = ..., # (2)
ClientContext: str = ...,
Payload: BlobTypeDef = ...,
Qualifier: str = ...,
) -> InvocationResponseTypeDef: # (3)
...
- See InvocationTypeType
- See LogTypeType
- See InvocationResponseTypeDef
# invoke method usage example with argument unpacking
kwargs: InvocationRequestTypeDef = { # (1)
"FunctionName": ...,
}
parent.invoke(**kwargs)
invoke_async#
For asynchronous function invocation, use Invoke. Type annotations and code completion for Configure your Lambda functions to stream response payloads back to clients. Type annotations and code completion for Returns a list of aliases
for a Lambda function. Type annotations and code completion for Returns a list of code
signing configurations. Type annotations and code completion for Lists event source mappings. Type annotations and code completion for Retrieves a list of configurations for asynchronous invocation for a function. Type annotations and code completion for Returns a list of Lambda function URLs for the specified function. Type annotations and code completion for Returns a list of Lambda functions, with the version-specific configuration of
each. Type annotations and code completion for List the functions that use the specified code signing configuration. Type annotations and code completion for Lists the versions of an Lambda
layer. Type annotations and code completion for Lists Lambda
layers and shows information about the latest version of each. Type annotations and code completion for Retrieves a list of provisioned concurrency configurations for a function. Type annotations and code completion for Returns a function, event source mapping, or code signing configuration's tags. Type annotations and code completion for Returns a list of versions,
with the version-specific configuration of each. Type annotations and code completion for Creates an Lambda
layer from a ZIP archive. Type annotations and code completion for Creates a version
from the current code and configuration of a function. Type annotations and code completion for Update the code signing configuration for the function. Type annotations and code completion for Sets the maximum number of simultaneous executions for a function, and reserves
capacity for that concurrency level. Type annotations and code completion for Configures options for asynchronous
invocation on a function, version, or alias. Type annotations and code completion for Sets your function's recursive
loop detection configuration. Type annotations and code completion for Adds a provisioned concurrency configuration to a function's alias or version. Type annotations and code completion for Sets the runtime management configuration for a function's version. Type annotations and code completion for Removes a statement from the permissions policy for a version of an Lambda
layer. Type annotations and code completion for Revokes function-use permission from an Amazon Web Services service or another
Amazon Web Services account. Type annotations and code completion for Adds tags to a
function, event source mapping, or code signing configuration. Type annotations and code completion for Removes tags from
a function, event source mapping, or code signing configuration. Type annotations and code completion for Updates the configuration of a Lambda function alias. Type annotations and code completion for Update the code signing configuration. Type annotations and code completion for Updates an event source mapping. Type annotations and code completion for Updates a Lambda function's code. Type annotations and code completion for Modify the version-specific settings of a Lambda function. Type annotations and code completion for Updates the configuration for asynchronous invocation for a function, version,
or alias. Type annotations and code completion for Updates the configuration for a Lambda function URL. Type annotations and code completion for Type annotations and code completion for Type annotations and code completion for boto3.client("lambda").invoke_async
method.
boto3 documentation# invoke_async method definition
def invoke_async(
self,
*,
FunctionName: str,
InvokeArgs: BlobTypeDef,
) -> InvokeAsyncResponseTypeDef: # (1)
...
# invoke_async method usage example with argument unpacking
kwargs: InvokeAsyncRequestTypeDef = { # (1)
"FunctionName": ...,
"InvokeArgs": ...,
}
parent.invoke_async(**kwargs)
invoke_with_response_stream#
boto3.client("lambda").invoke_with_response_stream
method.
boto3 documentation# invoke_with_response_stream method definition
def invoke_with_response_stream(
self,
*,
FunctionName: str,
InvocationType: ResponseStreamingInvocationTypeType = ..., # (1)
LogType: LogTypeType = ..., # (2)
ClientContext: str = ...,
Qualifier: str = ...,
Payload: BlobTypeDef = ...,
) -> InvokeWithResponseStreamResponseTypeDef: # (3)
...
# invoke_with_response_stream method usage example with argument unpacking
kwargs: InvokeWithResponseStreamRequestTypeDef = { # (1)
"FunctionName": ...,
}
parent.invoke_with_response_stream(**kwargs)
list_aliases#
boto3.client("lambda").list_aliases
method.
boto3 documentation# list_aliases method definition
def list_aliases(
self,
*,
FunctionName: str,
FunctionVersion: str = ...,
Marker: str = ...,
MaxItems: int = ...,
) -> ListAliasesResponseTypeDef: # (1)
...
# list_aliases method usage example with argument unpacking
kwargs: ListAliasesRequestTypeDef = { # (1)
"FunctionName": ...,
}
parent.list_aliases(**kwargs)
list_code_signing_configs#
boto3.client("lambda").list_code_signing_configs
method.
boto3 documentation# list_code_signing_configs method definition
def list_code_signing_configs(
self,
*,
Marker: str = ...,
MaxItems: int = ...,
) -> ListCodeSigningConfigsResponseTypeDef: # (1)
...
# list_code_signing_configs method usage example with argument unpacking
kwargs: ListCodeSigningConfigsRequestTypeDef = { # (1)
"Marker": ...,
}
parent.list_code_signing_configs(**kwargs)
list_event_source_mappings#
boto3.client("lambda").list_event_source_mappings
method.
boto3 documentation# list_event_source_mappings method definition
def list_event_source_mappings(
self,
*,
EventSourceArn: str = ...,
FunctionName: str = ...,
Marker: str = ...,
MaxItems: int = ...,
) -> ListEventSourceMappingsResponseTypeDef: # (1)
...
# list_event_source_mappings method usage example with argument unpacking
kwargs: ListEventSourceMappingsRequestTypeDef = { # (1)
"EventSourceArn": ...,
}
parent.list_event_source_mappings(**kwargs)
list_function_event_invoke_configs#
boto3.client("lambda").list_function_event_invoke_configs
method.
boto3 documentation# list_function_event_invoke_configs method definition
def list_function_event_invoke_configs(
self,
*,
FunctionName: str,
Marker: str = ...,
MaxItems: int = ...,
) -> ListFunctionEventInvokeConfigsResponseTypeDef: # (1)
...
# list_function_event_invoke_configs method usage example with argument unpacking
kwargs: ListFunctionEventInvokeConfigsRequestTypeDef = { # (1)
"FunctionName": ...,
}
parent.list_function_event_invoke_configs(**kwargs)
list_function_url_configs#
boto3.client("lambda").list_function_url_configs
method.
boto3 documentation# list_function_url_configs method definition
def list_function_url_configs(
self,
*,
FunctionName: str,
Marker: str = ...,
MaxItems: int = ...,
) -> ListFunctionUrlConfigsResponseTypeDef: # (1)
...
# list_function_url_configs method usage example with argument unpacking
kwargs: ListFunctionUrlConfigsRequestTypeDef = { # (1)
"FunctionName": ...,
}
parent.list_function_url_configs(**kwargs)
list_functions#
boto3.client("lambda").list_functions
method.
boto3 documentation# list_functions method definition
def list_functions(
self,
*,
MasterRegion: str = ...,
FunctionVersion: FunctionVersionType = ..., # (1)
Marker: str = ...,
MaxItems: int = ...,
) -> ListFunctionsResponseTypeDef: # (2)
...
# list_functions method usage example with argument unpacking
kwargs: ListFunctionsRequestTypeDef = { # (1)
"MasterRegion": ...,
}
parent.list_functions(**kwargs)
list_functions_by_code_signing_config#
boto3.client("lambda").list_functions_by_code_signing_config
method.
boto3 documentation# list_functions_by_code_signing_config method definition
def list_functions_by_code_signing_config(
self,
*,
CodeSigningConfigArn: str,
Marker: str = ...,
MaxItems: int = ...,
) -> ListFunctionsByCodeSigningConfigResponseTypeDef: # (1)
...
# list_functions_by_code_signing_config method usage example with argument unpacking
kwargs: ListFunctionsByCodeSigningConfigRequestTypeDef = { # (1)
"CodeSigningConfigArn": ...,
}
parent.list_functions_by_code_signing_config(**kwargs)
list_layer_versions#
boto3.client("lambda").list_layer_versions
method.
boto3 documentation# list_layer_versions method definition
def list_layer_versions(
self,
*,
LayerName: str,
CompatibleRuntime: RuntimeType = ..., # (1)
Marker: str = ...,
MaxItems: int = ...,
CompatibleArchitecture: ArchitectureType = ..., # (2)
) -> ListLayerVersionsResponseTypeDef: # (3)
...
# list_layer_versions method usage example with argument unpacking
kwargs: ListLayerVersionsRequestTypeDef = { # (1)
"LayerName": ...,
}
parent.list_layer_versions(**kwargs)
list_layers#
boto3.client("lambda").list_layers
method.
boto3 documentation# list_layers method definition
def list_layers(
self,
*,
CompatibleRuntime: RuntimeType = ..., # (1)
Marker: str = ...,
MaxItems: int = ...,
CompatibleArchitecture: ArchitectureType = ..., # (2)
) -> ListLayersResponseTypeDef: # (3)
...
# list_layers method usage example with argument unpacking
kwargs: ListLayersRequestTypeDef = { # (1)
"CompatibleRuntime": ...,
}
parent.list_layers(**kwargs)
list_provisioned_concurrency_configs#
boto3.client("lambda").list_provisioned_concurrency_configs
method.
boto3 documentation# list_provisioned_concurrency_configs method definition
def list_provisioned_concurrency_configs(
self,
*,
FunctionName: str,
Marker: str = ...,
MaxItems: int = ...,
) -> ListProvisionedConcurrencyConfigsResponseTypeDef: # (1)
...
# list_provisioned_concurrency_configs method usage example with argument unpacking
kwargs: ListProvisionedConcurrencyConfigsRequestTypeDef = { # (1)
"FunctionName": ...,
}
parent.list_provisioned_concurrency_configs(**kwargs)
list_tags#
boto3.client("lambda").list_tags
method.
boto3 documentation# list_tags method definition
def list_tags(
self,
*,
Resource: str,
) -> ListTagsResponseTypeDef: # (1)
...
# list_tags method usage example with argument unpacking
kwargs: ListTagsRequestTypeDef = { # (1)
"Resource": ...,
}
parent.list_tags(**kwargs)
list_versions_by_function#
boto3.client("lambda").list_versions_by_function
method.
boto3 documentation# list_versions_by_function method definition
def list_versions_by_function(
self,
*,
FunctionName: str,
Marker: str = ...,
MaxItems: int = ...,
) -> ListVersionsByFunctionResponseTypeDef: # (1)
...
# list_versions_by_function method usage example with argument unpacking
kwargs: ListVersionsByFunctionRequestTypeDef = { # (1)
"FunctionName": ...,
}
parent.list_versions_by_function(**kwargs)
publish_layer_version#
boto3.client("lambda").publish_layer_version
method.
boto3 documentation# publish_layer_version method definition
def publish_layer_version(
self,
*,
LayerName: str,
Content: LayerVersionContentInputTypeDef, # (1)
Description: str = ...,
CompatibleRuntimes: Sequence[RuntimeType] = ..., # (2)
LicenseInfo: str = ...,
CompatibleArchitectures: Sequence[ArchitectureType] = ..., # (3)
) -> PublishLayerVersionResponseTypeDef: # (4)
...
Sequence[RuntimeType]
Sequence[ArchitectureType]
# publish_layer_version method usage example with argument unpacking
kwargs: PublishLayerVersionRequestTypeDef = { # (1)
"LayerName": ...,
"Content": ...,
}
parent.publish_layer_version(**kwargs)
publish_version#
boto3.client("lambda").publish_version
method.
boto3 documentation# publish_version method definition
def publish_version(
self,
*,
FunctionName: str,
CodeSha256: str = ...,
Description: str = ...,
RevisionId: str = ...,
) -> FunctionConfigurationResponseTypeDef: # (1)
...
# publish_version method usage example with argument unpacking
kwargs: PublishVersionRequestTypeDef = { # (1)
"FunctionName": ...,
}
parent.publish_version(**kwargs)
put_function_code_signing_config#
boto3.client("lambda").put_function_code_signing_config
method.
boto3 documentation# put_function_code_signing_config method definition
def put_function_code_signing_config(
self,
*,
CodeSigningConfigArn: str,
FunctionName: str,
) -> PutFunctionCodeSigningConfigResponseTypeDef: # (1)
...
# put_function_code_signing_config method usage example with argument unpacking
kwargs: PutFunctionCodeSigningConfigRequestTypeDef = { # (1)
"CodeSigningConfigArn": ...,
"FunctionName": ...,
}
parent.put_function_code_signing_config(**kwargs)
put_function_concurrency#
boto3.client("lambda").put_function_concurrency
method.
boto3 documentation# put_function_concurrency method definition
def put_function_concurrency(
self,
*,
FunctionName: str,
ReservedConcurrentExecutions: int,
) -> ConcurrencyResponseTypeDef: # (1)
...
# put_function_concurrency method usage example with argument unpacking
kwargs: PutFunctionConcurrencyRequestTypeDef = { # (1)
"FunctionName": ...,
"ReservedConcurrentExecutions": ...,
}
parent.put_function_concurrency(**kwargs)
put_function_event_invoke_config#
boto3.client("lambda").put_function_event_invoke_config
method.
boto3 documentation# put_function_event_invoke_config method definition
def put_function_event_invoke_config(
self,
*,
FunctionName: str,
Qualifier: str = ...,
MaximumRetryAttempts: int = ...,
MaximumEventAgeInSeconds: int = ...,
DestinationConfig: DestinationConfigTypeDef = ..., # (1)
) -> FunctionEventInvokeConfigResponseTypeDef: # (2)
...
# put_function_event_invoke_config method usage example with argument unpacking
kwargs: PutFunctionEventInvokeConfigRequestTypeDef = { # (1)
"FunctionName": ...,
}
parent.put_function_event_invoke_config(**kwargs)
put_function_recursion_config#
boto3.client("lambda").put_function_recursion_config
method.
boto3 documentation# put_function_recursion_config method definition
def put_function_recursion_config(
self,
*,
FunctionName: str,
RecursiveLoop: RecursiveLoopType, # (1)
) -> PutFunctionRecursionConfigResponseTypeDef: # (2)
...
# put_function_recursion_config method usage example with argument unpacking
kwargs: PutFunctionRecursionConfigRequestTypeDef = { # (1)
"FunctionName": ...,
"RecursiveLoop": ...,
}
parent.put_function_recursion_config(**kwargs)
put_provisioned_concurrency_config#
boto3.client("lambda").put_provisioned_concurrency_config
method.
boto3 documentation# put_provisioned_concurrency_config method definition
def put_provisioned_concurrency_config(
self,
*,
FunctionName: str,
Qualifier: str,
ProvisionedConcurrentExecutions: int,
) -> PutProvisionedConcurrencyConfigResponseTypeDef: # (1)
...
# put_provisioned_concurrency_config method usage example with argument unpacking
kwargs: PutProvisionedConcurrencyConfigRequestTypeDef = { # (1)
"FunctionName": ...,
"Qualifier": ...,
"ProvisionedConcurrentExecutions": ...,
}
parent.put_provisioned_concurrency_config(**kwargs)
put_runtime_management_config#
boto3.client("lambda").put_runtime_management_config
method.
boto3 documentation# put_runtime_management_config method definition
def put_runtime_management_config(
self,
*,
FunctionName: str,
UpdateRuntimeOn: UpdateRuntimeOnType, # (1)
Qualifier: str = ...,
RuntimeVersionArn: str = ...,
) -> PutRuntimeManagementConfigResponseTypeDef: # (2)
...
# put_runtime_management_config method usage example with argument unpacking
kwargs: PutRuntimeManagementConfigRequestTypeDef = { # (1)
"FunctionName": ...,
"UpdateRuntimeOn": ...,
}
parent.put_runtime_management_config(**kwargs)
remove_layer_version_permission#
boto3.client("lambda").remove_layer_version_permission
method.
boto3 documentation# remove_layer_version_permission method definition
def remove_layer_version_permission(
self,
*,
LayerName: str,
VersionNumber: int,
StatementId: str,
RevisionId: str = ...,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# remove_layer_version_permission method usage example with argument unpacking
kwargs: RemoveLayerVersionPermissionRequestTypeDef = { # (1)
"LayerName": ...,
"VersionNumber": ...,
"StatementId": ...,
}
parent.remove_layer_version_permission(**kwargs)
remove_permission#
boto3.client("lambda").remove_permission
method.
boto3 documentation# remove_permission method definition
def remove_permission(
self,
*,
FunctionName: str,
StatementId: str,
Qualifier: str = ...,
RevisionId: str = ...,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# remove_permission method usage example with argument unpacking
kwargs: RemovePermissionRequestTypeDef = { # (1)
"FunctionName": ...,
"StatementId": ...,
}
parent.remove_permission(**kwargs)
tag_resource#
boto3.client("lambda").tag_resource
method.
boto3 documentation# tag_resource method definition
def tag_resource(
self,
*,
Resource: str,
Tags: Mapping[str, str],
) -> EmptyResponseMetadataTypeDef: # (1)
...
# tag_resource method usage example with argument unpacking
kwargs: TagResourceRequestTypeDef = { # (1)
"Resource": ...,
"Tags": ...,
}
parent.tag_resource(**kwargs)
untag_resource#
boto3.client("lambda").untag_resource
method.
boto3 documentation# untag_resource method definition
def untag_resource(
self,
*,
Resource: str,
TagKeys: Sequence[str],
) -> EmptyResponseMetadataTypeDef: # (1)
...
# untag_resource method usage example with argument unpacking
kwargs: UntagResourceRequestTypeDef = { # (1)
"Resource": ...,
"TagKeys": ...,
}
parent.untag_resource(**kwargs)
update_alias#
boto3.client("lambda").update_alias
method.
boto3 documentation# update_alias method definition
def update_alias(
self,
*,
FunctionName: str,
Name: str,
FunctionVersion: str = ...,
Description: str = ...,
RoutingConfig: AliasRoutingConfigurationUnionTypeDef = ..., # (1)
RevisionId: str = ...,
) -> AliasConfigurationResponseTypeDef: # (2)
...
# update_alias method usage example with argument unpacking
kwargs: UpdateAliasRequestTypeDef = { # (1)
"FunctionName": ...,
"Name": ...,
}
parent.update_alias(**kwargs)
update_code_signing_config#
boto3.client("lambda").update_code_signing_config
method.
boto3 documentation# update_code_signing_config method definition
def update_code_signing_config(
self,
*,
CodeSigningConfigArn: str,
Description: str = ...,
AllowedPublishers: AllowedPublishersUnionTypeDef = ..., # (1)
CodeSigningPolicies: CodeSigningPoliciesTypeDef = ..., # (2)
) -> UpdateCodeSigningConfigResponseTypeDef: # (3)
...
# update_code_signing_config method usage example with argument unpacking
kwargs: UpdateCodeSigningConfigRequestTypeDef = { # (1)
"CodeSigningConfigArn": ...,
}
parent.update_code_signing_config(**kwargs)
update_event_source_mapping#
boto3.client("lambda").update_event_source_mapping
method.
boto3 documentation# update_event_source_mapping method definition
def update_event_source_mapping(
self,
*,
UUID: str,
FunctionName: str = ...,
Enabled: bool = ...,
BatchSize: int = ...,
FilterCriteria: FilterCriteriaUnionTypeDef = ..., # (1)
MaximumBatchingWindowInSeconds: int = ...,
DestinationConfig: DestinationConfigTypeDef = ..., # (2)
MaximumRecordAgeInSeconds: int = ...,
BisectBatchOnFunctionError: bool = ...,
MaximumRetryAttempts: int = ...,
ParallelizationFactor: int = ...,
SourceAccessConfigurations: Sequence[SourceAccessConfigurationTypeDef] = ..., # (3)
TumblingWindowInSeconds: int = ...,
FunctionResponseTypes: Sequence[FunctionResponseTypeType] = ..., # (4)
ScalingConfig: ScalingConfigTypeDef = ..., # (5)
AmazonManagedKafkaEventSourceConfig: AmazonManagedKafkaEventSourceConfigUnionTypeDef = ..., # (6)
SelfManagedKafkaEventSourceConfig: SelfManagedKafkaEventSourceConfigUnionTypeDef = ..., # (7)
DocumentDBEventSourceConfig: DocumentDBEventSourceConfigTypeDef = ..., # (8)
KMSKeyArn: str = ...,
MetricsConfig: EventSourceMappingMetricsConfigUnionTypeDef = ..., # (9)
ProvisionedPollerConfig: ProvisionedPollerConfigTypeDef = ..., # (10)
) -> EventSourceMappingConfigurationResponseTypeDef: # (11)
...
Sequence[SourceAccessConfigurationTypeDef]
Sequence[Literal['ReportBatchItemFailures']]
# update_event_source_mapping method usage example with argument unpacking
kwargs: UpdateEventSourceMappingRequestTypeDef = { # (1)
"UUID": ...,
}
parent.update_event_source_mapping(**kwargs)
update_function_code#
boto3.client("lambda").update_function_code
method.
boto3 documentation# update_function_code method definition
def update_function_code(
self,
*,
FunctionName: str,
ZipFile: BlobTypeDef = ...,
S3Bucket: str = ...,
S3Key: str = ...,
S3ObjectVersion: str = ...,
ImageUri: str = ...,
Publish: bool = ...,
DryRun: bool = ...,
RevisionId: str = ...,
Architectures: Sequence[ArchitectureType] = ..., # (1)
SourceKMSKeyArn: str = ...,
) -> FunctionConfigurationResponseTypeDef: # (2)
...
Sequence[ArchitectureType]
# update_function_code method usage example with argument unpacking
kwargs: UpdateFunctionCodeRequestTypeDef = { # (1)
"FunctionName": ...,
}
parent.update_function_code(**kwargs)
update_function_configuration#
boto3.client("lambda").update_function_configuration
method.
boto3 documentation# update_function_configuration method definition
def update_function_configuration(
self,
*,
FunctionName: str,
Role: str = ...,
Handler: str = ...,
Description: str = ...,
Timeout: int = ...,
MemorySize: int = ...,
VpcConfig: VpcConfigTypeDef = ..., # (1)
Environment: EnvironmentTypeDef = ..., # (2)
Runtime: RuntimeType = ..., # (3)
DeadLetterConfig: DeadLetterConfigTypeDef = ..., # (4)
KMSKeyArn: str = ...,
TracingConfig: TracingConfigTypeDef = ..., # (5)
RevisionId: str = ...,
Layers: Sequence[str] = ...,
FileSystemConfigs: Sequence[FileSystemConfigTypeDef] = ..., # (6)
ImageConfig: ImageConfigUnionTypeDef = ..., # (7)
EphemeralStorage: EphemeralStorageTypeDef = ..., # (8)
SnapStart: SnapStartTypeDef = ..., # (9)
LoggingConfig: LoggingConfigTypeDef = ..., # (10)
) -> FunctionConfigurationResponseTypeDef: # (11)
...
Sequence[FileSystemConfigTypeDef]
# update_function_configuration method usage example with argument unpacking
kwargs: UpdateFunctionConfigurationRequestTypeDef = { # (1)
"FunctionName": ...,
}
parent.update_function_configuration(**kwargs)
update_function_event_invoke_config#
boto3.client("lambda").update_function_event_invoke_config
method.
boto3 documentation# update_function_event_invoke_config method definition
def update_function_event_invoke_config(
self,
*,
FunctionName: str,
Qualifier: str = ...,
MaximumRetryAttempts: int = ...,
MaximumEventAgeInSeconds: int = ...,
DestinationConfig: DestinationConfigTypeDef = ..., # (1)
) -> FunctionEventInvokeConfigResponseTypeDef: # (2)
...
# update_function_event_invoke_config method usage example with argument unpacking
kwargs: UpdateFunctionEventInvokeConfigRequestTypeDef = { # (1)
"FunctionName": ...,
}
parent.update_function_event_invoke_config(**kwargs)
update_function_url_config#
boto3.client("lambda").update_function_url_config
method.
boto3 documentation# update_function_url_config method definition
def update_function_url_config(
self,
*,
FunctionName: str,
Qualifier: str = ...,
AuthType: FunctionUrlAuthTypeType = ..., # (1)
Cors: CorsUnionTypeDef = ..., # (2)
InvokeMode: InvokeModeType = ..., # (3)
) -> UpdateFunctionUrlConfigResponseTypeDef: # (4)
...
# update_function_url_config method usage example with argument unpacking
kwargs: UpdateFunctionUrlConfigRequestTypeDef = { # (1)
"FunctionName": ...,
}
parent.update_function_url_config(**kwargs)
get_paginator#
boto3.client("lambda").get_paginator
method with overloads.
client.get_paginator("list_aliases")
-> ListAliasesPaginatorclient.get_paginator("list_code_signing_configs")
-> ListCodeSigningConfigsPaginatorclient.get_paginator("list_event_source_mappings")
-> ListEventSourceMappingsPaginatorclient.get_paginator("list_function_event_invoke_configs")
-> ListFunctionEventInvokeConfigsPaginatorclient.get_paginator("list_function_url_configs")
-> ListFunctionUrlConfigsPaginatorclient.get_paginator("list_functions_by_code_signing_config")
-> ListFunctionsByCodeSigningConfigPaginatorclient.get_paginator("list_functions")
-> ListFunctionsPaginatorclient.get_paginator("list_layer_versions")
-> ListLayerVersionsPaginatorclient.get_paginator("list_layers")
-> ListLayersPaginatorclient.get_paginator("list_provisioned_concurrency_configs")
-> ListProvisionedConcurrencyConfigsPaginatorclient.get_paginator("list_versions_by_function")
-> ListVersionsByFunctionPaginatorget_waiter#
boto3.client("lambda").get_waiter
method with overloads.
client.get_waiter("function_active_v2")
-> FunctionActiveV2Waiterclient.get_waiter("function_active")
-> FunctionActiveWaiterclient.get_waiter("function_exists")
-> FunctionExistsWaiterclient.get_waiter("function_updated_v2")
-> FunctionUpdatedV2Waiterclient.get_waiter("function_updated")
-> FunctionUpdatedWaiterclient.get_waiter("published_version_active")
-> PublishedVersionActiveWaiter