Skip to content

Commit 2253521

Browse files
committed
Marked ProxyRequestContext.Error property as Obsolete for APIGatewayProxyRequest.
1 parent ca9e0ea commit 2253521

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"Projects": [
3+
{
4+
"Name": "Amazon.Lambda.APIGatewayEvents",
5+
"Type": "Patch",
6+
"ChangelogMessages": [
7+
"Marked ProxyRequestContext.Error property as Obsolete for APIGatewayProxyRequest."
8+
]
9+
}
10+
]
11+
}

Libraries/src/Amazon.Lambda.APIGatewayEvents/APIGatewayProxyRequest.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace Amazon.Lambda.APIGatewayEvents
1+
namespace Amazon.Lambda.APIGatewayEvents
22
{
33
using System;
44
using System.Collections.Generic;
@@ -234,10 +234,11 @@ public class ProxyRequestContext
234234
/// Gets and sets the operation name.
235235
/// </summary>
236236
public string OperationName { get; set; }
237-
237+
238238
/// <summary>
239239
/// Gets and sets the error.
240240
/// </summary>
241+
[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.")]
241242
public string Error { get; set; }
242243

243244
/// <summary>

0 commit comments

Comments
 (0)