LambdaClient.update_function_url_config
rboto-lambda==0.4.0 · Service index · Types
Model summary (excerpt): Updates the configuration for a function URL of a Lambda Event Function.
Install and imports
from rboto import LambdaClient
from rboto_lambda.types import (
Cors,
FunctionUrlAuthType,
InvokeMode,
UpdateFunctionUrlConfigOutput,
)
Signature
async def update_function_url_config(
*,
function_name: str,
qualifier: str | None = None,
auth_type: FunctionUrlAuthType | None = None,
cors: Cors | None = None,
invoke_mode: InvokeMode | None = None,
) -> UpdateFunctionUrlConfigOutput: ...
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. Name formats Function name – my-function . Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function . Partial ARN – 123456789012:function:my-function . The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length. |
qualifier |
No | The alias name. |
auth_type |
No | The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Control access to Lambda function URLs . |
cors |
No | The cross-origin resource sharing (CORS) settings for your function URL. |
invoke_mode |
No | Use one of the following options: BUFFERED – This is the default option. Lambda invokes your function using the Invoke API operation. Invocation results are available when the payload is complete. The maximum payload size is 6 MB. RESPONSE_STREAM – Your function streams payload results as they become available. Lambda invokes your function using the InvokeWithResponseStream API operation. The... |
Output
UpdateFunctionUrlConfigOutput.
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_url |
str |
Always present | — |
function_arn |
str |
Always present | — |
auth_type |
FunctionUrlAuthTypeOutput |
Always present | FunctionUrlAuthTypeOutput |
cors |
CorsOutput | None |
Always present | CorsOutput |
creation_time |
str |
Always present | — |
last_modified_time |
str |
Always present | — |
invoke_mode |
InvokeModeOutput | None |
Always present | InvokeModeOutput |
| 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
Cors, FunctionUrlAuthType, InvokeMode, UpdateFunctionUrlConfigOutput
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.
Errors
Import from rboto_lambda.exceptions:
InvalidParameterValueError, ResourceConflictError, ResourceNotFoundError, ServiceError, TooManyRequestsError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.