LambdaClient.get_function_configuration
rboto-lambda==0.4.0 · Service index · Types
Model summary (excerpt): Returns the version-specific settings of a Lambda Event Function or version. The output includes only options that can vary between versions of a function. To modify these settings, use UpdateFunctionConfiguration . To get all of a function's details, including function-level settings, use GetFunction .
Install and imports
Signature
async def get_function_configuration(
*,
function_name: str,
qualifier: str | None = None,
) -> GetFunctionConfigurationOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
function_name |
Yes | The name or ARN of the Lambda function, version, or alias. Name formats Function name – my-function (name-only), my-function:v1 (with alias). Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function . Partial ARN – 123456789012:function:my-function . You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you... |
qualifier |
No | Specify a version or alias to get details about a published version of the function. |
Output
GetFunctionConfigurationOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
function_name |
str | None |
Always present | — |
function_arn |
str | None |
Always present | — |
runtime |
RuntimeOutput | None |
Always present | RuntimeOutput |
role |
str | None |
Always present | — |
handler |
str | None |
Always present | — |
code_size |
int |
Always present | — |
description |
str | None |
Always present | — |
timeout |
int | None |
Always present | — |
memory_size |
int | None |
Always present | — |
last_modified |
str | None |
Always present | — |
code_sha256 |
str | None |
Always present | — |
version |
str | None |
Always present | — |
vpc_config |
VpcConfigResponseOutput | None |
Always present | VpcConfigResponseOutput |
dead_letter_config |
DeadLetterConfigOutput | None |
Always present | DeadLetterConfigOutput |
environment |
EnvironmentResponseOutput | None |
Always present | EnvironmentResponseOutput |
kms_key_arn |
str | None |
Always present | — |
tracing_config |
TracingConfigResponseOutput | None |
Always present | TracingConfigResponseOutput |
master_arn |
str | None |
Always present | — |
revision_id |
str | None |
Always present | — |
layers |
list[LayerOutput] | None |
Always present | LayerOutput |
state |
StateOutput | None |
Always present | StateOutput |
state_reason |
str | None |
Always present | — |
state_reason_code |
StateReasonCodeOutput | None |
Always present | StateReasonCodeOutput |
last_update_status |
LastUpdateStatusOutput | None |
Always present | LastUpdateStatusOutput |
last_update_status_reason |
str | None |
Always present | — |
last_update_status_reason_code |
LastUpdateStatusReasonCodeOutput | None |
Always present | LastUpdateStatusReasonCodeOutput |
file_system_configs |
list[FileSystemConfigOutput] | None |
Always present | FileSystemConfigOutput |
signing_profile_version_arn |
str | None |
Always present | — |
signing_job_arn |
str | None |
Always present | — |
package_type |
PackageTypeOutput | None |
Always present | PackageTypeOutput |
image_config_response |
ImageConfigResponseOutput | None |
Always present | ImageConfigResponseOutput |
architectures |
list[ArchitectureOutput] | None |
Always present | ArchitectureOutput |
ephemeral_storage |
EphemeralStorageOutput | None |
Always present | EphemeralStorageOutput |
snap_start |
SnapStartResponseOutput | None |
Always present | SnapStartResponseOutput |
runtime_version_config |
RuntimeVersionConfigOutput | None |
Always present | RuntimeVersionConfigOutput |
logging_config |
LoggingConfigOutput | None |
Always present | LoggingConfigOutput |
tenancy_config |
TenancyConfigOutput | None |
Always present | TenancyConfigOutput |
capacity_provider_config |
CapacityProviderConfigOutput | None |
Always present | CapacityProviderConfigOutput |
config_sha256 |
str | None |
Always present | — |
durable_config |
DurableConfigOutput | None |
Always present | DurableConfigOutput |
runtime_config |
FunctionRuntimeConfigOutput | None |
Always present | FunctionRuntimeConfigOutput |
accelerator_config |
AcceleratorConfigOutput | None |
Always present | AcceleratorConfigOutput |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
GetFunctionConfigurationOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Waiters
from rboto import WaiterConfig. Calls use this public operation, including configured middleware and native retries. Polling, deadlines and errors.
client.waiters.function_active:
async def function_active(
*,
function_name: str,
qualifier: str | None = None,
waiter_config: WaiterConfig | None = None,
) -> GetFunctionConfigurationOutput: ...
Default fixed delay: 5 seconds. Default maximum: 40 polls. No overall timeout unless configured.
Returns the successful polling Output.
| Acceptor index | State | Matcher | Model path | Expected |
|---|---|---|---|---|
| 0 | success | stringEquals | State |
Active |
| 1 | failure | stringEquals | State |
Failed |
| 2 | retry | stringEquals | State |
Pending |
Acceptors are checked in order. Missing fields or unmatched successful responses continue polling. Unmatched service errors propagate.
client.waiters.function_updated:
async def function_updated(
*,
function_name: str,
qualifier: str | None = None,
waiter_config: WaiterConfig | None = None,
) -> GetFunctionConfigurationOutput: ...
Default fixed delay: 5 seconds. Default maximum: 40 polls. No overall timeout unless configured.
Returns the successful polling Output.
| Acceptor index | State | Matcher | Model path | Expected |
|---|---|---|---|---|
| 0 | success | stringEquals | LastUpdateStatus |
Successful |
| 1 | failure | stringEquals | LastUpdateStatus |
Failed |
| 2 | retry | stringEquals | LastUpdateStatus |
InProgress |
Acceptors are checked in order. Missing fields or unmatched successful responses continue polling. Unmatched service errors propagate.
client.waiters.published_version_active:
async def published_version_active(
*,
function_name: str,
qualifier: str | None = None,
waiter_config: WaiterConfig | None = None,
) -> GetFunctionConfigurationOutput: ...
Default fixed delay: 5 seconds. Default maximum: 40 polls. No overall timeout unless configured.
Returns the successful polling Output.
| Acceptor index | State | Matcher | Model path | Expected |
|---|---|---|---|---|
| 0 | success | stringEquals | State |
Active |
| 1 | failure | stringEquals | State |
Failed |
| 2 | retry | stringEquals | State |
Pending |
Acceptors are checked in order. Missing fields or unmatched successful responses continue polling. Unmatched service errors propagate.
Errors
Import from rboto_lambda.exceptions:
InvalidParameterValueError, ResourceNotFoundError, ServiceError, TooManyRequestsError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.