GET from the User API base with a Cognito Bearer token.
POST to the User API base with no authentication (e.g. token/refresh). Overridden by subclasses that need signing.
Optionaldata: unknownPOST to the User API base with a Cognito Bearer token
(CognitoAuthorizer / cognito_user_pools).
PUT to the User API base with a Cognito Bearer token.
Static_constructInternalFriend-access hook used only by initializeAPIManager in this module.
Static_constructInternalFriend-access hook used only by initializeSigV4APIManager in this module. TypeScript allows a same-class static method to reach the private constructor; free functions cannot. Not part of the public API surface.
StaticgetReturns the singleton constructed by SDK bootstrap.
StaticgetPresigned wss://…/mqtt?… URL for AWS IoT Core MQTT over WebSocket (SigV4 query signing,
service iotdevicegateway). Uses the same signing primitives as ESPSigV4APIManager._signedRequest.
Temporary AWS credentials (e.g. from ESPRMNeoUser.getTemporaryAWSCredentials).
Raw config.iotEndpoint, a full wss://…/mqtt URL, or hostname only.
AWS region for signing (e.g. "us-east-1"). Required; passed explicitly so this helper stays pure and doesn't reach back to global SDK config.
Optionaloptions: { expiresSeconds?: number }Optional URL expiry (default 86400s).
Base API manager: plain HTTP calls with no signing. Use for unauthenticated endpoints (e.g. token/refresh) and endpoints that carry a Cognito bearer token in the
Authorizationheader. ESPSigV4APIManager extends this and adds SigV4 for authenticated calls.