Creates an instance of AWSHttpRequestBuilder.
The AWS storage service for token management.
The Axios request configuration.
If tokenStorage, method, or baseURL are not defined.
Private
axiosPrivate
configPrivate
Readonly
tokenThe AWS storage service for token management.
Adds additional Axios request configuration.
The configuration to add.
Private
addPrivate
addAdds additional headers to the request.
Headers to add.
Private
addXLemonPrivate
Adds the x-lemon-identity token to the request headers if required.
Checks if the USE_X_LEMON_IDENTITY_KEY
is set in the token storage and, if true,
retrieves the identityToken
and sets it as the x-lemon-identity
header.
Executes the HTTP request.
If an error occurs during the request.
Sets the request body.
Body data to set.
Sets the request headers.
Headers to set.
Sets the request method.
HTTP method to set.
Sets the request parameters.
Parameters to set.
Class to build and execute HTTP requests with AWS signing
Example