AWS.HttpRequest — AWS SDK for JavaScript

We recommend that you migrate to AWS SDK for JavaScript v3. For dates, additional details, and information on how to migrate, please refer to the linked announcement.

Inherits:
Object
  • Object
  • AWS.HttpRequest
show all
Defined in:
lib/http.js

Overview

The low level HTTP request object, encapsulating all HTTP header and body data sent by a service request.

Property Summary collapse

Method Summary collapse

Property Details

bodyString

Returns the request body payload.

endpointAWS.Endpoint

Returns the endpoint for the request.

Returns a map of header keys and their respective values.

methodString

Returns the HTTP method of the request.

pathString

Returns the path portion of the URI, e.g., "/list/?start=5&num=10".

Method Details

pathname() ⇒ String

Returns the part of the path excluding the query string.

search() ⇒ String

Returns the query string portion of the path.