enum HttpMethod
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Lambda.HttpMethod |
Java | software.amazon.awscdk.services.lambda.HttpMethod |
Python | aws_cdk.aws_lambda.HttpMethod |
TypeScript (source) | @aws-cdk/aws-lambda » HttpMethod |
All http request methods.
Members
Name | Description |
---|---|
GET | The GET method requests a representation of the specified resource. |
PUT | The PUT method replaces all current representations of the target resource with the request payload. |
HEAD | The HEAD method asks for a response identical to that of a GET request, but without the response body. |
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. |
DELETE | The DELETE method deletes the specified resource. |
PATCH | The PATCH method applies partial modifications to a resource. |
OPTIONS | The OPTIONS method describes the communication options for the target resource. |
ALL | The wildcard entry to allow all methods. |
GET
The GET method requests a representation of the specified resource.
PUT
The PUT method replaces all current representations of the target resource with the request payload.
HEAD
The HEAD method asks for a response identical to that of a GET request, but without the response body.
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.
DELETE
The DELETE method deletes the specified resource.
PATCH
The PATCH method applies partial modifications to a resource.
OPTIONS
The OPTIONS method describes the communication options for the target resource.
ALL
The wildcard entry to allow all methods.