Class: Aws::LambdaWeb::Types::UpdateWebFunctionEndpointRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::LambdaWeb::Types::UpdateWebFunctionEndpointRequest
- Defined in:
- gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb
Overview
The request to update a web function endpoint.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#auth_type ⇒ String
The authorization type for the endpoint.
-
#auto_deployment_mode ⇒ String
The auto-deployment mode for the endpoint.
-
#description ⇒ String
A description of the endpoint.
-
#endpoint_name ⇒ String
The endpoint to update.
-
#function_name ⇒ String
The web function.
-
#revision_weights ⇒ Array<Types::RevisionWeight>
A list of revision weights that determine how traffic is distributed across revisions.
-
#scaling_config ⇒ Types::ScalingConfig
The scaling configuration for the endpoint.
-
#throttle_config ⇒ Types::ThrottleConfig
The throttling configuration for the endpoint.
Instance Attribute Details
#auth_type ⇒ String
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).
2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 2186 class UpdateWebFunctionEndpointRequest < Struct.new( :function_name, :endpoint_name, :description, :auth_type, :auto_deployment_mode, :revision_weights, :scaling_config, :throttle_config) SENSITIVE = [] include Aws::Structure end |
#auto_deployment_mode ⇒ String
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.
2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 2186 class UpdateWebFunctionEndpointRequest < Struct.new( :function_name, :endpoint_name, :description, :auth_type, :auto_deployment_mode, :revision_weights, :scaling_config, :throttle_config) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
A description of the endpoint. Omit this field to keep the current description.
2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 2186 class UpdateWebFunctionEndpointRequest < Struct.new( :function_name, :endpoint_name, :description, :auth_type, :auto_deployment_mode, :revision_weights, :scaling_config, :throttle_config) SENSITIVE = [] include Aws::Structure end |
#endpoint_name ⇒ String
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.
2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 2186 class UpdateWebFunctionEndpointRequest < Struct.new( :function_name, :endpoint_name, :description, :auth_type, :auto_deployment_mode, :revision_weights, :scaling_config, :throttle_config) SENSITIVE = [] include Aws::Structure end |
#function_name ⇒ String
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.
2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 2186 class UpdateWebFunctionEndpointRequest < Struct.new( :function_name, :endpoint_name, :description, :auth_type, :auto_deployment_mode, :revision_weights, :scaling_config, :throttle_config) SENSITIVE = [] include Aws::Structure end |
#revision_weights ⇒ Array<Types::RevisionWeight>
A list of revision weights that determine how traffic is distributed across revisions.
2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 2186 class UpdateWebFunctionEndpointRequest < Struct.new( :function_name, :endpoint_name, :description, :auth_type, :auto_deployment_mode, :revision_weights, :scaling_config, :throttle_config) SENSITIVE = [] include Aws::Structure end |
#scaling_config ⇒ Types::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.
2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 2186 class UpdateWebFunctionEndpointRequest < Struct.new( :function_name, :endpoint_name, :description, :auth_type, :auto_deployment_mode, :revision_weights, :scaling_config, :throttle_config) SENSITIVE = [] include Aws::Structure end |
#throttle_config ⇒ Types::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.
2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 2186 class UpdateWebFunctionEndpointRequest < Struct.new( :function_name, :endpoint_name, :description, :auth_type, :auto_deployment_mode, :revision_weights, :scaling_config, :throttle_config) SENSITIVE = [] include Aws::Structure end |