mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 12:49:06 +00:00
Send to zulip
This commit is contained in:
39
aws/lambda-nodejs18.x/UpdateZulipStreams/node_modules/aws-sdk/lib/response.d.ts
generated
vendored
Normal file
39
aws/lambda-nodejs18.x/UpdateZulipStreams/node_modules/aws-sdk/lib/response.d.ts
generated
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
import {HttpResponse} from './http_response';
|
||||
import {Request} from './request';
|
||||
export class Response<D, E> {
|
||||
/**
|
||||
* Whether more pages of data can be returned by further requests.
|
||||
*/
|
||||
hasNextPage(): boolean;
|
||||
/**
|
||||
* Creates a new request for the next page of response data, calling the callback with the page data if a callback is provided.
|
||||
*/
|
||||
nextPage(): Request<D, E> | null;
|
||||
nextPage(callback: (err: E, data: D) => void): void;
|
||||
/**
|
||||
* The de-serialized response data from the service.
|
||||
* Can be null if an error occurred.
|
||||
*/
|
||||
data: D|void
|
||||
/**
|
||||
* A structure containing information about a service or networking error.
|
||||
*/
|
||||
error: E|void
|
||||
/**
|
||||
* Returns the unique request ID associated with the response.
|
||||
* Log this value when debugging requests for AWS support.
|
||||
*/
|
||||
requestId: string
|
||||
/**
|
||||
* The number of redirects that were followed before the request was completed.
|
||||
*/
|
||||
redirectCount: number
|
||||
/**
|
||||
* The number of retries that were attempted before the request was completed.
|
||||
*/
|
||||
retryCount: number
|
||||
/**
|
||||
* The raw HTTP response object containing the response headers and body information from the server.
|
||||
*/
|
||||
httpResponse: HttpResponse;
|
||||
}
|
||||
Reference in New Issue
Block a user