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..32d2c89e8 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 used by AWS API Gateway and will never have value set by the service.")] public string Error { get; set; } ///