

# UpdateRuntimeAlias
<a name="API_UpdateRuntimeAlias"></a>

Updates an existing runtime alias to point to a different runtime version or to change its description or lifecycle information.

## Request Syntax
<a name="API_UpdateRuntimeAlias_RequestSyntax"></a>

```
PUT /2026-10-01/runtimes/{{RuntimeName}}/aliases/{{Name}} HTTP/1.1
Content-type: application/json

{
   "Description": "{{string}}",
   "ReleaseLifecycle": { 
      "DeprecationDate": "{{string}}",
      "FunctionCreateBlockDate": "{{string}}",
      "FunctionUpdateBlockDate": "{{string}}",
      "ReleaseState": "{{string}}"
   },
   "RuntimeVersion": "{{string}}"
}
```

## URI Request Parameters
<a name="API_UpdateRuntimeAlias_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Name](#API_UpdateRuntimeAlias_RequestSyntax) **   <a name="lambdacore-UpdateRuntimeAlias-request-uri-Name"></a>
The name of the runtime alias to update.  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Pattern: `[A-Za-z0-9_]([A-Za-z0-9_.-]{0,126}[A-Za-z0-9_])?`   
Required: Yes

 ** [RuntimeName](#API_UpdateRuntimeAlias_RequestSyntax) **   <a name="lambdacore-UpdateRuntimeAlias-request-uri-RuntimeName"></a>
The name or ARN of the runtime.  
Length Constraints: Minimum length of 2. Maximum length of 2048.  
Pattern: `(arn:(aws[a-zA-Z-]*):lambda:(eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:\d{12}:runtime/)?[a-z0-9]([a-z0-9_.-]{0,126})?[a-z0-9]`   
Required: Yes

## Request Body
<a name="API_UpdateRuntimeAlias_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [Description](#API_UpdateRuntimeAlias_RequestSyntax) **   <a name="lambdacore-UpdateRuntimeAlias-request-Description"></a>
A description of the runtime alias.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 1024.  
Pattern: `[^\p{C}]*`   
Required: No

 ** [ReleaseLifecycle](#API_UpdateRuntimeAlias_RequestSyntax) **   <a name="lambdacore-UpdateRuntimeAlias-request-ReleaseLifecycle"></a>
The lifecycle for the alias. By default, this is inherited from the runtime lifecycle. Optionally, you can override the lifecycle information at the alias level, if required. Omitting or providing an empty object removes the existing lifecycle override.  
Type: [RuntimeReleaseLifecycle](API_RuntimeReleaseLifecycle.md) object  
Required: No

 ** [RuntimeVersion](#API_UpdateRuntimeAlias_RequestSyntax) **   <a name="lambdacore-UpdateRuntimeAlias-request-RuntimeVersion"></a>
The name of the runtime version the alias should point to.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Pattern: `[A-Za-z0-9_]([A-Za-z0-9_.-]{0,126}[A-Za-z0-9_])?`   
Required: Yes

## Response Syntax
<a name="API_UpdateRuntimeAlias_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Arn": "string",
   "Compatibility": { 
      "Architectures": [ "string" ],
      "IntegrationModels": [ "string" ],
      "ManagedInstances": "string"
   },
   "Created": "string",
   "Description": "string",
   "LastModified": "string",
   "Name": "string",
   "ReleaseLifecycle": { 
      "DeprecationDate": "string",
      "FunctionCreateBlockDate": "string",
      "FunctionUpdateBlockDate": "string",
      "ReleaseState": "string"
   },
   "RuntimeName": "string",
   "RuntimeVersion": "string",
   "RuntimeVersionArn": "string",
   "State": "string"
}
```

## Response Elements
<a name="API_UpdateRuntimeAlias_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Arn](#API_UpdateRuntimeAlias_ResponseSyntax) **   <a name="lambdacore-UpdateRuntimeAlias-response-Arn"></a>
The Amazon Resource Name (ARN) of the runtime alias.  
Type: String  
Length Constraints: Minimum length of 48. Maximum length of 2048.  
Pattern: `arn:(aws[a-zA-Z-]*):lambda:(eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:\d{12}:runtime/[a-z0-9]([a-z0-9_.-]{0,126})?[a-z0-9](/(version|alias)/[^/]{1,128})?` 

 ** [Compatibility](#API_UpdateRuntimeAlias_ResponseSyntax) **   <a name="lambdacore-UpdateRuntimeAlias-response-Compatibility"></a>
The compatibility matrix of the runtime version the alias points to.  
Type: [Compatibility](API_Compatibility.md) object

 ** [Created](#API_UpdateRuntimeAlias_ResponseSyntax) **   <a name="lambdacore-UpdateRuntimeAlias-response-Created"></a>
The date and time when the runtime alias was created.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.

 ** [Description](#API_UpdateRuntimeAlias_ResponseSyntax) **   <a name="lambdacore-UpdateRuntimeAlias-response-Description"></a>
A description of the runtime alias.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 1024.  
Pattern: `[^\p{C}]*` 

 ** [LastModified](#API_UpdateRuntimeAlias_ResponseSyntax) **   <a name="lambdacore-UpdateRuntimeAlias-response-LastModified"></a>
The date and time when the runtime alias was last modified.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.

 ** [Name](#API_UpdateRuntimeAlias_ResponseSyntax) **   <a name="lambdacore-UpdateRuntimeAlias-response-Name"></a>
The name of the runtime alias.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Pattern: `[A-Za-z0-9_]([A-Za-z0-9_.-]{0,126}[A-Za-z0-9_])?` 

 ** [ReleaseLifecycle](#API_UpdateRuntimeAlias_ResponseSyntax) **   <a name="lambdacore-UpdateRuntimeAlias-response-ReleaseLifecycle"></a>
The runtime lifecycle for the alias. By default, this is inherited from the runtime lifecycle. Optionally, you can override the lifecycle information at the alias level, if required.  
Type: [RuntimeReleaseLifecycle](API_RuntimeReleaseLifecycle.md) object

 ** [RuntimeName](#API_UpdateRuntimeAlias_ResponseSyntax) **   <a name="lambdacore-UpdateRuntimeAlias-response-RuntimeName"></a>
The name of the runtime.  
Type: String  
Length Constraints: Minimum length of 2. Maximum length of 2048.  
Pattern: `(arn:(aws[a-zA-Z-]*):lambda:(eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:\d{12}:runtime/)?[a-z0-9]([a-z0-9_.-]{0,126})?[a-z0-9]` 

 ** [RuntimeVersion](#API_UpdateRuntimeAlias_ResponseSyntax) **   <a name="lambdacore-UpdateRuntimeAlias-response-RuntimeVersion"></a>
The name of the runtime version the alias points to.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Pattern: `[A-Za-z0-9_]([A-Za-z0-9_.-]{0,126}[A-Za-z0-9_])?` 

 ** [RuntimeVersionArn](#API_UpdateRuntimeAlias_ResponseSyntax) **   <a name="lambdacore-UpdateRuntimeAlias-response-RuntimeVersionArn"></a>
The Amazon Resource Name (ARN) of the runtime version the alias points to.  
Type: String  
Length Constraints: Minimum length of 48. Maximum length of 2048.  
Pattern: `arn:(aws[a-zA-Z-]*):lambda:(eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:\d{12}:runtime/[a-z0-9]([a-z0-9_.-]{0,126})?[a-z0-9](/(version|alias)/[^/]{1,128})?` 

 ** [State](#API_UpdateRuntimeAlias_ResponseSyntax) **   <a name="lambdacore-UpdateRuntimeAlias-response-State"></a>
The current state of the runtime alias.  
Type: String  
Valid Values: `CREATING | ACTIVE | UPDATING | DELETING | PENDING_DELETION` 

## Errors
<a name="API_UpdateRuntimeAlias_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InvalidParameterValueException **   
One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.    
 ** message **   
The error message that describes the exception.  
 ** Type **   
The exception type.
HTTP Status Code: 400

 ** ResourceConflictException **   
The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.    
 ** message **   
The error message that describes the exception.  
 ** Type **   
The exception type.
HTTP Status Code: 409

 ** ResourceNotFoundException **   
The specified resource does not exist. Verify the identifier and Region.    
 ** Message **   
The error message that describes the exception.  
 ** Type **   
The exception type.
HTTP Status Code: 404

 ** ServiceException **   
An internal service error occurred. Retry the request with exponential backoff.    
 ** Message **   
The error message that describes the exception.  
 ** Type **   
The exception type.
HTTP Status Code: 500

 ** TooManyRequestsException **   
The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.    
 ** message **   
The error message that describes the exception.  
 ** Reason **   
The reason for the throttling.  
 ** retryAfterSeconds **   
The number of seconds to wait before retrying the request.  
 ** Type **   
The exception type.
HTTP Status Code: 429

## See Also
<a name="API_UpdateRuntimeAlias_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/lambda-core-2026-04-30/UpdateRuntimeAlias) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/lambda-core-2026-04-30/UpdateRuntimeAlias) 
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-core-2026-04-30/UpdateRuntimeAlias) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/lambda-core-2026-04-30/UpdateRuntimeAlias) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-core-2026-04-30/UpdateRuntimeAlias) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/lambda-core-2026-04-30/UpdateRuntimeAlias) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/lambda-core-2026-04-30/UpdateRuntimeAlias) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-core-2026-04-30/UpdateRuntimeAlias) 
+  [AWS SDK for Python (Boto3)](https://docs.aws.amazon.com/goto/boto3/lambda-core-2026-04-30/UpdateRuntimeAlias) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-core-2026-04-30/UpdateRuntimeAlias) 