UpdateWebFunctionEndpointRequest
¶
Source code in docs_src/capo_lambda_web/types/update_web_function_endpoint_request.py
auth_type
instance-attribute
¶
auth_type: NotRequired[AuthType]
The authorization type for the endpoint. Omit this field to keep the current authorization type.
Valid values:
-
ApplicationManaged– Your application handles authorization. -
IamAuth– Lambda uses IAM to authorize requests, which must be signed with Signature Version 4 (SigV4).
auto_deployment_mode
instance-attribute
¶
auto_deployment_mode: NotRequired[AutoDeploymentMode]
The auto-deployment mode for the endpoint. Omit this field to keep the current auto-deployment mode.
Valid values:
-
LatestRevision– The endpoint automatically serves the newest revision. -
Disabled– Revision routing stays fixed until you change it.
description
instance-attribute
¶
description: NotRequired[Description]
A description of the endpoint. Omit this field to keep the current description.
endpoint_name
instance-attribute
¶
endpoint_name: EndpointName
The endpoint to update.
You can specify either of the following:
-
The endpoint name, for example
my-endpoint. -
The endpoint ARN.
The length constraint applies only to the full ARN. If you specify only the endpoint name, it is limited to 64 characters in length.
function_name
instance-attribute
¶
function_name: FunctionName
The web function.
You can specify either of the following:
-
The function name, for example
my-function. -
The function ARN.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
revision_weights
instance-attribute
¶
revision_weights: NotRequired[RevisionWeightList]
A list of revision weights that determine how traffic is distributed across revisions.
scaling_config
instance-attribute
¶
scaling_config: NotRequired[ScalingConfig]
The scaling configuration for the endpoint. Omit this field to keep the current scaling configuration. To clear a previously set maxEnvironments value, specify an empty object.
throttle_config
instance-attribute
¶
throttle_config: NotRequired[ThrottleConfig]
The throttling configuration for the endpoint. Omit this field to keep the current throttling configuration. To clear a previously set rateLimit value, specify an empty object.