Skip to content

Commit

Permalink
# Updated typing
Browse files Browse the repository at this point in the history
Signed-off-by: Theo Truong <theotr@amazon.com>
  • Loading branch information
nhtruong committed Jun 12, 2024
1 parent 88d67ea commit caf9ded
Showing 1 changed file with 42 additions and 42 deletions.
84 changes: 42 additions & 42 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4623,98 +4623,98 @@ declare class Client {
): TransportRequestCallback;
rollups: {
delete<TResponse = Record<string, any>, TContext = Context>(
params?: RequestParams.Generic,
params?: Record<string, any>,
options?: TransportRequestOptions
): TransportRequestPromise<ApiResponse<TResponse, TContext>>;
delete<TResponse = Record<string, any>, TContext = Context>(
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
delete<TResponse = Record<string, any>, TContext = Context>(
params: RequestParams.Generic,
params: Record<string, any>,
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
delete<TResponse = Record<string, any>, TContext = Context>(
params: RequestParams.Generic,
params: Record<string, any>,
options: TransportRequestOptions,
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
get<TResponse = Record<string, any>, TContext = Context>(
params?: RequestParams.Generic,
params?: Record<string, any>,
options?: TransportRequestOptions
): TransportRequestPromise<ApiResponse<TResponse, TContext>>;
get<TResponse = Record<string, any>, TContext = Context>(
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
get<TResponse = Record<string, any>, TContext = Context>(
params: RequestParams.Generic,
params: Record<string, any>,
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
get<TResponse = Record<string, any>, TContext = Context>(
params: RequestParams.Generic,
params: Record<string, any>,
options: TransportRequestOptions,
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
put<TResponse = Record<string, any>, TContext = Context>(
params?: RequestParams.Generic,
params?: Record<string, any>,
options?: TransportRequestOptions
): TransportRequestPromise<ApiResponse<TResponse, TContext>>;
put<TResponse = Record<string, any>, TContext = Context>(
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
put<TResponse = Record<string, any>, TContext = Context>(
params: RequestParams.Generic,
params: Record<string, any>,
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
put<TResponse = Record<string, any>, TContext = Context>(
params: RequestParams.Generic,
params: Record<string, any>,
options: TransportRequestOptions,
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
explain<TResponse = Record<string, any>, TContext = Context>(
params?: RequestParams.Generic,
params?: Record<string, any>,
options?: TransportRequestOptions
): TransportRequestPromise<ApiResponse<TResponse, TContext>>;
explain<TResponse = Record<string, any>, TContext = Context>(
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
explain<TResponse = Record<string, any>, TContext = Context>(
params: RequestParams.Generic,
params: Record<string, any>,
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
explain<TResponse = Record<string, any>, TContext = Context>(
params: RequestParams.Generic,
params: Record<string, any>,
options: TransportRequestOptions,
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
start<TResponse = Record<string, any>, TContext = Context>(
params?: RequestParams.Generic,
params?: Record<string, any>,
options?: TransportRequestOptions
): TransportRequestPromise<ApiResponse<TResponse, TContext>>;
start<TResponse = Record<string, any>, TContext = Context>(
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
start<TResponse = Record<string, any>, TContext = Context>(
params: RequestParams.Generic,
params: Record<string, any>,
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
start<TResponse = Record<string, any>, TContext = Context>(
params: RequestParams.Generic,
params: Record<string, any>,
options: TransportRequestOptions,
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
stop<TResponse = Record<string, any>, TContext = Context>(
params?: RequestParams.Generic,
params?: Record<string, any>,
options?: TransportRequestOptions
): TransportRequestPromise<ApiResponse<TResponse, TContext>>;
stop<TResponse = Record<string, any>, TContext = Context>(
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
stop<TResponse = Record<string, any>, TContext = Context>(
params: RequestParams.Generic,
params: Record<string, any>,
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
stop<TResponse = Record<string, any>, TContext = Context>(
params: RequestParams.Generic,
params: Record<string, any>,
options: TransportRequestOptions,
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
Expand Down Expand Up @@ -5573,130 +5573,130 @@ declare class Client {
): TransportRequestCallback;
transforms: {
search<TResponse = Record<string, any>, TContext = Context>(
params?: RequestParams.Generic,
params?: Record<string, any>,
options?: TransportRequestOptions
): TransportRequestPromise<ApiResponse<TResponse, TContext>>;
search<TResponse = Record<string, any>, TContext = Context>(
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
search<TResponse = Record<string, any>, TContext = Context>(
params: RequestParams.Generic,
params: Record<string, any>,
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
search<TResponse = Record<string, any>, TContext = Context>(
params: RequestParams.Generic,
params: Record<string, any>,
options: TransportRequestOptions,
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
preview<TResponse = Record<string, any>, TContext = Context>(
params?: RequestParams.Generic,
params?: Record<string, any>,
options?: TransportRequestOptions
): TransportRequestPromise<ApiResponse<TResponse, TContext>>;
preview<TResponse = Record<string, any>, TContext = Context>(
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
preview<TResponse = Record<string, any>, TContext = Context>(
params: RequestParams.Generic,
params: Record<string, any>,
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
preview<TResponse = Record<string, any>, TContext = Context>(
params: RequestParams.Generic,
params: Record<string, any>,
options: TransportRequestOptions,
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
delete<TResponse = Record<string, any>, TContext = Context>(
params?: RequestParams.Generic,
params?: Record<string, any>,
options?: TransportRequestOptions
): TransportRequestPromise<ApiResponse<TResponse, TContext>>;
delete<TResponse = Record<string, any>, TContext = Context>(
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
delete<TResponse = Record<string, any>, TContext = Context>(
params: RequestParams.Generic,
params: Record<string, any>,
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
delete<TResponse = Record<string, any>, TContext = Context>(
params: RequestParams.Generic,
params: Record<string, any>,
options: TransportRequestOptions,
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
get<TResponse = Record<string, any>, TContext = Context>(
params?: RequestParams.Generic,
params?: Record<string, any>,
options?: TransportRequestOptions
): TransportRequestPromise<ApiResponse<TResponse, TContext>>;
get<TResponse = Record<string, any>, TContext = Context>(
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
get<TResponse = Record<string, any>, TContext = Context>(
params: RequestParams.Generic,
params: Record<string, any>,
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
get<TResponse = Record<string, any>, TContext = Context>(
params: RequestParams.Generic,
params: Record<string, any>,
options: TransportRequestOptions,
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
put<TResponse = Record<string, any>, TContext = Context>(
params?: RequestParams.Generic,
params?: Record<string, any>,
options?: TransportRequestOptions
): TransportRequestPromise<ApiResponse<TResponse, TContext>>;
put<TResponse = Record<string, any>, TContext = Context>(
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
put<TResponse = Record<string, any>, TContext = Context>(
params: RequestParams.Generic,
params: Record<string, any>,
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
put<TResponse = Record<string, any>, TContext = Context>(
params: RequestParams.Generic,
params: Record<string, any>,
options: TransportRequestOptions,
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
explain<TResponse = Record<string, any>, TContext = Context>(
params?: RequestParams.Generic,
params?: Record<string, any>,
options?: TransportRequestOptions
): TransportRequestPromise<ApiResponse<TResponse, TContext>>;
explain<TResponse = Record<string, any>, TContext = Context>(
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
explain<TResponse = Record<string, any>, TContext = Context>(
params: RequestParams.Generic,
params: Record<string, any>,
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
explain<TResponse = Record<string, any>, TContext = Context>(
params: RequestParams.Generic,
params: Record<string, any>,
options: TransportRequestOptions,
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
start<TResponse = Record<string, any>, TContext = Context>(
params?: RequestParams.Generic,
params?: Record<string, any>,
options?: TransportRequestOptions
): TransportRequestPromise<ApiResponse<TResponse, TContext>>;
start<TResponse = Record<string, any>, TContext = Context>(
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
start<TResponse = Record<string, any>, TContext = Context>(
params: RequestParams.Generic,
params: Record<string, any>,
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
start<TResponse = Record<string, any>, TContext = Context>(
params: RequestParams.Generic,
params: Record<string, any>,
options: TransportRequestOptions,
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
stop<TResponse = Record<string, any>, TContext = Context>(
params?: RequestParams.Generic,
params?: Record<string, any>,
options?: TransportRequestOptions
): TransportRequestPromise<ApiResponse<TResponse, TContext>>;
stop<TResponse = Record<string, any>, TContext = Context>(
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
stop<TResponse = Record<string, any>, TContext = Context>(
params: RequestParams.Generic,
params: Record<string, any>,
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
stop<TResponse = Record<string, any>, TContext = Context>(
params: RequestParams.Generic,
params: Record<string, any>,
options: TransportRequestOptions,
callback: callbackFn<TResponse, TContext>
): TransportRequestCallback;
Expand Down

0 comments on commit caf9ded

Please sign in to comment.