LambdaWebClient

AWS Lambda Web Functions let you run web applications and APIs as HTTP servers on Lambda. A web function has one or more immutable revisions (code and configuration) and one or more endpoints that expose it over HTTPS.

Properties

Link copied to clipboard
abstract override val config: LambdaWebClient.Config

LambdaWebClient's configuration

Functions

Link copied to clipboard

Creates a web function with an initial revision and endpoint. To create a web function, you provide the function name, revision configuration (code and service settings), and endpoint configuration.

Link copied to clipboard

Creates an endpoint for a web function. An endpoint exposes the web function over HTTPS and routes traffic to one or more revisions.

Link copied to clipboard

Creates an immutable revision for a web function. A revision represents a specific version of the function code and configuration.

Link copied to clipboard

Removes the resource-based policy from a web function.

Link copied to clipboard

Deletes a web function and all of its associated revisions and endpoints.

Link copied to clipboard

Deletes a web function endpoint.

Link copied to clipboard

Deletes a web function revision. You cannot delete a revision that is currently serving traffic on an endpoint.

Link copied to clipboard

Retrieves the resource-based policy attached to a web function.

Link copied to clipboard
abstract suspend fun getWebAccountSettings(input: GetWebAccountSettingsRequest = GetWebAccountSettingsRequest { }): GetWebAccountSettingsResponse

Retrieves details about your AWS Lambda Web Functions account settings for the current AWS Region, including the quotas that apply to web functions and your current usage.

Link copied to clipboard

Retrieves details about a web function, including its current state and configuration.

Link copied to clipboard

Retrieves details about a web function endpoint, including its current state, configuration, and domain name.

Link copied to clipboard

Retrieves details about a web function revision, including its state and configuration.

Link copied to clipboard
abstract suspend fun listTags(input: ListTagsRequest): ListTagsResponse

Returns a list of tags applied to a web function.

Link copied to clipboard

Lists endpoints for a web function. We recommend using pagination to ensure that the operation returns quickly and successfully.

Link copied to clipboard

Lists revisions for a web function. We recommend using pagination to ensure that the operation returns quickly and successfully.

Link copied to clipboard
abstract suspend fun listWebFunctions(input: ListWebFunctionsRequest = ListWebFunctionsRequest { }): ListWebFunctionsResponse

Lists web functions in your account. We recommend using pagination to ensure that the operation returns quickly and successfully.

Link copied to clipboard

Adds or updates a resource-based policy on a web function. A resource-based policy grants permissions to other AWS accounts or services to perform actions on the web function.

Link copied to clipboard
abstract suspend fun tagResource(input: TagResourceRequest): TagResourceResponse

Adds tags to a web function. If a tag key already exists, the existing value is overwritten with the new value.

Link copied to clipboard

Removes tags from a web function.

Link copied to clipboard

Updates the configuration of a web function endpoint. You can modify the authorization type, auto-deployment mode, revision weights, scaling, and throttling settings.

Inherited functions

Link copied to clipboard
abstract fun close()
Link copied to clipboard

Creates a web function with an initial revision and endpoint. To create a web function, you provide the function name, revision configuration (code and service settings), and endpoint configuration.

Link copied to clipboard

Creates an endpoint for a web function. An endpoint exposes the web function over HTTPS and routes traffic to one or more revisions.

Link copied to clipboard

Creates an immutable revision for a web function. A revision represents a specific version of the function code and configuration.

Link copied to clipboard

Removes the resource-based policy from a web function.

Link copied to clipboard

Deletes a web function and all of its associated revisions and endpoints.

Link copied to clipboard

Deletes a web function endpoint.

Link copied to clipboard

Deletes a web function revision. You cannot delete a revision that is currently serving traffic on an endpoint.

Link copied to clipboard

Retrieves the resource-based policy attached to a web function.

Link copied to clipboard

Retrieves details about your AWS Lambda Web Functions account settings for the current AWS Region, including the quotas that apply to web functions and your current usage.

Link copied to clipboard

Retrieves details about a web function, including its current state and configuration.

Link copied to clipboard

Retrieves details about a web function endpoint, including its current state, configuration, and domain name.

Link copied to clipboard

Retrieves details about a web function revision, including its state and configuration.

Link copied to clipboard
inline suspend fun LambdaWebClient.listTags(crossinline block: ListTagsRequest.Builder.() -> Unit): ListTagsResponse

Returns a list of tags applied to a web function.

Link copied to clipboard

Lists endpoints for a web function. We recommend using pagination to ensure that the operation returns quickly and successfully.

Link copied to clipboard

Lists revisions for a web function. We recommend using pagination to ensure that the operation returns quickly and successfully.

Link copied to clipboard

Lists web functions in your account. We recommend using pagination to ensure that the operation returns quickly and successfully.

Link copied to clipboard

Adds or updates a resource-based policy on a web function. A resource-based policy grants permissions to other AWS accounts or services to perform actions on the web function.

Link copied to clipboard
inline suspend fun LambdaWebClient.tagResource(crossinline block: TagResourceRequest.Builder.() -> Unit): TagResourceResponse

Adds tags to a web function. If a tag key already exists, the existing value is overwritten with the new value.

Link copied to clipboard

Removes tags from a web function.

Link copied to clipboard

Updates the configuration of a web function endpoint. You can modify the authorization type, auto-deployment mode, revision weights, scaling, and throttling settings.

Link copied to clipboard

Waits for the web function's state to be Active. This should be used after new function creation.

Link copied to clipboard

Waits for the web function to be deleted. This should be used after function deletion.

Link copied to clipboard

Waits for the web function endpoint's state to be Active. This should be used after new endpoint creation.

Link copied to clipboard

Waits for the web function endpoint to be deleted. This should be used after endpoint deletion.

Link copied to clipboard

Waits for the web function endpoint's update status to be Successful. This should be used after endpoint updates.

Link copied to clipboard

Waits for the web function revision's state to be Active. This should be used after new revision creation.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.