@aws-sdk/util-waiter
Advanced tools
Comparing version 3.168.0 to 3.170.0
@@ -6,2 +6,10 @@ # Change Log | ||
# [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13) | ||
**Note:** Version bump only for package @aws-sdk/util-waiter | ||
# [3.168.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.167.0...v3.168.0) (2022-09-09) | ||
@@ -8,0 +16,0 @@ |
import { WaiterOptions, WaiterResult } from "./waiter"; | ||
export declare const createWaiter: <Client, Input>(options: WaiterOptions<Client>, input: Input, acceptorChecks: (client: Client, input: Input) => Promise<WaiterResult>) => Promise<WaiterResult>; | ||
export declare const createWaiter: <Client, Input>( | ||
options: WaiterOptions<Client>, | ||
input: Input, | ||
acceptorChecks: (client: Client, input: Input) => Promise<WaiterResult> | ||
) => Promise<WaiterResult>; |
export * from "./createWaiter"; | ||
export * from "./waiter"; |
import { WaiterOptions, WaiterResult } from "./waiter"; | ||
export declare const runPolling: <Client, Input>({ minDelay, maxDelay, maxWaitTime, abortController, client, abortSignal }: WaiterOptions<Client>, input: Input, acceptorChecks: (client: Client, input: Input) => Promise<WaiterResult>) => Promise<WaiterResult>; | ||
export declare const runPolling: <Client, Input>( | ||
{ | ||
minDelay, | ||
maxDelay, | ||
maxWaitTime, | ||
abortController, | ||
client, | ||
abortSignal, | ||
}: WaiterOptions<Client>, | ||
input: Input, | ||
acceptorChecks: (client: Client, input: Input) => Promise<WaiterResult> | ||
) => Promise<WaiterResult>; |
export * from "./sleep"; | ||
export * from "./validate"; |
export declare const sleep: (seconds: number) => Promise<unknown>; |
import { WaiterOptions } from "../waiter"; | ||
export declare const validateWaiterOptions: <Client>(options: WaiterOptions<Client>) => void; | ||
export declare const validateWaiterOptions: <Client>( | ||
options: WaiterOptions<Client> | ||
) => void; |
import { WaiterConfiguration as WaiterConfiguration__ } from "@aws-sdk/types"; | ||
export interface WaiterConfiguration<T> extends WaiterConfiguration__<T> { | ||
} | ||
export interface WaiterConfiguration<T> extends WaiterConfiguration__<T> {} | ||
export declare const waiterServiceDefaults: { | ||
minDelay: number; | ||
maxDelay: number; | ||
minDelay: number; | ||
maxDelay: number; | ||
}; | ||
export declare type WaiterOptions<Client> = WaiterConfiguration<Client> & Required<Pick<WaiterConfiguration<Client>, "minDelay" | "maxDelay">>; | ||
export declare type WaiterOptions<Client> = WaiterConfiguration<Client> & | ||
Required<Pick<WaiterConfiguration<Client>, "minDelay" | "maxDelay">>; | ||
export declare enum WaiterState { | ||
ABORTED = "ABORTED", | ||
FAILURE = "FAILURE", | ||
SUCCESS = "SUCCESS", | ||
RETRY = "RETRY", | ||
TIMEOUT = "TIMEOUT" | ||
ABORTED = "ABORTED", | ||
FAILURE = "FAILURE", | ||
SUCCESS = "SUCCESS", | ||
RETRY = "RETRY", | ||
TIMEOUT = "TIMEOUT", | ||
} | ||
export declare type WaiterResult = { | ||
state: WaiterState; | ||
reason?: any; | ||
state: WaiterState; | ||
reason?: any; | ||
}; | ||
export declare const checkExceptions: (result: WaiterResult) => WaiterResult; |
{ | ||
"name": "@aws-sdk/util-waiter", | ||
"version": "3.168.0", | ||
"version": "3.170.0", | ||
"description": "Shared utilities for client waiters for the AWS SDK", | ||
"dependencies": { | ||
"@aws-sdk/abort-controller": "3.168.0", | ||
"@aws-sdk/types": "3.168.0", | ||
"@aws-sdk/abort-controller": "3.170.0", | ||
"@aws-sdk/types": "3.170.0", | ||
"tslib": "^2.3.1" | ||
@@ -50,3 +50,3 @@ }, | ||
"concurrently": "7.0.0", | ||
"downlevel-dts": "0.7.0", | ||
"downlevel-dts": "0.10.1", | ||
"rimraf": "3.0.2", | ||
@@ -53,0 +53,0 @@ "typedoc": "0.19.2", |
40070
385
+ Added@aws-sdk/abort-controller@3.170.0(transitive)
+ Added@aws-sdk/types@3.170.0(transitive)
- Removed@aws-sdk/abort-controller@3.168.0(transitive)
- Removed@aws-sdk/types@3.168.0(transitive)
Updated@aws-sdk/types@3.170.0