UNPKG

@aws-sdk/client-s3

Version:

AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native

15 lines (14 loc) 715 B
import { WaiterConfiguration, WaiterResult } from "@aws-sdk/util-waiter"; import { HeadObjectCommandInput } from "../commands/HeadObjectCommand"; import { S3Client } from "../S3Client"; /** * * @deprecated Use waitUntilObjectExists instead. waitForObjectExists does not throw error in non-success cases. */ export declare const waitForObjectExists: (params: WaiterConfiguration<S3Client>, input: HeadObjectCommandInput) => Promise<WaiterResult>; /** * * @param params - Waiter configuration options. * @param input - The input to HeadObjectCommand for polling. */ export declare const waitUntilObjectExists: (params: WaiterConfiguration<S3Client>, input: HeadObjectCommandInput) => Promise<WaiterResult>;