Class HttpMethod
All http request methods.
Inheritance
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.AWS.Lambda.dll
Syntax (csharp)
public sealed class HttpMethod : Enum
Syntax (vb)
Public NotInheritable Class HttpMethod
Inherits
Enum
Synopsis
Fields
ALL | The wildcard entry to allow all methods. |
DELETE | The DELETE method deletes the specified resource. |
GET | The GET method requests a representation of the specified resource. |
HEAD | The HEAD method asks for a response identical to that of a GET request, but without the response body. |
OPTIONS | The OPTIONS method describes the communication options for the target resource. |
PATCH | The PATCH method applies partial modifications to a resource. |
POST | The POST method is used to submit an entity to the specified resource, often causing a change in state or side effects on the server. |
PUT | The PUT method replaces all current representations of the target resource with the request payload. |
value__ |
Fields
ALL
The wildcard entry to allow all methods.
public const HttpMethod ALL
Field Value
Type | Description |
---|---|
HttpMethod |
DELETE
The DELETE method deletes the specified resource.
public const HttpMethod DELETE
Field Value
Type | Description |
---|---|
HttpMethod |
GET
The GET method requests a representation of the specified resource.
public const HttpMethod GET
Field Value
Type | Description |
---|---|
HttpMethod |
HEAD
The HEAD method asks for a response identical to that of a GET request, but without the response body.
public const HttpMethod HEAD
Field Value
Type | Description |
---|---|
HttpMethod |
OPTIONS
The OPTIONS method describes the communication options for the target resource.
public const HttpMethod OPTIONS
Field Value
Type | Description |
---|---|
HttpMethod |
PATCH
The PATCH method applies partial modifications to a resource.
public const HttpMethod PATCH
Field Value
Type | Description |
---|---|
HttpMethod |
POST
The POST method is used to submit an entity to the specified resource, often causing a change in state or side effects on the server.
public const HttpMethod POST
Field Value
Type | Description |
---|---|
HttpMethod |
PUT
The PUT method replaces all current representations of the target resource with the request payload.
public const HttpMethod PUT
Field Value
Type | Description |
---|---|
HttpMethod |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |