From 2253521edbd32e8e83d32fc5bf8f36dcbfe17d85 Mon Sep 17 00:00:00 2001
From: Ashish Dhingra <67916761+ashishdhingra@users.noreply.github.com>
Date: Fri, 5 Dec 2025 10:14:42 -0800
Subject: [PATCH] Marked ProxyRequestContext.Error property as Obsolete for
APIGatewayProxyRequest.
---
.../changes/cfe4a449-209e-41ec-9a35-929b0d0d3afb.json | 11 +++++++++++
.../APIGatewayProxyRequest.cs | 5 +++--
2 files changed, 14 insertions(+), 2 deletions(-)
create mode 100644 .autover/changes/cfe4a449-209e-41ec-9a35-929b0d0d3afb.json
diff --git a/.autover/changes/cfe4a449-209e-41ec-9a35-929b0d0d3afb.json b/.autover/changes/cfe4a449-209e-41ec-9a35-929b0d0d3afb.json
new file mode 100644
index 000000000..e9fde643a
--- /dev/null
+++ b/.autover/changes/cfe4a449-209e-41ec-9a35-929b0d0d3afb.json
@@ -0,0 +1,11 @@
+{
+ "Projects": [
+ {
+ "Name": "Amazon.Lambda.APIGatewayEvents",
+ "Type": "Patch",
+ "ChangelogMessages": [
+ "Marked ProxyRequestContext.Error property as Obsolete for APIGatewayProxyRequest."
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/Libraries/src/Amazon.Lambda.APIGatewayEvents/APIGatewayProxyRequest.cs b/Libraries/src/Amazon.Lambda.APIGatewayEvents/APIGatewayProxyRequest.cs
index b6269c167..f9cf83b6a 100644
--- a/Libraries/src/Amazon.Lambda.APIGatewayEvents/APIGatewayProxyRequest.cs
+++ b/Libraries/src/Amazon.Lambda.APIGatewayEvents/APIGatewayProxyRequest.cs
@@ -1,4 +1,4 @@
-namespace Amazon.Lambda.APIGatewayEvents
+namespace Amazon.Lambda.APIGatewayEvents
{
using System;
using System.Collections.Generic;
@@ -234,10 +234,11 @@ public class ProxyRequestContext
/// Gets and sets the operation name.
///
public string OperationName { get; set; }
-
+
///
/// Gets and sets the error.
///
+ [Obsolete("This property is obsolete since it is not processed by the Velocity Template Language engine and is not available as a field to integration request.")]
public string Error { get; set; }
///