@aws-amplify/storage 5.9.21 → 5.9.23
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/AwsClients/S3/abortMultipartUpload.d.ts +2 -3
- package/lib/AwsClients/S3/abortMultipartUpload.js +2 -2
- package/lib/AwsClients/S3/completeMultipartUpload.d.ts +2 -3
- package/lib/AwsClients/S3/completeMultipartUpload.js +2 -2
- package/lib/AwsClients/S3/copyObject.d.ts +2 -3
- package/lib/AwsClients/S3/copyObject.js +2 -2
- package/lib/AwsClients/S3/createMultipartUpload.d.ts +2 -3
- package/lib/AwsClients/S3/createMultipartUpload.js +2 -2
- package/lib/AwsClients/S3/deleteObject.d.ts +2 -3
- package/lib/AwsClients/S3/deleteObject.js +2 -2
- package/lib/AwsClients/S3/getObject.d.ts +2 -3
- package/lib/AwsClients/S3/getObject.js +2 -2
- package/lib/AwsClients/S3/headObject.d.ts +2 -3
- package/lib/AwsClients/S3/headObject.js +2 -2
- package/lib/AwsClients/S3/listObjectsV2.d.ts +2 -3
- package/lib/AwsClients/S3/listObjectsV2.js +2 -2
- package/lib/AwsClients/S3/listParts.d.ts +2 -3
- package/lib/AwsClients/S3/listParts.js +2 -2
- package/lib/AwsClients/S3/putObject.d.ts +2 -3
- package/lib/AwsClients/S3/putObject.js +2 -2
- package/lib/AwsClients/S3/runtime/base64/index.browser.js +2 -3
- package/lib/AwsClients/S3/runtime/base64/index.native.js +2 -3
- package/lib/AwsClients/S3/runtime/contentSha256middleware.js +2 -2
- package/lib/AwsClients/S3/runtime/xhrTransferHandler.d.ts +0 -1
- package/lib/AwsClients/S3/types.d.ts +0 -1
- package/lib/AwsClients/S3/uploadPart.d.ts +2 -3
- package/lib/AwsClients/S3/uploadPart.js +2 -2
- package/lib/AwsClients/S3/utils/deserializeHelpers.d.ts +2 -2
- package/lib/AwsClients/S3/utils/parsePayload.js +2 -2
- package/lib/AwsClients/S3/utils/serializeHelpers.js +2 -2
- package/lib/common/MD5utils.js +2 -2
- package/lib/common/MD5utils.native.js +2 -2
- package/lib/common/S3ClientUtils.d.ts +0 -1
- package/lib/common/S3ClientUtils.js +2 -2
- package/lib/common/StorageErrorStrings.js +3 -3
- package/lib/index.js +1 -0
- package/lib/providers/AWSS3Provider.js +36 -28
- package/lib/providers/AWSS3ProviderManagedUpload.d.ts +0 -1
- package/lib/providers/AWSS3ProviderManagedUpload.js +2 -2
- package/lib/providers/AWSS3UploadTask.d.ts +0 -1
- package/lib/providers/AWSS3UploadTask.js +14 -14
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib-esm/AwsClients/S3/abortMultipartUpload.d.ts +2 -3
- package/lib-esm/AwsClients/S3/abortMultipartUpload.js +2 -2
- package/lib-esm/AwsClients/S3/completeMultipartUpload.d.ts +2 -3
- package/lib-esm/AwsClients/S3/completeMultipartUpload.js +2 -2
- package/lib-esm/AwsClients/S3/copyObject.d.ts +2 -3
- package/lib-esm/AwsClients/S3/copyObject.js +2 -2
- package/lib-esm/AwsClients/S3/createMultipartUpload.d.ts +2 -3
- package/lib-esm/AwsClients/S3/createMultipartUpload.js +2 -2
- package/lib-esm/AwsClients/S3/deleteObject.d.ts +2 -3
- package/lib-esm/AwsClients/S3/deleteObject.js +2 -2
- package/lib-esm/AwsClients/S3/getObject.d.ts +2 -3
- package/lib-esm/AwsClients/S3/getObject.js +2 -2
- package/lib-esm/AwsClients/S3/headObject.d.ts +2 -3
- package/lib-esm/AwsClients/S3/headObject.js +2 -2
- package/lib-esm/AwsClients/S3/listObjectsV2.d.ts +2 -3
- package/lib-esm/AwsClients/S3/listObjectsV2.js +2 -2
- package/lib-esm/AwsClients/S3/listParts.d.ts +2 -3
- package/lib-esm/AwsClients/S3/listParts.js +2 -2
- package/lib-esm/AwsClients/S3/putObject.d.ts +2 -3
- package/lib-esm/AwsClients/S3/putObject.js +2 -2
- package/lib-esm/AwsClients/S3/runtime/contentSha256middleware.js +2 -2
- package/lib-esm/AwsClients/S3/runtime/xhrTransferHandler.d.ts +0 -1
- package/lib-esm/AwsClients/S3/types.d.ts +0 -1
- package/lib-esm/AwsClients/S3/uploadPart.d.ts +2 -3
- package/lib-esm/AwsClients/S3/uploadPart.js +2 -2
- package/lib-esm/AwsClients/S3/utils/deserializeHelpers.d.ts +2 -2
- package/lib-esm/AwsClients/S3/utils/parsePayload.js +2 -2
- package/lib-esm/AwsClients/S3/utils/serializeHelpers.js +2 -2
- package/lib-esm/common/MD5utils.js +2 -2
- package/lib-esm/common/MD5utils.native.js +2 -2
- package/lib-esm/common/S3ClientUtils.d.ts +0 -1
- package/lib-esm/common/S3ClientUtils.js +2 -2
- package/lib-esm/index.js +1 -0
- package/lib-esm/providers/AWSS3Provider.js +19 -21
- package/lib-esm/providers/AWSS3ProviderManagedUpload.d.ts +0 -1
- package/lib-esm/providers/AWSS3ProviderManagedUpload.js +2 -2
- package/lib-esm/providers/AWSS3UploadTask.d.ts +0 -1
- package/lib-esm/providers/AWSS3UploadTask.js +12 -12
- package/lib-esm/tsconfig.tsbuildinfo +1 -1
- package/package.json +24 -14
- package/src/index.ts +2 -0
- package/src/providers/AWSS3Provider.ts +1 -1
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { Endpoint, HttpResponse } from '@aws-amplify/core/internals/aws-client-utils';
|
|
3
2
|
import { MetadataBearer } from '@aws-sdk/types';
|
|
4
3
|
import type { AbortMultipartUploadCommandInput } from './types';
|
|
5
4
|
export type AbortMultipartUploadInput = Pick<AbortMultipartUploadCommandInput, 'Bucket' | 'Key' | 'UploadId'>;
|
|
6
5
|
export type AbortMultipartUploadOutput = MetadataBearer;
|
|
7
6
|
export declare const abortMultipartUpload: (config: Omit<import("@aws-amplify/core/internals/aws-client-utils").UserAgentOptions & import("@aws-amplify/core/internals/aws-client-utils").RetryOptions<HttpResponse> & import("@aws-amplify/core/internals/aws-client-utils").SigningOptions & import("./runtime/xhrTransferHandler").XhrTransferHandlerOptions & import("@aws-amplify/core/internals/aws-client-utils").ServiceClientOptions & Partial<import("@aws-amplify/core/internals/aws-client-utils").UserAgentOptions & import("@aws-amplify/core/internals/aws-client-utils").RetryOptions<HttpResponse> & import("@aws-amplify/core/internals/aws-client-utils").SigningOptions & import("./runtime/xhrTransferHandler").XhrTransferHandlerOptions & import("@aws-amplify/core/internals/aws-client-utils").ServiceClientOptions>, "emitter" | "responseType" | "abortSignal" | "computeDelay" | "region" | "endpointResolver" | "userAgentHeader" | "userAgentValue" | "retryDecider" | "maxAttempts" | "credentials" | "service" | "uriEscapePath"> & {
|
|
8
|
-
emitter?: import("events")
|
|
7
|
+
emitter?: import("events")<[never]>;
|
|
9
8
|
responseType?: "text" | "blob";
|
|
10
9
|
abortSignal?: AbortSignal;
|
|
11
10
|
computeDelay?: (attempt: number) => number;
|
|
@@ -15,7 +14,7 @@ export declare const abortMultipartUpload: (config: Omit<import("@aws-amplify/co
|
|
|
15
14
|
userAgentValue?: string;
|
|
16
15
|
retryDecider?: (response?: HttpResponse, error?: unknown) => Promise<boolean>;
|
|
17
16
|
maxAttempts?: number;
|
|
18
|
-
credentials?: import("@aws-
|
|
17
|
+
credentials?: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
19
18
|
service?: string;
|
|
20
19
|
uriEscapePath?: boolean;
|
|
21
20
|
}, input: AbortMultipartUploadInput) => Promise<MetadataBearer>;
|
|
@@ -21,8 +21,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
24
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
25
|
-
return g =
|
|
24
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
25
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
26
26
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
27
27
|
function step(op) {
|
|
28
28
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { Endpoint, HttpResponse } from '@aws-amplify/core/internals/aws-client-utils';
|
|
3
2
|
import type { CompleteMultipartUploadCommandInput, CompleteMultipartUploadCommandOutput } from './types';
|
|
4
3
|
export type CompleteMultipartUploadInput = Pick<CompleteMultipartUploadCommandInput, 'Bucket' | 'Key' | 'UploadId' | 'MultipartUpload' | 'SSECustomerAlgorithm' | 'SSECustomerKey' | 'SSECustomerKeyMD5'>;
|
|
5
4
|
export type CompleteMultipartUploadOutput = Pick<CompleteMultipartUploadCommandOutput, '$metadata' | 'Key' | 'ETag' | 'Location'>;
|
|
6
5
|
export declare const completeMultipartUpload: (config: Omit<import("@aws-amplify/core/internals/aws-client-utils").UserAgentOptions & import("@aws-amplify/core/internals/aws-client-utils").RetryOptions<HttpResponse> & import("@aws-amplify/core/internals/aws-client-utils").SigningOptions & import("./runtime/xhrTransferHandler").XhrTransferHandlerOptions & import("@aws-amplify/core/internals/aws-client-utils").ServiceClientOptions & Partial<import("@aws-amplify/core/internals/aws-client-utils").UserAgentOptions & import("@aws-amplify/core/internals/aws-client-utils").RetryOptions<HttpResponse> & import("@aws-amplify/core/internals/aws-client-utils").SigningOptions & import("./runtime/xhrTransferHandler").XhrTransferHandlerOptions & import("@aws-amplify/core/internals/aws-client-utils").ServiceClientOptions>, "emitter" | "responseType" | "abortSignal" | "computeDelay" | "region" | "endpointResolver" | "userAgentHeader" | "userAgentValue" | "retryDecider" | "maxAttempts" | "credentials" | "service" | "uriEscapePath"> & {
|
|
7
|
-
emitter?: import("events")
|
|
6
|
+
emitter?: import("events")<[never]>;
|
|
8
7
|
responseType?: "text" | "blob";
|
|
9
8
|
abortSignal?: AbortSignal;
|
|
10
9
|
computeDelay?: (attempt: number) => number;
|
|
@@ -14,7 +13,7 @@ export declare const completeMultipartUpload: (config: Omit<import("@aws-amplify
|
|
|
14
13
|
userAgentValue?: string;
|
|
15
14
|
retryDecider?: (response?: HttpResponse, error?: unknown) => Promise<boolean>;
|
|
16
15
|
maxAttempts?: number;
|
|
17
|
-
credentials?: import("@aws-
|
|
16
|
+
credentials?: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
18
17
|
service?: string;
|
|
19
18
|
uriEscapePath?: boolean;
|
|
20
19
|
}, input: CompleteMultipartUploadInput) => Promise<CompleteMultipartUploadOutput>;
|
|
@@ -21,8 +21,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
24
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
25
|
-
return g =
|
|
24
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
25
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
26
26
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
27
27
|
function step(op) {
|
|
28
28
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { Endpoint, HttpResponse } from '@aws-amplify/core/internals/aws-client-utils';
|
|
3
2
|
import { MetadataBearer } from '@aws-sdk/types';
|
|
4
3
|
import type { CopyObjectCommandInput } from './types';
|
|
@@ -8,7 +7,7 @@ import type { CopyObjectCommandInput } from './types';
|
|
|
8
7
|
export type CopyObjectInput = Pick<CopyObjectCommandInput, 'Bucket' | 'CopySource' | 'Key' | 'MetadataDirective' | 'CacheControl' | 'ContentType' | 'ContentDisposition' | 'ContentLanguage' | 'Expires' | 'ACL' | 'ServerSideEncryption' | 'SSECustomerAlgorithm' | 'SSECustomerKey' | 'SSECustomerKeyMD5' | 'SSEKMSKeyId' | 'Tagging' | 'Metadata'>;
|
|
9
8
|
export type CopyObjectOutput = MetadataBearer;
|
|
10
9
|
export declare const copyObject: (config: Omit<import("@aws-amplify/core/internals/aws-client-utils").UserAgentOptions & import("@aws-amplify/core/internals/aws-client-utils").RetryOptions<HttpResponse> & import("@aws-amplify/core/internals/aws-client-utils").SigningOptions & import("./runtime/xhrTransferHandler").XhrTransferHandlerOptions & import("@aws-amplify/core/internals/aws-client-utils").ServiceClientOptions & Partial<import("@aws-amplify/core/internals/aws-client-utils").UserAgentOptions & import("@aws-amplify/core/internals/aws-client-utils").RetryOptions<HttpResponse> & import("@aws-amplify/core/internals/aws-client-utils").SigningOptions & import("./runtime/xhrTransferHandler").XhrTransferHandlerOptions & import("@aws-amplify/core/internals/aws-client-utils").ServiceClientOptions>, "emitter" | "responseType" | "abortSignal" | "computeDelay" | "region" | "endpointResolver" | "userAgentHeader" | "userAgentValue" | "retryDecider" | "maxAttempts" | "credentials" | "service" | "uriEscapePath"> & {
|
|
11
|
-
emitter?: import("events")
|
|
10
|
+
emitter?: import("events")<[never]>;
|
|
12
11
|
responseType?: "text" | "blob";
|
|
13
12
|
abortSignal?: AbortSignal;
|
|
14
13
|
computeDelay?: (attempt: number) => number;
|
|
@@ -18,7 +17,7 @@ export declare const copyObject: (config: Omit<import("@aws-amplify/core/interna
|
|
|
18
17
|
userAgentValue?: string;
|
|
19
18
|
retryDecider?: (response?: HttpResponse, error?: unknown) => Promise<boolean>;
|
|
20
19
|
maxAttempts?: number;
|
|
21
|
-
credentials?: import("@aws-
|
|
20
|
+
credentials?: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
22
21
|
service?: string;
|
|
23
22
|
uriEscapePath?: boolean;
|
|
24
23
|
}, input: CopyObjectInput) => Promise<MetadataBearer>;
|
|
@@ -21,8 +21,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
24
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
25
|
-
return g =
|
|
24
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
25
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
26
26
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
27
27
|
function step(op) {
|
|
28
28
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { Endpoint, HttpResponse } from '@aws-amplify/core/internals/aws-client-utils';
|
|
3
2
|
import type { CreateMultipartUploadCommandInput, CreateMultipartUploadCommandOutput } from './types';
|
|
4
3
|
import type { PutObjectInput } from './putObject';
|
|
5
4
|
export type CreateMultipartUploadInput = Extract<CreateMultipartUploadCommandInput, PutObjectInput>;
|
|
6
5
|
export type CreateMultipartUploadOutput = Pick<CreateMultipartUploadCommandOutput, 'UploadId' | '$metadata'>;
|
|
7
6
|
export declare const createMultipartUpload: (config: Omit<import("@aws-amplify/core/internals/aws-client-utils").UserAgentOptions & import("@aws-amplify/core/internals/aws-client-utils").RetryOptions<HttpResponse> & import("@aws-amplify/core/internals/aws-client-utils").SigningOptions & import("./runtime/xhrTransferHandler").XhrTransferHandlerOptions & import("@aws-amplify/core/internals/aws-client-utils").ServiceClientOptions & Partial<import("@aws-amplify/core/internals/aws-client-utils").UserAgentOptions & import("@aws-amplify/core/internals/aws-client-utils").RetryOptions<HttpResponse> & import("@aws-amplify/core/internals/aws-client-utils").SigningOptions & import("./runtime/xhrTransferHandler").XhrTransferHandlerOptions & import("@aws-amplify/core/internals/aws-client-utils").ServiceClientOptions>, "emitter" | "responseType" | "abortSignal" | "computeDelay" | "region" | "endpointResolver" | "userAgentHeader" | "userAgentValue" | "retryDecider" | "maxAttempts" | "credentials" | "service" | "uriEscapePath"> & {
|
|
8
|
-
emitter?: import("events")
|
|
7
|
+
emitter?: import("events")<[never]>;
|
|
9
8
|
responseType?: "text" | "blob";
|
|
10
9
|
abortSignal?: AbortSignal;
|
|
11
10
|
computeDelay?: (attempt: number) => number;
|
|
@@ -15,7 +14,7 @@ export declare const createMultipartUpload: (config: Omit<import("@aws-amplify/c
|
|
|
15
14
|
userAgentValue?: string;
|
|
16
15
|
retryDecider?: (response?: HttpResponse, error?: unknown) => Promise<boolean>;
|
|
17
16
|
maxAttempts?: number;
|
|
18
|
-
credentials?: import("@aws-
|
|
17
|
+
credentials?: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
19
18
|
service?: string;
|
|
20
19
|
uriEscapePath?: boolean;
|
|
21
20
|
}, input: CreateMultipartUploadCommandInput) => Promise<CreateMultipartUploadOutput>;
|
|
@@ -21,8 +21,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
24
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
25
|
-
return g =
|
|
24
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
25
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
26
26
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
27
27
|
function step(op) {
|
|
28
28
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { Endpoint, HttpResponse } from '@aws-amplify/core/internals/aws-client-utils';
|
|
3
2
|
import type { DeleteObjectCommandInput, DeleteObjectCommandOutput } from './types';
|
|
4
3
|
export type DeleteObjectInput = Pick<DeleteObjectCommandInput, 'Bucket' | 'Key'>;
|
|
5
4
|
export type DeleteObjectOutput = DeleteObjectCommandOutput;
|
|
6
5
|
export declare const deleteObject: (config: Omit<import("@aws-amplify/core/internals/aws-client-utils").UserAgentOptions & import("@aws-amplify/core/internals/aws-client-utils").RetryOptions<HttpResponse> & import("@aws-amplify/core/internals/aws-client-utils").SigningOptions & import("./runtime/xhrTransferHandler").XhrTransferHandlerOptions & import("@aws-amplify/core/internals/aws-client-utils").ServiceClientOptions & Partial<import("@aws-amplify/core/internals/aws-client-utils").UserAgentOptions & import("@aws-amplify/core/internals/aws-client-utils").RetryOptions<HttpResponse> & import("@aws-amplify/core/internals/aws-client-utils").SigningOptions & import("./runtime/xhrTransferHandler").XhrTransferHandlerOptions & import("@aws-amplify/core/internals/aws-client-utils").ServiceClientOptions>, "emitter" | "responseType" | "abortSignal" | "computeDelay" | "region" | "endpointResolver" | "userAgentHeader" | "userAgentValue" | "retryDecider" | "maxAttempts" | "credentials" | "service" | "uriEscapePath"> & {
|
|
7
|
-
emitter?: import("events")
|
|
6
|
+
emitter?: import("events")<[never]>;
|
|
8
7
|
responseType?: "text" | "blob";
|
|
9
8
|
abortSignal?: AbortSignal;
|
|
10
9
|
computeDelay?: (attempt: number) => number;
|
|
@@ -14,7 +13,7 @@ export declare const deleteObject: (config: Omit<import("@aws-amplify/core/inter
|
|
|
14
13
|
userAgentValue?: string;
|
|
15
14
|
retryDecider?: (response?: HttpResponse, error?: unknown) => Promise<boolean>;
|
|
16
15
|
maxAttempts?: number;
|
|
17
|
-
credentials?: import("@aws-
|
|
16
|
+
credentials?: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
18
17
|
service?: string;
|
|
19
18
|
uriEscapePath?: boolean;
|
|
20
19
|
}, input: DeleteObjectInput) => Promise<DeleteObjectCommandOutput>;
|
|
@@ -21,8 +21,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
24
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
25
|
-
return g =
|
|
24
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
25
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
26
26
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
27
27
|
function step(op) {
|
|
28
28
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { Endpoint, UserAgentOptions, PresignUrlOptions } from '@aws-amplify/core/internals/aws-client-utils';
|
|
3
2
|
import { S3EndpointResolverOptions } from './base';
|
|
4
3
|
import type { GetObjectCommandInput, GetObjectCommandOutput } from './types';
|
|
5
4
|
export type GetObjectInput = Pick<GetObjectCommandInput, 'Bucket' | 'Key' | 'ResponseCacheControl' | 'ResponseContentDisposition' | 'ResponseContentEncoding' | 'ResponseContentLanguage' | 'ResponseContentType' | 'SSECustomerAlgorithm' | 'SSECustomerKey' | 'SSECustomerKeyMD5'>;
|
|
6
5
|
export type GetObjectOutput = GetObjectCommandOutput;
|
|
7
6
|
export declare const getObject: (config: Omit<UserAgentOptions & import("@aws-amplify/core/internals/aws-client-utils").RetryOptions<import("@aws-amplify/core/internals/aws-client-utils").HttpResponse> & import("@aws-amplify/core/internals/aws-client-utils").SigningOptions & import("./runtime/xhrTransferHandler").XhrTransferHandlerOptions & import("@aws-amplify/core/internals/aws-client-utils").ServiceClientOptions & Partial<UserAgentOptions & import("@aws-amplify/core/internals/aws-client-utils").RetryOptions<import("@aws-amplify/core/internals/aws-client-utils").HttpResponse> & import("@aws-amplify/core/internals/aws-client-utils").SigningOptions & import("./runtime/xhrTransferHandler").XhrTransferHandlerOptions & import("@aws-amplify/core/internals/aws-client-utils").ServiceClientOptions>, "emitter" | "responseType" | "abortSignal" | "computeDelay" | "region" | "endpointResolver" | "userAgentHeader" | "userAgentValue" | "retryDecider" | "maxAttempts" | "credentials" | "service" | "uriEscapePath"> & {
|
|
8
|
-
emitter?: import("events")
|
|
7
|
+
emitter?: import("events")<[never]>;
|
|
9
8
|
responseType?: "text" | "blob";
|
|
10
9
|
abortSignal?: AbortSignal;
|
|
11
10
|
computeDelay?: (attempt: number) => number;
|
|
@@ -15,7 +14,7 @@ export declare const getObject: (config: Omit<UserAgentOptions & import("@aws-am
|
|
|
15
14
|
userAgentValue?: string;
|
|
16
15
|
retryDecider?: (response?: import("@aws-amplify/core/internals/aws-client-utils").HttpResponse, error?: unknown) => Promise<boolean>;
|
|
17
16
|
maxAttempts?: number;
|
|
18
|
-
credentials?: import("@aws-
|
|
17
|
+
credentials?: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
19
18
|
service?: string;
|
|
20
19
|
uriEscapePath?: boolean;
|
|
21
20
|
}, input: GetObjectInput) => Promise<GetObjectCommandOutput>;
|
|
@@ -21,8 +21,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
24
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
25
|
-
return g =
|
|
24
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
25
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
26
26
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
27
27
|
function step(op) {
|
|
28
28
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { Endpoint } from '@aws-amplify/core/internals/aws-client-utils';
|
|
3
2
|
import type { HeadObjectCommandInput, HeadObjectCommandOutput } from './types';
|
|
4
3
|
export type HeadObjectInput = Pick<HeadObjectCommandInput, 'Bucket' | 'Key' | 'SSECustomerKey' | 'SSECustomerKeyMD5' | 'SSECustomerAlgorithm'>;
|
|
5
4
|
export type HeadObjectOutput = Pick<HeadObjectCommandOutput, '$metadata' | 'ContentLength' | 'ContentType' | 'ETag' | 'LastModified' | 'Metadata' | 'VersionId'>;
|
|
6
5
|
export declare const headObject: (config: Omit<import("@aws-amplify/core/internals/aws-client-utils").UserAgentOptions & import("@aws-amplify/core/internals/aws-client-utils").RetryOptions<import("@aws-amplify/core/internals/aws-client-utils").HttpResponse> & import("@aws-amplify/core/internals/aws-client-utils").SigningOptions & import("./runtime/xhrTransferHandler").XhrTransferHandlerOptions & import("@aws-amplify/core/internals/aws-client-utils").ServiceClientOptions & Partial<import("@aws-amplify/core/internals/aws-client-utils").UserAgentOptions & import("@aws-amplify/core/internals/aws-client-utils").RetryOptions<import("@aws-amplify/core/internals/aws-client-utils").HttpResponse> & import("@aws-amplify/core/internals/aws-client-utils").SigningOptions & import("./runtime/xhrTransferHandler").XhrTransferHandlerOptions & import("@aws-amplify/core/internals/aws-client-utils").ServiceClientOptions>, "emitter" | "responseType" | "abortSignal" | "computeDelay" | "region" | "endpointResolver" | "userAgentHeader" | "userAgentValue" | "retryDecider" | "maxAttempts" | "credentials" | "service" | "uriEscapePath"> & {
|
|
7
|
-
emitter?: import("events")
|
|
6
|
+
emitter?: import("events")<[never]>;
|
|
8
7
|
responseType?: "text" | "blob";
|
|
9
8
|
abortSignal?: AbortSignal;
|
|
10
9
|
computeDelay?: (attempt: number) => number;
|
|
@@ -14,7 +13,7 @@ export declare const headObject: (config: Omit<import("@aws-amplify/core/interna
|
|
|
14
13
|
userAgentValue?: string;
|
|
15
14
|
retryDecider?: (response?: import("@aws-amplify/core/internals/aws-client-utils").HttpResponse, error?: unknown) => Promise<boolean>;
|
|
16
15
|
maxAttempts?: number;
|
|
17
|
-
credentials?: import("@aws-
|
|
16
|
+
credentials?: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
18
17
|
service?: string;
|
|
19
18
|
uriEscapePath?: boolean;
|
|
20
19
|
}, input: HeadObjectInput) => Promise<HeadObjectOutput>;
|
|
@@ -21,8 +21,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
24
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
25
|
-
return g =
|
|
24
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
25
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
26
26
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
27
27
|
function step(op) {
|
|
28
28
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { Endpoint, HttpResponse } from '@aws-amplify/core/internals/aws-client-utils';
|
|
3
2
|
import type { ListObjectsV2CommandInput, ListObjectsV2CommandOutput } from './types';
|
|
4
3
|
export type ListObjectsV2Input = ListObjectsV2CommandInput;
|
|
5
4
|
export type ListObjectsV2Output = ListObjectsV2CommandOutput;
|
|
6
5
|
export declare const listObjectsV2: (config: Omit<import("@aws-amplify/core/internals/aws-client-utils").UserAgentOptions & import("@aws-amplify/core/internals/aws-client-utils").RetryOptions<HttpResponse> & import("@aws-amplify/core/internals/aws-client-utils").SigningOptions & import("./runtime/xhrTransferHandler").XhrTransferHandlerOptions & import("@aws-amplify/core/internals/aws-client-utils").ServiceClientOptions & Partial<import("@aws-amplify/core/internals/aws-client-utils").UserAgentOptions & import("@aws-amplify/core/internals/aws-client-utils").RetryOptions<HttpResponse> & import("@aws-amplify/core/internals/aws-client-utils").SigningOptions & import("./runtime/xhrTransferHandler").XhrTransferHandlerOptions & import("@aws-amplify/core/internals/aws-client-utils").ServiceClientOptions>, "emitter" | "responseType" | "abortSignal" | "computeDelay" | "region" | "endpointResolver" | "userAgentHeader" | "userAgentValue" | "retryDecider" | "maxAttempts" | "credentials" | "service" | "uriEscapePath"> & {
|
|
7
|
-
emitter?: import("events")
|
|
6
|
+
emitter?: import("events")<[never]>;
|
|
8
7
|
responseType?: "text" | "blob";
|
|
9
8
|
abortSignal?: AbortSignal;
|
|
10
9
|
computeDelay?: (attempt: number) => number;
|
|
@@ -14,7 +13,7 @@ export declare const listObjectsV2: (config: Omit<import("@aws-amplify/core/inte
|
|
|
14
13
|
userAgentValue?: string;
|
|
15
14
|
retryDecider?: (response?: HttpResponse, error?: unknown) => Promise<boolean>;
|
|
16
15
|
maxAttempts?: number;
|
|
17
|
-
credentials?: import("@aws-
|
|
16
|
+
credentials?: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
18
17
|
service?: string;
|
|
19
18
|
uriEscapePath?: boolean;
|
|
20
19
|
}, input: ListObjectsV2CommandInput) => Promise<ListObjectsV2CommandOutput>;
|
|
@@ -21,8 +21,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
24
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
25
|
-
return g =
|
|
24
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
25
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
26
26
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
27
27
|
function step(op) {
|
|
28
28
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { Endpoint, HttpResponse } from '@aws-amplify/core/internals/aws-client-utils';
|
|
3
2
|
import type { ListPartsCommandInput, ListPartsCommandOutput } from './types';
|
|
4
3
|
export type ListPartsInput = Pick<ListPartsCommandInput, 'Bucket' | 'Key' | 'UploadId' | 'SSECustomerAlgorithm' | 'SSECustomerKey' | 'SSECustomerKeyMD5'>;
|
|
5
4
|
export type ListPartsOutput = Pick<ListPartsCommandOutput, 'Parts' | 'UploadId' | '$metadata'>;
|
|
6
5
|
export declare const listParts: (config: Omit<import("@aws-amplify/core/internals/aws-client-utils").UserAgentOptions & import("@aws-amplify/core/internals/aws-client-utils").RetryOptions<HttpResponse> & import("@aws-amplify/core/internals/aws-client-utils").SigningOptions & import("./runtime/xhrTransferHandler").XhrTransferHandlerOptions & import("@aws-amplify/core/internals/aws-client-utils").ServiceClientOptions & Partial<import("@aws-amplify/core/internals/aws-client-utils").UserAgentOptions & import("@aws-amplify/core/internals/aws-client-utils").RetryOptions<HttpResponse> & import("@aws-amplify/core/internals/aws-client-utils").SigningOptions & import("./runtime/xhrTransferHandler").XhrTransferHandlerOptions & import("@aws-amplify/core/internals/aws-client-utils").ServiceClientOptions>, "emitter" | "responseType" | "abortSignal" | "computeDelay" | "region" | "endpointResolver" | "userAgentHeader" | "userAgentValue" | "retryDecider" | "maxAttempts" | "credentials" | "service" | "uriEscapePath"> & {
|
|
7
|
-
emitter?: import("events")
|
|
6
|
+
emitter?: import("events")<[never]>;
|
|
8
7
|
responseType?: "text" | "blob";
|
|
9
8
|
abortSignal?: AbortSignal;
|
|
10
9
|
computeDelay?: (attempt: number) => number;
|
|
@@ -14,7 +13,7 @@ export declare const listParts: (config: Omit<import("@aws-amplify/core/internal
|
|
|
14
13
|
userAgentValue?: string;
|
|
15
14
|
retryDecider?: (response?: HttpResponse, error?: unknown) => Promise<boolean>;
|
|
16
15
|
maxAttempts?: number;
|
|
17
|
-
credentials?: import("@aws-
|
|
16
|
+
credentials?: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
18
17
|
service?: string;
|
|
19
18
|
uriEscapePath?: boolean;
|
|
20
19
|
}, input: ListPartsInput) => Promise<ListPartsOutput>;
|
|
@@ -21,8 +21,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
24
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
25
|
-
return g =
|
|
24
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
25
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
26
26
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
27
27
|
function step(op) {
|
|
28
28
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { Endpoint, HttpResponse } from '@aws-amplify/core/internals/aws-client-utils';
|
|
3
2
|
import type { PutObjectCommandInput, PutObjectCommandOutput } from './types';
|
|
4
3
|
/**
|
|
@@ -7,7 +6,7 @@ import type { PutObjectCommandInput, PutObjectCommandOutput } from './types';
|
|
|
7
6
|
export type PutObjectInput = Pick<PutObjectCommandInput, 'Bucket' | 'Key' | 'Body' | 'ServerSideEncryption' | 'SSECustomerAlgorithm' | 'SSECustomerKey' | 'SSECustomerKeyMD5' | 'SSEKMSKeyId' | 'ACL' | 'CacheControl' | 'ContentDisposition' | 'ContentEncoding' | 'ContentType' | 'ContentMD5' | 'Expires' | 'Metadata' | 'Tagging'>;
|
|
8
7
|
export type PutObjectOutput = Pick<PutObjectCommandOutput, '$metadata' | 'ETag' | 'VersionId'>;
|
|
9
8
|
export declare const putObject: (config: Omit<import("@aws-amplify/core/internals/aws-client-utils").UserAgentOptions & import("@aws-amplify/core/internals/aws-client-utils").RetryOptions<HttpResponse> & import("@aws-amplify/core/internals/aws-client-utils").SigningOptions & import("./runtime/xhrTransferHandler").XhrTransferHandlerOptions & import("@aws-amplify/core/internals/aws-client-utils").ServiceClientOptions & Partial<import("@aws-amplify/core/internals/aws-client-utils").UserAgentOptions & import("@aws-amplify/core/internals/aws-client-utils").RetryOptions<HttpResponse> & import("@aws-amplify/core/internals/aws-client-utils").SigningOptions & import("./runtime/xhrTransferHandler").XhrTransferHandlerOptions & import("@aws-amplify/core/internals/aws-client-utils").ServiceClientOptions>, "emitter" | "responseType" | "abortSignal" | "computeDelay" | "region" | "endpointResolver" | "userAgentHeader" | "userAgentValue" | "retryDecider" | "maxAttempts" | "credentials" | "service" | "uriEscapePath"> & {
|
|
10
|
-
emitter?: import("events")
|
|
9
|
+
emitter?: import("events")<[never]>;
|
|
11
10
|
responseType?: "text" | "blob";
|
|
12
11
|
abortSignal?: AbortSignal;
|
|
13
12
|
computeDelay?: (attempt: number) => number;
|
|
@@ -17,7 +16,7 @@ export declare const putObject: (config: Omit<import("@aws-amplify/core/internal
|
|
|
17
16
|
userAgentValue?: string;
|
|
18
17
|
retryDecider?: (response?: HttpResponse, error?: unknown) => Promise<boolean>;
|
|
19
18
|
maxAttempts?: number;
|
|
20
|
-
credentials?: import("@aws-
|
|
19
|
+
credentials?: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
21
20
|
service?: string;
|
|
22
21
|
uriEscapePath?: boolean;
|
|
23
22
|
}, input: PutObjectInput) => Promise<PutObjectOutput>;
|
|
@@ -21,8 +21,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
24
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
25
|
-
return g =
|
|
24
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
25
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
26
26
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
27
27
|
function step(op) {
|
|
28
28
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -10,8 +10,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
});
|
|
11
11
|
};
|
|
12
12
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
13
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
14
|
-
return g =
|
|
13
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
14
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
15
15
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
16
16
|
function step(op) {
|
|
17
17
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { Endpoint, HttpResponse } from '@aws-amplify/core/internals/aws-client-utils';
|
|
3
2
|
import type { UploadPartCommandInput, UploadPartCommandOutput } from './types';
|
|
4
3
|
export type UploadPartInput = Pick<UploadPartCommandInput, 'PartNumber' | 'Body' | 'UploadId' | 'Bucket' | 'Key' | 'ContentMD5' | 'SSECustomerAlgorithm' | 'SSECustomerKey' | 'SSECustomerKeyMD5'>;
|
|
5
4
|
export type UploadPartOutput = Pick<UploadPartCommandOutput, '$metadata' | 'ETag'>;
|
|
6
5
|
export declare const uploadPart: (config: Omit<import("@aws-amplify/core/internals/aws-client-utils").UserAgentOptions & import("@aws-amplify/core/internals/aws-client-utils").RetryOptions<HttpResponse> & import("@aws-amplify/core/internals/aws-client-utils").SigningOptions & import("./runtime/xhrTransferHandler").XhrTransferHandlerOptions & import("@aws-amplify/core/internals/aws-client-utils").ServiceClientOptions & Partial<import("@aws-amplify/core/internals/aws-client-utils").UserAgentOptions & import("@aws-amplify/core/internals/aws-client-utils").RetryOptions<HttpResponse> & import("@aws-amplify/core/internals/aws-client-utils").SigningOptions & import("./runtime/xhrTransferHandler").XhrTransferHandlerOptions & import("@aws-amplify/core/internals/aws-client-utils").ServiceClientOptions>, "emitter" | "responseType" | "abortSignal" | "computeDelay" | "region" | "endpointResolver" | "userAgentHeader" | "userAgentValue" | "retryDecider" | "maxAttempts" | "credentials" | "service" | "uriEscapePath"> & {
|
|
7
|
-
emitter?: import("events")
|
|
6
|
+
emitter?: import("events")<[never]>;
|
|
8
7
|
responseType?: "text" | "blob";
|
|
9
8
|
abortSignal?: AbortSignal;
|
|
10
9
|
computeDelay?: (attempt: number) => number;
|
|
@@ -14,7 +13,7 @@ export declare const uploadPart: (config: Omit<import("@aws-amplify/core/interna
|
|
|
14
13
|
userAgentValue?: string;
|
|
15
14
|
retryDecider?: (response?: HttpResponse, error?: unknown) => Promise<boolean>;
|
|
16
15
|
maxAttempts?: number;
|
|
17
|
-
credentials?: import("@aws-
|
|
16
|
+
credentials?: import("@aws-amplify/core/internals/aws-client-utils").Credentials | (() => Promise<import("@aws-amplify/core/internals/aws-client-utils").Credentials>);
|
|
18
17
|
service?: string;
|
|
19
18
|
uriEscapePath?: boolean;
|
|
20
19
|
}, input: UploadPartInput) => Promise<UploadPartOutput>;
|
|
@@ -21,8 +21,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
24
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
25
|
-
return g =
|
|
24
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
25
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
26
26
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
27
27
|
function step(op) {
|
|
28
28
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -37,7 +37,7 @@ type InferInstructionResultType<T extends Instruction<any>> = (T extends Propert
|
|
|
37
37
|
*/
|
|
38
38
|
export declare const map: <Instructions extends {
|
|
39
39
|
[key: string]: Instruction<any>;
|
|
40
|
-
}>(obj: Record<string, any>, instructions: Instructions) => { [K in keyof Instructions]: Instructions[K]
|
|
40
|
+
}>(obj: Record<string, any>, instructions: Instructions) => { [K in keyof Instructions]: InferInstructionResultType<Instructions[K]>; };
|
|
41
41
|
/**
|
|
42
42
|
* Deserializes a string to a number. Returns undefined if input is undefined.
|
|
43
43
|
*
|
|
@@ -70,7 +70,7 @@ export declare const deserializeTimestamp: (value: string) => Date | undefined;
|
|
|
70
70
|
*
|
|
71
71
|
* @internal
|
|
72
72
|
*/
|
|
73
|
-
export declare const emptyArrayGuard: <T extends any
|
|
73
|
+
export declare const emptyArrayGuard: <T extends Array<any>>(value: any, deserializer: (value: any[]) => T) => T;
|
|
74
74
|
/**
|
|
75
75
|
* @internal
|
|
76
76
|
*/
|
|
@@ -10,8 +10,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
});
|
|
11
11
|
};
|
|
12
12
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
13
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
14
|
-
return g =
|
|
13
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
14
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
15
15
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
16
16
|
function step(op) {
|
|
17
17
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -19,8 +19,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
21
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
22
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
23
|
-
return g =
|
|
22
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
23
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
24
24
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
25
|
function step(op) {
|
|
26
26
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -10,8 +10,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
});
|
|
11
11
|
};
|
|
12
12
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
13
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
14
|
-
return g =
|
|
13
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
14
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
15
15
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
16
16
|
function step(op) {
|
|
17
17
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -10,8 +10,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
});
|
|
11
11
|
};
|
|
12
12
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
13
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
14
|
-
return g =
|
|
13
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
14
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
15
15
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
16
16
|
function step(op) {
|
|
17
17
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -19,8 +19,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
21
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
22
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
23
|
-
return g =
|
|
22
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
23
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
24
24
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
25
|
function step(op) {
|
|
26
26
|
if (f) throw new TypeError("Generator is already executing.");
|
package/lib-esm/index.js
CHANGED
|
@@ -4,3 +4,4 @@ import { Storage, StorageInstance } from './Storage';
|
|
|
4
4
|
export { Storage as StorageClass, StorageInstance as Storage };
|
|
5
5
|
export { AWSS3Provider } from './providers';
|
|
6
6
|
export * from './types';
|
|
7
|
+
// chore: trigger v5-stable LTS release to complete partial publish (uuid-v11 RN fix, datastore). No functional change.
|