1
0
Fork 0
mirror of synced 2024-09-19 10:48:30 +12:00
budibase/apps/account-portal/packages/server/node_modules/aws-sdk/lib/event_listeners.d.ts
2023-10-17 10:59:46 +02:00

35 lines
No EOL
1.5 KiB
TypeScript

/**
* The namespace used to register global event listeners for request building and sending.
*/
export namespace EventListeners {
/**
* The namespace used to register global event listeners for request building and sending.
*/
export namespace Core {
/**
* Removes an event listener from all requests.
*/
export function removeListener(eventName: string, eventListener: Function): void;
/**
* A request listener that reads data from the HTTP connection in order to build the response data. Handles the 'httpData' Request event.
* Remove this handler if you are overriding the 'httpData' event and do not want extra data processing and buffering overhead.
*/
export function HTTP_DATA(): void;
/**
* A request listener that initiates the HTTP connection for a request being sent. Handles the 'send' Request event.
*/
export function SEND(): void;
/**
* A request listener that validates whether the request is being sent with credentials. Handles the 'validate' Request event
*/
export function VALIDATE_CREDENTIALS(): void;
/**
* A request listener that validates input parameters in a request. Handles the 'validate' Request event.
*/
export function VALIDATE_PARAMETERS(): void;
/**
* A request listener that validates whether the region is set for a request. Handles the 'validate' Request event.
*/
export function VALIDATE_REGION():void;
}
}