@aws-sdk/client-s3 3.1036.0 → 3.1038.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +4 -4
- package/dist-es/waiters/waitForBucketExists.js +2 -2
- package/dist-es/waiters/waitForBucketNotExists.js +2 -2
- package/dist-es/waiters/waitForObjectExists.js +2 -2
- package/dist-es/waiters/waitForObjectNotExists.js +2 -2
- package/dist-types/S3.d.ts +5 -4
- package/dist-types/ts3.4/S3.d.ts +5 -4
- package/dist-types/ts3.4/waiters/waitForBucketExists.d.ts +7 -3
- package/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts +8 -3
- package/dist-types/ts3.4/waiters/waitForObjectExists.d.ts +7 -3
- package/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts +8 -3
- package/dist-types/waiters/waitForBucketExists.d.ts +4 -3
- package/dist-types/waiters/waitForBucketNotExists.d.ts +5 -3
- package/dist-types/waiters/waitForObjectExists.d.ts +4 -3
- package/dist-types/waiters/waitForObjectNotExists.d.ts +5 -3
- package/package.json +12 -12
package/dist-cjs/index.js
CHANGED
|
@@ -2217,7 +2217,7 @@ const checkState$3 = async (client, input) => {
|
|
|
2217
2217
|
}
|
|
2218
2218
|
catch (exception) {
|
|
2219
2219
|
reason = exception;
|
|
2220
|
-
if (exception.name
|
|
2220
|
+
if (exception.name === "NotFound") {
|
|
2221
2221
|
return { state: utilWaiter.WaiterState.RETRY, reason };
|
|
2222
2222
|
}
|
|
2223
2223
|
}
|
|
@@ -2241,7 +2241,7 @@ const checkState$2 = async (client, input) => {
|
|
|
2241
2241
|
}
|
|
2242
2242
|
catch (exception) {
|
|
2243
2243
|
reason = exception;
|
|
2244
|
-
if (exception.name
|
|
2244
|
+
if (exception.name === "NotFound") {
|
|
2245
2245
|
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
2246
2246
|
}
|
|
2247
2247
|
}
|
|
@@ -2266,7 +2266,7 @@ const checkState$1 = async (client, input) => {
|
|
|
2266
2266
|
}
|
|
2267
2267
|
catch (exception) {
|
|
2268
2268
|
reason = exception;
|
|
2269
|
-
if (exception.name
|
|
2269
|
+
if (exception.name === "NotFound") {
|
|
2270
2270
|
return { state: utilWaiter.WaiterState.RETRY, reason };
|
|
2271
2271
|
}
|
|
2272
2272
|
}
|
|
@@ -2290,7 +2290,7 @@ const checkState = async (client, input) => {
|
|
|
2290
2290
|
}
|
|
2291
2291
|
catch (exception) {
|
|
2292
2292
|
reason = exception;
|
|
2293
|
-
if (exception.name
|
|
2293
|
+
if (exception.name === "NotFound") {
|
|
2294
2294
|
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
2295
2295
|
}
|
|
2296
2296
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
|
-
import { HeadBucketCommand } from "../commands/HeadBucketCommand";
|
|
2
|
+
import { HeadBucketCommand, } from "../commands/HeadBucketCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
@@ -9,7 +9,7 @@ const checkState = async (client, input) => {
|
|
|
9
9
|
}
|
|
10
10
|
catch (exception) {
|
|
11
11
|
reason = exception;
|
|
12
|
-
if (exception.name
|
|
12
|
+
if (exception.name === "NotFound") {
|
|
13
13
|
return { state: WaiterState.RETRY, reason };
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
|
-
import { HeadBucketCommand } from "../commands/HeadBucketCommand";
|
|
2
|
+
import { HeadBucketCommand, } from "../commands/HeadBucketCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
@@ -8,7 +8,7 @@ const checkState = async (client, input) => {
|
|
|
8
8
|
}
|
|
9
9
|
catch (exception) {
|
|
10
10
|
reason = exception;
|
|
11
|
-
if (exception.name
|
|
11
|
+
if (exception.name === "NotFound") {
|
|
12
12
|
return { state: WaiterState.SUCCESS, reason };
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
|
-
import { HeadObjectCommand } from "../commands/HeadObjectCommand";
|
|
2
|
+
import { HeadObjectCommand, } from "../commands/HeadObjectCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
@@ -9,7 +9,7 @@ const checkState = async (client, input) => {
|
|
|
9
9
|
}
|
|
10
10
|
catch (exception) {
|
|
11
11
|
reason = exception;
|
|
12
|
-
if (exception.name
|
|
12
|
+
if (exception.name === "NotFound") {
|
|
13
13
|
return { state: WaiterState.RETRY, reason };
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
|
-
import { HeadObjectCommand } from "../commands/HeadObjectCommand";
|
|
2
|
+
import { HeadObjectCommand, } from "../commands/HeadObjectCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
@@ -8,7 +8,7 @@ const checkState = async (client, input) => {
|
|
|
8
8
|
}
|
|
9
9
|
catch (exception) {
|
|
10
10
|
reason = exception;
|
|
11
|
-
if (exception.name
|
|
11
|
+
if (exception.name === "NotFound") {
|
|
12
12
|
return { state: WaiterState.SUCCESS, reason };
|
|
13
13
|
}
|
|
14
14
|
}
|
package/dist-types/S3.d.ts
CHANGED
|
@@ -107,6 +107,7 @@ import { type UpdateObjectEncryptionCommandInput, type UpdateObjectEncryptionCom
|
|
|
107
107
|
import { type UploadPartCommandInput, type UploadPartCommandOutput } from "./commands/UploadPartCommand";
|
|
108
108
|
import { type UploadPartCopyCommandInput, type UploadPartCopyCommandOutput } from "./commands/UploadPartCopyCommand";
|
|
109
109
|
import { type WriteGetObjectResponseCommandInput, type WriteGetObjectResponseCommandOutput } from "./commands/WriteGetObjectResponseCommand";
|
|
110
|
+
import type { NotFound } from "./models/errors";
|
|
110
111
|
import { S3Client } from "./S3Client";
|
|
111
112
|
export interface S3 {
|
|
112
113
|
/**
|
|
@@ -786,25 +787,25 @@ export interface S3 {
|
|
|
786
787
|
* @param args - command input.
|
|
787
788
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
788
789
|
*/
|
|
789
|
-
waitUntilBucketExists(args: HeadBucketCommandInput, waiterConfig: number | Omit<WaiterConfiguration<S3>, "client">): Promise<WaiterResult
|
|
790
|
+
waitUntilBucketExists(args: HeadBucketCommandInput, waiterConfig: number | Omit<WaiterConfiguration<S3>, "client">): Promise<WaiterResult<HeadBucketCommandOutput>>;
|
|
790
791
|
/**
|
|
791
792
|
* @see {@link HeadBucketCommand}
|
|
792
793
|
* @param args - command input.
|
|
793
794
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
794
795
|
*/
|
|
795
|
-
waitUntilBucketNotExists(args: HeadBucketCommandInput, waiterConfig: number | Omit<WaiterConfiguration<S3>, "client">): Promise<WaiterResult
|
|
796
|
+
waitUntilBucketNotExists(args: HeadBucketCommandInput, waiterConfig: number | Omit<WaiterConfiguration<S3>, "client">): Promise<WaiterResult<NotFound>>;
|
|
796
797
|
/**
|
|
797
798
|
* @see {@link HeadObjectCommand}
|
|
798
799
|
* @param args - command input.
|
|
799
800
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
800
801
|
*/
|
|
801
|
-
waitUntilObjectExists(args: HeadObjectCommandInput, waiterConfig: number | Omit<WaiterConfiguration<S3>, "client">): Promise<WaiterResult
|
|
802
|
+
waitUntilObjectExists(args: HeadObjectCommandInput, waiterConfig: number | Omit<WaiterConfiguration<S3>, "client">): Promise<WaiterResult<HeadObjectCommandOutput>>;
|
|
802
803
|
/**
|
|
803
804
|
* @see {@link HeadObjectCommand}
|
|
804
805
|
* @param args - command input.
|
|
805
806
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
806
807
|
*/
|
|
807
|
-
waitUntilObjectNotExists(args: HeadObjectCommandInput, waiterConfig: number | Omit<WaiterConfiguration<S3>, "client">): Promise<WaiterResult
|
|
808
|
+
waitUntilObjectNotExists(args: HeadObjectCommandInput, waiterConfig: number | Omit<WaiterConfiguration<S3>, "client">): Promise<WaiterResult<NotFound>>;
|
|
808
809
|
}
|
|
809
810
|
/**
|
|
810
811
|
* <p></p>
|
package/dist-types/ts3.4/S3.d.ts
CHANGED
|
@@ -433,6 +433,7 @@ import {
|
|
|
433
433
|
WriteGetObjectResponseCommandInput,
|
|
434
434
|
WriteGetObjectResponseCommandOutput,
|
|
435
435
|
} from "./commands/WriteGetObjectResponseCommand";
|
|
436
|
+
import { NotFound } from "./models/errors";
|
|
436
437
|
import { S3Client } from "./S3Client";
|
|
437
438
|
export interface S3 {
|
|
438
439
|
abortMultipartUpload(
|
|
@@ -1966,7 +1967,7 @@ export interface S3 {
|
|
|
1966
1967
|
WaiterConfiguration<S3>,
|
|
1967
1968
|
Exclude<keyof WaiterConfiguration<S3>, "client">
|
|
1968
1969
|
>
|
|
1969
|
-
): Promise<WaiterResult
|
|
1970
|
+
): Promise<WaiterResult<HeadBucketCommandOutput>>;
|
|
1970
1971
|
waitUntilBucketNotExists(
|
|
1971
1972
|
args: HeadBucketCommandInput,
|
|
1972
1973
|
waiterConfig:
|
|
@@ -1975,7 +1976,7 @@ export interface S3 {
|
|
|
1975
1976
|
WaiterConfiguration<S3>,
|
|
1976
1977
|
Exclude<keyof WaiterConfiguration<S3>, "client">
|
|
1977
1978
|
>
|
|
1978
|
-
): Promise<WaiterResult
|
|
1979
|
+
): Promise<WaiterResult<NotFound>>;
|
|
1979
1980
|
waitUntilObjectExists(
|
|
1980
1981
|
args: HeadObjectCommandInput,
|
|
1981
1982
|
waiterConfig:
|
|
@@ -1984,7 +1985,7 @@ export interface S3 {
|
|
|
1984
1985
|
WaiterConfiguration<S3>,
|
|
1985
1986
|
Exclude<keyof WaiterConfiguration<S3>, "client">
|
|
1986
1987
|
>
|
|
1987
|
-
): Promise<WaiterResult
|
|
1988
|
+
): Promise<WaiterResult<HeadObjectCommandOutput>>;
|
|
1988
1989
|
waitUntilObjectNotExists(
|
|
1989
1990
|
args: HeadObjectCommandInput,
|
|
1990
1991
|
waiterConfig:
|
|
@@ -1993,6 +1994,6 @@ export interface S3 {
|
|
|
1993
1994
|
WaiterConfiguration<S3>,
|
|
1994
1995
|
Exclude<keyof WaiterConfiguration<S3>, "client">
|
|
1995
1996
|
>
|
|
1996
|
-
): Promise<WaiterResult
|
|
1997
|
+
): Promise<WaiterResult<NotFound>>;
|
|
1997
1998
|
}
|
|
1998
1999
|
export declare class S3 extends S3Client implements S3 {}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
HeadBucketCommandInput,
|
|
4
|
+
HeadBucketCommandOutput,
|
|
5
|
+
} from "../commands/HeadBucketCommand";
|
|
6
|
+
import { S3ServiceException } from "../models/S3ServiceException";
|
|
3
7
|
import { S3Client } from "../S3Client";
|
|
4
8
|
export declare const waitForBucketExists: (
|
|
5
9
|
params: WaiterConfiguration<S3Client>,
|
|
6
10
|
input: HeadBucketCommandInput
|
|
7
|
-
) => Promise<WaiterResult
|
|
11
|
+
) => Promise<WaiterResult<HeadBucketCommandOutput | S3ServiceException>>;
|
|
8
12
|
export declare const waitUntilBucketExists: (
|
|
9
13
|
params: WaiterConfiguration<S3Client>,
|
|
10
14
|
input: HeadBucketCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
15
|
+
) => Promise<WaiterResult<HeadBucketCommandOutput>>;
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
HeadBucketCommandInput,
|
|
4
|
+
HeadBucketCommandOutput,
|
|
5
|
+
} from "../commands/HeadBucketCommand";
|
|
6
|
+
import { NotFound } from "../models/errors";
|
|
7
|
+
import { S3ServiceException } from "../models/S3ServiceException";
|
|
3
8
|
import { S3Client } from "../S3Client";
|
|
4
9
|
export declare const waitForBucketNotExists: (
|
|
5
10
|
params: WaiterConfiguration<S3Client>,
|
|
6
11
|
input: HeadBucketCommandInput
|
|
7
|
-
) => Promise<WaiterResult
|
|
12
|
+
) => Promise<WaiterResult<HeadBucketCommandOutput | S3ServiceException>>;
|
|
8
13
|
export declare const waitUntilBucketNotExists: (
|
|
9
14
|
params: WaiterConfiguration<S3Client>,
|
|
10
15
|
input: HeadBucketCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
16
|
+
) => Promise<WaiterResult<NotFound>>;
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
HeadObjectCommandInput,
|
|
4
|
+
HeadObjectCommandOutput,
|
|
5
|
+
} from "../commands/HeadObjectCommand";
|
|
6
|
+
import { S3ServiceException } from "../models/S3ServiceException";
|
|
3
7
|
import { S3Client } from "../S3Client";
|
|
4
8
|
export declare const waitForObjectExists: (
|
|
5
9
|
params: WaiterConfiguration<S3Client>,
|
|
6
10
|
input: HeadObjectCommandInput
|
|
7
|
-
) => Promise<WaiterResult
|
|
11
|
+
) => Promise<WaiterResult<HeadObjectCommandOutput | S3ServiceException>>;
|
|
8
12
|
export declare const waitUntilObjectExists: (
|
|
9
13
|
params: WaiterConfiguration<S3Client>,
|
|
10
14
|
input: HeadObjectCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
15
|
+
) => Promise<WaiterResult<HeadObjectCommandOutput>>;
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
HeadObjectCommandInput,
|
|
4
|
+
HeadObjectCommandOutput,
|
|
5
|
+
} from "../commands/HeadObjectCommand";
|
|
6
|
+
import { NotFound } from "../models/errors";
|
|
7
|
+
import { S3ServiceException } from "../models/S3ServiceException";
|
|
3
8
|
import { S3Client } from "../S3Client";
|
|
4
9
|
export declare const waitForObjectNotExists: (
|
|
5
10
|
params: WaiterConfiguration<S3Client>,
|
|
6
11
|
input: HeadObjectCommandInput
|
|
7
|
-
) => Promise<WaiterResult
|
|
12
|
+
) => Promise<WaiterResult<HeadObjectCommandOutput | S3ServiceException>>;
|
|
8
13
|
export declare const waitUntilObjectNotExists: (
|
|
9
14
|
params: WaiterConfiguration<S3Client>,
|
|
10
15
|
input: HeadObjectCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
16
|
+
) => Promise<WaiterResult<NotFound>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type HeadBucketCommandInput } from "../commands/HeadBucketCommand";
|
|
2
|
+
import { type HeadBucketCommandInput, type HeadBucketCommandOutput } from "../commands/HeadBucketCommand";
|
|
3
|
+
import type { S3ServiceException } from "../models/S3ServiceException";
|
|
3
4
|
import type { S3Client } from "../S3Client";
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
6
7
|
* @deprecated Use waitUntilBucketExists instead. waitForBucketExists does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForBucketExists: (params: WaiterConfiguration<S3Client>, input: HeadBucketCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForBucketExists: (params: WaiterConfiguration<S3Client>, input: HeadBucketCommandInput) => Promise<WaiterResult<HeadBucketCommandOutput | S3ServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
*
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to HeadBucketCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilBucketExists: (params: WaiterConfiguration<S3Client>, input: HeadBucketCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilBucketExists: (params: WaiterConfiguration<S3Client>, input: HeadBucketCommandInput) => Promise<WaiterResult<HeadBucketCommandOutput>>;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type HeadBucketCommandInput } from "../commands/HeadBucketCommand";
|
|
2
|
+
import { type HeadBucketCommandInput, type HeadBucketCommandOutput } from "../commands/HeadBucketCommand";
|
|
3
|
+
import type { NotFound } from "../models/errors";
|
|
4
|
+
import type { S3ServiceException } from "../models/S3ServiceException";
|
|
3
5
|
import type { S3Client } from "../S3Client";
|
|
4
6
|
/**
|
|
5
7
|
*
|
|
6
8
|
* @deprecated Use waitUntilBucketNotExists instead. waitForBucketNotExists does not throw error in non-success cases.
|
|
7
9
|
*/
|
|
8
|
-
export declare const waitForBucketNotExists: (params: WaiterConfiguration<S3Client>, input: HeadBucketCommandInput) => Promise<WaiterResult
|
|
10
|
+
export declare const waitForBucketNotExists: (params: WaiterConfiguration<S3Client>, input: HeadBucketCommandInput) => Promise<WaiterResult<HeadBucketCommandOutput | S3ServiceException>>;
|
|
9
11
|
/**
|
|
10
12
|
*
|
|
11
13
|
* @param params - Waiter configuration options.
|
|
12
14
|
* @param input - The input to HeadBucketCommand for polling.
|
|
13
15
|
*/
|
|
14
|
-
export declare const waitUntilBucketNotExists: (params: WaiterConfiguration<S3Client>, input: HeadBucketCommandInput) => Promise<WaiterResult
|
|
16
|
+
export declare const waitUntilBucketNotExists: (params: WaiterConfiguration<S3Client>, input: HeadBucketCommandInput) => Promise<WaiterResult<NotFound>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type HeadObjectCommandInput } from "../commands/HeadObjectCommand";
|
|
2
|
+
import { type HeadObjectCommandInput, type HeadObjectCommandOutput } from "../commands/HeadObjectCommand";
|
|
3
|
+
import type { S3ServiceException } from "../models/S3ServiceException";
|
|
3
4
|
import type { S3Client } from "../S3Client";
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
6
7
|
* @deprecated Use waitUntilObjectExists instead. waitForObjectExists does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForObjectExists: (params: WaiterConfiguration<S3Client>, input: HeadObjectCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForObjectExists: (params: WaiterConfiguration<S3Client>, input: HeadObjectCommandInput) => Promise<WaiterResult<HeadObjectCommandOutput | S3ServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
*
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to HeadObjectCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilObjectExists: (params: WaiterConfiguration<S3Client>, input: HeadObjectCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilObjectExists: (params: WaiterConfiguration<S3Client>, input: HeadObjectCommandInput) => Promise<WaiterResult<HeadObjectCommandOutput>>;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type HeadObjectCommandInput } from "../commands/HeadObjectCommand";
|
|
2
|
+
import { type HeadObjectCommandInput, type HeadObjectCommandOutput } from "../commands/HeadObjectCommand";
|
|
3
|
+
import type { NotFound } from "../models/errors";
|
|
4
|
+
import type { S3ServiceException } from "../models/S3ServiceException";
|
|
3
5
|
import type { S3Client } from "../S3Client";
|
|
4
6
|
/**
|
|
5
7
|
*
|
|
6
8
|
* @deprecated Use waitUntilObjectNotExists instead. waitForObjectNotExists does not throw error in non-success cases.
|
|
7
9
|
*/
|
|
8
|
-
export declare const waitForObjectNotExists: (params: WaiterConfiguration<S3Client>, input: HeadObjectCommandInput) => Promise<WaiterResult
|
|
10
|
+
export declare const waitForObjectNotExists: (params: WaiterConfiguration<S3Client>, input: HeadObjectCommandInput) => Promise<WaiterResult<HeadObjectCommandOutput | S3ServiceException>>;
|
|
9
11
|
/**
|
|
10
12
|
*
|
|
11
13
|
* @param params - Waiter configuration options.
|
|
12
14
|
* @param input - The input to HeadObjectCommand for polling.
|
|
13
15
|
*/
|
|
14
|
-
export declare const waitUntilObjectNotExists: (params: WaiterConfiguration<S3Client>, input: HeadObjectCommandInput) => Promise<WaiterResult
|
|
16
|
+
export declare const waitUntilObjectNotExists: (params: WaiterConfiguration<S3Client>, input: HeadObjectCommandInput) => Promise<WaiterResult<NotFound>>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1038.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-s3",
|
|
@@ -30,24 +30,24 @@
|
|
|
30
30
|
"@aws-crypto/sha1-browser": "5.2.0",
|
|
31
31
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
32
32
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
33
|
-
"@aws-sdk/core": "^3.974.
|
|
34
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
33
|
+
"@aws-sdk/core": "^3.974.6",
|
|
34
|
+
"@aws-sdk/credential-provider-node": "^3.972.37",
|
|
35
35
|
"@aws-sdk/middleware-bucket-endpoint": "^3.972.10",
|
|
36
36
|
"@aws-sdk/middleware-expect-continue": "^3.972.10",
|
|
37
|
-
"@aws-sdk/middleware-flexible-checksums": "^3.974.
|
|
37
|
+
"@aws-sdk/middleware-flexible-checksums": "^3.974.14",
|
|
38
38
|
"@aws-sdk/middleware-host-header": "^3.972.10",
|
|
39
39
|
"@aws-sdk/middleware-location-constraint": "^3.972.10",
|
|
40
40
|
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
41
41
|
"@aws-sdk/middleware-recursion-detection": "^3.972.11",
|
|
42
|
-
"@aws-sdk/middleware-sdk-s3": "^3.972.
|
|
42
|
+
"@aws-sdk/middleware-sdk-s3": "^3.972.35",
|
|
43
43
|
"@aws-sdk/middleware-ssec": "^3.972.10",
|
|
44
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
44
|
+
"@aws-sdk/middleware-user-agent": "^3.972.36",
|
|
45
45
|
"@aws-sdk/region-config-resolver": "^3.972.13",
|
|
46
|
-
"@aws-sdk/signature-v4-multi-region": "^3.996.
|
|
46
|
+
"@aws-sdk/signature-v4-multi-region": "^3.996.23",
|
|
47
47
|
"@aws-sdk/types": "^3.973.8",
|
|
48
48
|
"@aws-sdk/util-endpoints": "^3.996.8",
|
|
49
49
|
"@aws-sdk/util-user-agent-browser": "^3.972.10",
|
|
50
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
50
|
+
"@aws-sdk/util-user-agent-node": "^3.973.22",
|
|
51
51
|
"@smithy/config-resolver": "^4.4.17",
|
|
52
52
|
"@smithy/core": "^3.23.17",
|
|
53
53
|
"@smithy/eventstream-serde-browser": "^4.2.14",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@smithy/md5-js": "^4.2.14",
|
|
62
62
|
"@smithy/middleware-content-length": "^4.2.14",
|
|
63
63
|
"@smithy/middleware-endpoint": "^4.4.32",
|
|
64
|
-
"@smithy/middleware-retry": "^4.5.
|
|
64
|
+
"@smithy/middleware-retry": "^4.5.6",
|
|
65
65
|
"@smithy/middleware-serde": "^4.2.20",
|
|
66
66
|
"@smithy/middleware-stack": "^4.2.14",
|
|
67
67
|
"@smithy/node-config-provider": "^4.3.14",
|
|
@@ -77,14 +77,14 @@
|
|
|
77
77
|
"@smithy/util-defaults-mode-node": "^4.2.54",
|
|
78
78
|
"@smithy/util-endpoints": "^3.4.2",
|
|
79
79
|
"@smithy/util-middleware": "^4.2.14",
|
|
80
|
-
"@smithy/util-retry": "^4.3.
|
|
80
|
+
"@smithy/util-retry": "^4.3.5",
|
|
81
81
|
"@smithy/util-stream": "^4.5.25",
|
|
82
82
|
"@smithy/util-utf8": "^4.2.2",
|
|
83
|
-
"@smithy/util-waiter": "^4.
|
|
83
|
+
"@smithy/util-waiter": "^4.3.0",
|
|
84
84
|
"tslib": "^2.6.2"
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
|
-
"@aws-sdk/signature-v4-crt": "3.
|
|
87
|
+
"@aws-sdk/signature-v4-crt": "3.1038.0",
|
|
88
88
|
"@smithy/snapshot-testing": "^2.0.8",
|
|
89
89
|
"@tsconfig/node20": "20.1.8",
|
|
90
90
|
"@types/node": "^20.14.8",
|