@aws-amplify/storage 6.0.1-console-preview.5a31ca1.0 → 6.0.1-console-preview.8d88eef.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/lib/providers/s3/utils/client/abortMultipartUpload.d.ts +4 -4
- package/lib/providers/s3/utils/client/completeMultipartUpload.d.ts +4 -4
- package/lib/providers/s3/utils/client/copyObject.d.ts +4 -4
- package/lib/providers/s3/utils/client/createMultipartUpload.d.ts +4 -4
- package/lib/providers/s3/utils/client/deleteObject.d.ts +4 -4
- package/lib/providers/s3/utils/client/getObject.d.ts +4 -4
- package/lib/providers/s3/utils/client/headObject.d.ts +4 -4
- package/lib/providers/s3/utils/client/listObjectsV2.d.ts +4 -4
- package/lib/providers/s3/utils/client/listParts.d.ts +4 -4
- package/lib/providers/s3/utils/client/putObject.d.ts +4 -4
- package/lib/providers/s3/utils/client/runtime/xhrTransferHandler.js +2 -2
- package/lib/providers/s3/utils/client/uploadPart.d.ts +4 -4
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib-esm/providers/s3/utils/client/abortMultipartUpload.d.ts +4 -4
- package/lib-esm/providers/s3/utils/client/completeMultipartUpload.d.ts +4 -4
- package/lib-esm/providers/s3/utils/client/copyObject.d.ts +4 -4
- package/lib-esm/providers/s3/utils/client/createMultipartUpload.d.ts +4 -4
- package/lib-esm/providers/s3/utils/client/deleteObject.d.ts +4 -4
- package/lib-esm/providers/s3/utils/client/getObject.d.ts +4 -4
- package/lib-esm/providers/s3/utils/client/headObject.d.ts +4 -4
- package/lib-esm/providers/s3/utils/client/listObjectsV2.d.ts +4 -4
- package/lib-esm/providers/s3/utils/client/listParts.d.ts +4 -4
- package/lib-esm/providers/s3/utils/client/putObject.d.ts +4 -4
- package/lib-esm/providers/s3/utils/client/runtime/xhrTransferHandler.js +2 -2
- package/lib-esm/providers/s3/utils/client/uploadPart.d.ts +4 -4
- package/lib-esm/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/src/providers/s3/utils/client/runtime/xhrTransferHandler.ts +2 -2
|
@@ -17,13 +17,13 @@ export declare const abortMultipartUpload: (config: {
|
|
|
17
17
|
useAccelerateEndpoint?: boolean | undefined;
|
|
18
18
|
uriEscapePath?: boolean | undefined;
|
|
19
19
|
} & {
|
|
20
|
-
maxAttempts?: number | undefined;
|
|
21
|
-
abortSignal?: AbortSignal | undefined;
|
|
22
|
-
credentials: import("@aws-sdk/types").AwsCredentialIdentity | (() => Promise<import("@aws-sdk/types").AwsCredentialIdentity>);
|
|
23
|
-
region: string;
|
|
24
20
|
onDownloadProgress?: ((event: import("../../../..").TransferProgressEvent) => void) | undefined;
|
|
25
21
|
onUploadProgress?: ((event: import("../../../..").TransferProgressEvent) => void) | undefined;
|
|
22
|
+
abortSignal?: AbortSignal | undefined;
|
|
26
23
|
userAgentHeader?: string | undefined;
|
|
24
|
+
maxAttempts?: number | undefined;
|
|
25
|
+
credentials: import("@aws-sdk/types").AwsCredentialIdentity | (() => Promise<import("@aws-sdk/types").AwsCredentialIdentity>);
|
|
26
|
+
region: string;
|
|
27
27
|
customEndpoint?: string | undefined;
|
|
28
28
|
forcePathStyle?: boolean | undefined;
|
|
29
29
|
}, input: AbortMultipartUploadInput) => Promise<MetadataBearer>;
|
|
@@ -16,13 +16,13 @@ export declare const completeMultipartUpload: (config: {
|
|
|
16
16
|
useAccelerateEndpoint?: boolean | undefined;
|
|
17
17
|
uriEscapePath?: boolean | undefined;
|
|
18
18
|
} & {
|
|
19
|
-
maxAttempts?: number | undefined;
|
|
20
|
-
abortSignal?: AbortSignal | undefined;
|
|
21
|
-
credentials: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
22
|
-
region: string;
|
|
23
19
|
onDownloadProgress?: ((event: import("../../../..").TransferProgressEvent) => void) | undefined;
|
|
24
20
|
onUploadProgress?: ((event: import("../../../..").TransferProgressEvent) => void) | undefined;
|
|
21
|
+
abortSignal?: AbortSignal | undefined;
|
|
25
22
|
userAgentHeader?: string | undefined;
|
|
23
|
+
maxAttempts?: number | undefined;
|
|
24
|
+
credentials: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
25
|
+
region: string;
|
|
26
26
|
customEndpoint?: string | undefined;
|
|
27
27
|
forcePathStyle?: boolean | undefined;
|
|
28
28
|
}, input: CompleteMultipartUploadInput) => Promise<CompleteMultipartUploadOutput>;
|
|
@@ -16,13 +16,13 @@ export declare const copyObject: (config: {
|
|
|
16
16
|
useAccelerateEndpoint?: boolean | undefined;
|
|
17
17
|
uriEscapePath?: boolean | undefined;
|
|
18
18
|
} & {
|
|
19
|
-
maxAttempts?: number | undefined;
|
|
20
|
-
abortSignal?: AbortSignal | undefined;
|
|
21
|
-
credentials: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
22
|
-
region: string;
|
|
23
19
|
onDownloadProgress?: ((event: import("../../../..").TransferProgressEvent) => void) | undefined;
|
|
24
20
|
onUploadProgress?: ((event: import("../../../..").TransferProgressEvent) => void) | undefined;
|
|
21
|
+
abortSignal?: AbortSignal | undefined;
|
|
25
22
|
userAgentHeader?: string | undefined;
|
|
23
|
+
maxAttempts?: number | undefined;
|
|
24
|
+
credentials: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
25
|
+
region: string;
|
|
26
26
|
customEndpoint?: string | undefined;
|
|
27
27
|
forcePathStyle?: boolean | undefined;
|
|
28
28
|
}, input: CopyObjectInput) => Promise<CopyObjectCommandOutput>;
|
|
@@ -17,13 +17,13 @@ export declare const createMultipartUpload: (config: {
|
|
|
17
17
|
useAccelerateEndpoint?: boolean | undefined;
|
|
18
18
|
uriEscapePath?: boolean | undefined;
|
|
19
19
|
} & {
|
|
20
|
-
maxAttempts?: number | undefined;
|
|
21
|
-
abortSignal?: AbortSignal | undefined;
|
|
22
|
-
credentials: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
23
|
-
region: string;
|
|
24
20
|
onDownloadProgress?: ((event: import("../../../..").TransferProgressEvent) => void) | undefined;
|
|
25
21
|
onUploadProgress?: ((event: import("../../../..").TransferProgressEvent) => void) | undefined;
|
|
22
|
+
abortSignal?: AbortSignal | undefined;
|
|
26
23
|
userAgentHeader?: string | undefined;
|
|
24
|
+
maxAttempts?: number | undefined;
|
|
25
|
+
credentials: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
26
|
+
region: string;
|
|
27
27
|
customEndpoint?: string | undefined;
|
|
28
28
|
forcePathStyle?: boolean | undefined;
|
|
29
29
|
}, input: CreateMultipartUploadCommandInput) => Promise<CreateMultipartUploadOutput>;
|
|
@@ -16,13 +16,13 @@ export declare const deleteObject: (config: {
|
|
|
16
16
|
useAccelerateEndpoint?: boolean | undefined;
|
|
17
17
|
uriEscapePath?: boolean | undefined;
|
|
18
18
|
} & {
|
|
19
|
-
maxAttempts?: number | undefined;
|
|
20
|
-
abortSignal?: AbortSignal | undefined;
|
|
21
|
-
credentials: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
22
|
-
region: string;
|
|
23
19
|
onDownloadProgress?: ((event: import("../../../..").TransferProgressEvent) => void) | undefined;
|
|
24
20
|
onUploadProgress?: ((event: import("../../../..").TransferProgressEvent) => void) | undefined;
|
|
21
|
+
abortSignal?: AbortSignal | undefined;
|
|
25
22
|
userAgentHeader?: string | undefined;
|
|
23
|
+
maxAttempts?: number | undefined;
|
|
24
|
+
credentials: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
25
|
+
region: string;
|
|
26
26
|
customEndpoint?: string | undefined;
|
|
27
27
|
forcePathStyle?: boolean | undefined;
|
|
28
28
|
}, input: DeleteObjectInput) => Promise<DeleteObjectCommandOutput>;
|
|
@@ -17,13 +17,13 @@ export declare const getObject: (config: {
|
|
|
17
17
|
useAccelerateEndpoint?: boolean | undefined;
|
|
18
18
|
uriEscapePath?: boolean | undefined;
|
|
19
19
|
} & {
|
|
20
|
-
maxAttempts?: number | undefined;
|
|
21
|
-
abortSignal?: AbortSignal | undefined;
|
|
22
|
-
credentials: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
23
|
-
region: string;
|
|
24
20
|
onDownloadProgress?: ((event: import("../../../..").TransferProgressEvent) => void) | undefined;
|
|
25
21
|
onUploadProgress?: ((event: import("../../../..").TransferProgressEvent) => void) | undefined;
|
|
22
|
+
abortSignal?: AbortSignal | undefined;
|
|
26
23
|
userAgentHeader?: string | undefined;
|
|
24
|
+
maxAttempts?: number | undefined;
|
|
25
|
+
credentials: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
26
|
+
region: string;
|
|
27
27
|
customEndpoint?: string | undefined;
|
|
28
28
|
forcePathStyle?: boolean | undefined;
|
|
29
29
|
}, input: GetObjectInput) => Promise<GetObjectCommandOutput>;
|
|
@@ -16,13 +16,13 @@ export declare const headObject: (config: {
|
|
|
16
16
|
useAccelerateEndpoint?: boolean | undefined;
|
|
17
17
|
uriEscapePath?: boolean | undefined;
|
|
18
18
|
} & {
|
|
19
|
-
maxAttempts?: number | undefined;
|
|
20
|
-
abortSignal?: AbortSignal | undefined;
|
|
21
|
-
credentials: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
22
|
-
region: string;
|
|
23
19
|
onDownloadProgress?: ((event: import("../../../..").TransferProgressEvent) => void) | undefined;
|
|
24
20
|
onUploadProgress?: ((event: import("../../../..").TransferProgressEvent) => void) | undefined;
|
|
21
|
+
abortSignal?: AbortSignal | undefined;
|
|
25
22
|
userAgentHeader?: string | undefined;
|
|
23
|
+
maxAttempts?: number | undefined;
|
|
24
|
+
credentials: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
25
|
+
region: string;
|
|
26
26
|
customEndpoint?: string | undefined;
|
|
27
27
|
forcePathStyle?: boolean | undefined;
|
|
28
28
|
}, input: HeadObjectInput) => Promise<HeadObjectOutput>;
|
|
@@ -16,13 +16,13 @@ export declare const listObjectsV2: (config: {
|
|
|
16
16
|
useAccelerateEndpoint?: boolean | undefined;
|
|
17
17
|
uriEscapePath?: boolean | undefined;
|
|
18
18
|
} & {
|
|
19
|
-
maxAttempts?: number | undefined;
|
|
20
|
-
abortSignal?: AbortSignal | undefined;
|
|
21
|
-
credentials: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
22
|
-
region: string;
|
|
23
19
|
onDownloadProgress?: ((event: import("../../../..").TransferProgressEvent) => void) | undefined;
|
|
24
20
|
onUploadProgress?: ((event: import("../../../..").TransferProgressEvent) => void) | undefined;
|
|
21
|
+
abortSignal?: AbortSignal | undefined;
|
|
25
22
|
userAgentHeader?: string | undefined;
|
|
23
|
+
maxAttempts?: number | undefined;
|
|
24
|
+
credentials: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
25
|
+
region: string;
|
|
26
26
|
customEndpoint?: string | undefined;
|
|
27
27
|
forcePathStyle?: boolean | undefined;
|
|
28
28
|
}, input: ListObjectsV2CommandInput) => Promise<ListObjectsV2CommandOutput>;
|
|
@@ -16,13 +16,13 @@ export declare const listParts: (config: {
|
|
|
16
16
|
useAccelerateEndpoint?: boolean | undefined;
|
|
17
17
|
uriEscapePath?: boolean | undefined;
|
|
18
18
|
} & {
|
|
19
|
-
maxAttempts?: number | undefined;
|
|
20
|
-
abortSignal?: AbortSignal | undefined;
|
|
21
|
-
credentials: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
22
|
-
region: string;
|
|
23
19
|
onDownloadProgress?: ((event: import("../../../..").TransferProgressEvent) => void) | undefined;
|
|
24
20
|
onUploadProgress?: ((event: import("../../../..").TransferProgressEvent) => void) | undefined;
|
|
21
|
+
abortSignal?: AbortSignal | undefined;
|
|
25
22
|
userAgentHeader?: string | undefined;
|
|
23
|
+
maxAttempts?: number | undefined;
|
|
24
|
+
credentials: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
25
|
+
region: string;
|
|
26
26
|
customEndpoint?: string | undefined;
|
|
27
27
|
forcePathStyle?: boolean | undefined;
|
|
28
28
|
}, input: ListPartsInput) => Promise<ListPartsOutput>;
|
|
@@ -16,13 +16,13 @@ export declare const putObject: (config: {
|
|
|
16
16
|
useAccelerateEndpoint?: boolean | undefined;
|
|
17
17
|
uriEscapePath?: boolean | undefined;
|
|
18
18
|
} & {
|
|
19
|
-
maxAttempts?: number | undefined;
|
|
20
|
-
abortSignal?: AbortSignal | undefined;
|
|
21
|
-
credentials: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
22
|
-
region: string;
|
|
23
19
|
onDownloadProgress?: ((event: import("../../../..").TransferProgressEvent) => void) | undefined;
|
|
24
20
|
onUploadProgress?: ((event: import("../../../..").TransferProgressEvent) => void) | undefined;
|
|
21
|
+
abortSignal?: AbortSignal | undefined;
|
|
25
22
|
userAgentHeader?: string | undefined;
|
|
23
|
+
maxAttempts?: number | undefined;
|
|
24
|
+
credentials: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
25
|
+
region: string;
|
|
26
26
|
customEndpoint?: string | undefined;
|
|
27
27
|
forcePathStyle?: boolean | undefined;
|
|
28
28
|
}, input: PutObjectInput) => Promise<PutObjectOutput>;
|
|
@@ -5,10 +5,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.xhrTransferHandler = void 0;
|
|
6
6
|
var tslib_1 = require("tslib");
|
|
7
7
|
var aws_client_utils_1 = require("@aws-amplify/core/internals/aws-client-utils");
|
|
8
|
-
var
|
|
8
|
+
var core_1 = require("@aws-amplify/core");
|
|
9
9
|
var constants_1 = require("./constants");
|
|
10
10
|
var CanceledError_1 = require("../../../../../errors/CanceledError");
|
|
11
|
-
var logger = new
|
|
11
|
+
var logger = new core_1.ConsoleLogger('xhr-http-handler');
|
|
12
12
|
/**
|
|
13
13
|
* Base transfer handler implementation using XMLHttpRequest to support upload and download progress events.
|
|
14
14
|
*
|
|
@@ -16,13 +16,13 @@ export declare const uploadPart: (config: {
|
|
|
16
16
|
useAccelerateEndpoint?: boolean | undefined;
|
|
17
17
|
uriEscapePath?: boolean | undefined;
|
|
18
18
|
} & {
|
|
19
|
-
maxAttempts?: number | undefined;
|
|
20
|
-
abortSignal?: AbortSignal | undefined;
|
|
21
|
-
credentials: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
22
|
-
region: string;
|
|
23
19
|
onDownloadProgress?: ((event: import("../../../..").TransferProgressEvent) => void) | undefined;
|
|
24
20
|
onUploadProgress?: ((event: import("../../../..").TransferProgressEvent) => void) | undefined;
|
|
21
|
+
abortSignal?: AbortSignal | undefined;
|
|
25
22
|
userAgentHeader?: string | undefined;
|
|
23
|
+
maxAttempts?: number | undefined;
|
|
24
|
+
credentials: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
25
|
+
region: string;
|
|
26
26
|
customEndpoint?: string | undefined;
|
|
27
27
|
forcePathStyle?: boolean | undefined;
|
|
28
28
|
}, input: UploadPartInput) => Promise<UploadPartOutput>;
|