@aws-sdk/client-s3 3.332.0 → 3.335.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/protocols/Aws_restXml.js +1 -1
- package/dist-es/protocols/Aws_restXml.js +1 -1
- package/dist-types/S3Client.d.ts +3 -2
- package/dist-types/endpoint/EndpointParameters.d.ts +2 -1
- package/dist-types/protocols/Aws_restXml.d.ts +3 -2
- package/dist-types/runtimeConfig.browser.d.ts +16 -16
- package/dist-types/runtimeConfig.d.ts +12 -12
- package/dist-types/runtimeConfig.native.d.ts +14 -14
- package/dist-types/runtimeConfig.shared.d.ts +5 -5
- package/dist-types/ts3.4/S3Client.d.ts +7 -5
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +23 -19
- package/dist-types/ts3.4/runtimeConfig.d.ts +15 -15
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +22 -16
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -5
- package/package.json +5 -4
|
@@ -4,9 +4,9 @@ exports.se_GetObjectTorrentCommand = exports.se_GetObjectTaggingCommand = export
|
|
|
4
4
|
exports.de_DeleteBucketAnalyticsConfigurationCommand = exports.de_DeleteBucketCommand = exports.de_CreateMultipartUploadCommand = exports.de_CreateBucketCommand = exports.de_CopyObjectCommand = exports.de_CompleteMultipartUploadCommand = exports.de_AbortMultipartUploadCommand = exports.se_WriteGetObjectResponseCommand = exports.se_UploadPartCopyCommand = exports.se_UploadPartCommand = exports.se_SelectObjectContentCommand = exports.se_RestoreObjectCommand = exports.se_PutPublicAccessBlockCommand = exports.se_PutObjectTaggingCommand = exports.se_PutObjectRetentionCommand = exports.se_PutObjectLockConfigurationCommand = exports.se_PutObjectLegalHoldCommand = exports.se_PutObjectAclCommand = exports.se_PutObjectCommand = exports.se_PutBucketWebsiteCommand = exports.se_PutBucketVersioningCommand = exports.se_PutBucketTaggingCommand = exports.se_PutBucketRequestPaymentCommand = exports.se_PutBucketReplicationCommand = exports.se_PutBucketPolicyCommand = exports.se_PutBucketOwnershipControlsCommand = exports.se_PutBucketNotificationConfigurationCommand = exports.se_PutBucketMetricsConfigurationCommand = exports.se_PutBucketLoggingCommand = exports.se_PutBucketLifecycleConfigurationCommand = exports.se_PutBucketInventoryConfigurationCommand = exports.se_PutBucketIntelligentTieringConfigurationCommand = exports.se_PutBucketEncryptionCommand = exports.se_PutBucketCorsCommand = exports.se_PutBucketAnalyticsConfigurationCommand = exports.se_PutBucketAclCommand = exports.se_PutBucketAccelerateConfigurationCommand = exports.se_ListPartsCommand = exports.se_ListObjectVersionsCommand = exports.se_ListObjectsV2Command = exports.se_ListObjectsCommand = exports.se_ListMultipartUploadsCommand = exports.se_ListBucketsCommand = exports.se_ListBucketMetricsConfigurationsCommand = exports.se_ListBucketInventoryConfigurationsCommand = exports.se_ListBucketIntelligentTieringConfigurationsCommand = exports.se_ListBucketAnalyticsConfigurationsCommand = exports.se_HeadObjectCommand = exports.se_HeadBucketCommand = exports.se_GetPublicAccessBlockCommand = void 0;
|
|
5
5
|
exports.de_ListBucketMetricsConfigurationsCommand = exports.de_ListBucketInventoryConfigurationsCommand = exports.de_ListBucketIntelligentTieringConfigurationsCommand = exports.de_ListBucketAnalyticsConfigurationsCommand = exports.de_HeadObjectCommand = exports.de_HeadBucketCommand = exports.de_GetPublicAccessBlockCommand = exports.de_GetObjectTorrentCommand = exports.de_GetObjectTaggingCommand = exports.de_GetObjectRetentionCommand = exports.de_GetObjectLockConfigurationCommand = exports.de_GetObjectLegalHoldCommand = exports.de_GetObjectAttributesCommand = exports.de_GetObjectAclCommand = exports.de_GetObjectCommand = exports.de_GetBucketWebsiteCommand = exports.de_GetBucketVersioningCommand = exports.de_GetBucketTaggingCommand = exports.de_GetBucketRequestPaymentCommand = exports.de_GetBucketReplicationCommand = exports.de_GetBucketPolicyStatusCommand = exports.de_GetBucketPolicyCommand = exports.de_GetBucketOwnershipControlsCommand = exports.de_GetBucketNotificationConfigurationCommand = exports.de_GetBucketMetricsConfigurationCommand = exports.de_GetBucketLoggingCommand = exports.de_GetBucketLocationCommand = exports.de_GetBucketLifecycleConfigurationCommand = exports.de_GetBucketInventoryConfigurationCommand = exports.de_GetBucketIntelligentTieringConfigurationCommand = exports.de_GetBucketEncryptionCommand = exports.de_GetBucketCorsCommand = exports.de_GetBucketAnalyticsConfigurationCommand = exports.de_GetBucketAclCommand = exports.de_GetBucketAccelerateConfigurationCommand = exports.de_DeletePublicAccessBlockCommand = exports.de_DeleteObjectTaggingCommand = exports.de_DeleteObjectsCommand = exports.de_DeleteObjectCommand = exports.de_DeleteBucketWebsiteCommand = exports.de_DeleteBucketTaggingCommand = exports.de_DeleteBucketReplicationCommand = exports.de_DeleteBucketPolicyCommand = exports.de_DeleteBucketOwnershipControlsCommand = exports.de_DeleteBucketMetricsConfigurationCommand = exports.de_DeleteBucketLifecycleCommand = exports.de_DeleteBucketInventoryConfigurationCommand = exports.de_DeleteBucketIntelligentTieringConfigurationCommand = exports.de_DeleteBucketEncryptionCommand = exports.de_DeleteBucketCorsCommand = void 0;
|
|
6
6
|
exports.de_WriteGetObjectResponseCommand = exports.de_UploadPartCopyCommand = exports.de_UploadPartCommand = exports.de_SelectObjectContentCommand = exports.de_RestoreObjectCommand = exports.de_PutPublicAccessBlockCommand = exports.de_PutObjectTaggingCommand = exports.de_PutObjectRetentionCommand = exports.de_PutObjectLockConfigurationCommand = exports.de_PutObjectLegalHoldCommand = exports.de_PutObjectAclCommand = exports.de_PutObjectCommand = exports.de_PutBucketWebsiteCommand = exports.de_PutBucketVersioningCommand = exports.de_PutBucketTaggingCommand = exports.de_PutBucketRequestPaymentCommand = exports.de_PutBucketReplicationCommand = exports.de_PutBucketPolicyCommand = exports.de_PutBucketOwnershipControlsCommand = exports.de_PutBucketNotificationConfigurationCommand = exports.de_PutBucketMetricsConfigurationCommand = exports.de_PutBucketLoggingCommand = exports.de_PutBucketLifecycleConfigurationCommand = exports.de_PutBucketInventoryConfigurationCommand = exports.de_PutBucketIntelligentTieringConfigurationCommand = exports.de_PutBucketEncryptionCommand = exports.de_PutBucketCorsCommand = exports.de_PutBucketAnalyticsConfigurationCommand = exports.de_PutBucketAclCommand = exports.de_PutBucketAccelerateConfigurationCommand = exports.de_ListPartsCommand = exports.de_ListObjectVersionsCommand = exports.de_ListObjectsV2Command = exports.de_ListObjectsCommand = exports.de_ListMultipartUploadsCommand = exports.de_ListBucketsCommand = void 0;
|
|
7
|
-
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
8
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
9
8
|
const xml_builder_1 = require("@aws-sdk/xml-builder");
|
|
9
|
+
const protocol_http_1 = require("@smithy/protocol-http");
|
|
10
10
|
const fast_xml_parser_1 = require("fast-xml-parser");
|
|
11
11
|
const models_0_1 = require("../models/models_0");
|
|
12
12
|
const models_1_1 = require("../models/models_1");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { HttpRequest as __HttpRequest, isValidHostname as __isValidHostname, } from "@aws-sdk/protocol-http";
|
|
2
1
|
import { dateToUtcString as __dateToUtcString, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, map, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, parseRfc7231DateTime as __parseRfc7231DateTime, resolvedPath as __resolvedPath, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
2
|
import { XmlNode as __XmlNode, XmlText as __XmlText } from "@aws-sdk/xml-builder";
|
|
3
|
+
import { HttpRequest as __HttpRequest, isValidHostname as __isValidHostname, } from "@smithy/protocol-http";
|
|
4
4
|
import { XMLParser } from "fast-xml-parser";
|
|
5
5
|
import { AnalyticsFilter, BucketAlreadyExists, BucketAlreadyOwnedByYou, InvalidObjectState, LifecycleRuleFilter, MetricsFilter, NoSuchBucket, NoSuchKey, NoSuchUpload, NotFound, ObjectNotInActiveTierError, ReplicationRuleFilter, } from "../models/models_0";
|
|
6
6
|
import { ObjectAlreadyInActiveTierError, } from "../models/models_1";
|
package/dist-types/S3Client.d.ts
CHANGED
|
@@ -7,9 +7,10 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
7
7
|
import { S3InputConfig, S3ResolvedConfig } from "@aws-sdk/middleware-sdk-s3";
|
|
8
8
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
9
9
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
10
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
11
10
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
12
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials,
|
|
11
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, EventStreamSerdeProvider as __EventStreamSerdeProvider, GetAwsChunkedEncodingStream, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider, SdkStreamMixinInjector as __SdkStreamMixinInjector, StreamHasher as __StreamHasher, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
12
|
+
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
13
|
+
import { Decoder as __Decoder, Encoder as __Encoder, Provider as __Provider, StreamCollector as __StreamCollector } from "@smithy/types";
|
|
13
14
|
import { Readable } from "stream";
|
|
14
15
|
import { AbortMultipartUploadCommandInput, AbortMultipartUploadCommandOutput } from "./commands/AbortMultipartUploadCommand";
|
|
15
16
|
import { CompleteMultipartUploadCommandInput, CompleteMultipartUploadCommandOutput } from "./commands/CompleteMultipartUploadCommand";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EndpointParameters as __EndpointParameters, EndpointV2 } from "@aws-sdk/types";
|
|
2
|
+
import { Endpoint, Provider } from "@smithy/types";
|
|
2
3
|
export interface ClientInputEndpointParameters {
|
|
3
4
|
region?: string | Provider<string>;
|
|
4
5
|
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { EventStreamSerdeContext as __EventStreamSerdeContext, SdkStreamSerdeContext as __SdkStreamSerdeContext } from "@aws-sdk/types";
|
|
2
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
3
|
+
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
4
|
import { AbortMultipartUploadCommandInput, AbortMultipartUploadCommandOutput } from "../commands/AbortMultipartUploadCommand";
|
|
4
5
|
import { CompleteMultipartUploadCommandInput, CompleteMultipartUploadCommandOutput } from "../commands/CompleteMultipartUploadCommand";
|
|
5
6
|
import { CopyObjectCommandInput, CopyObjectCommandOutput } from "../commands/CopyObjectCommand";
|
|
@@ -8,34 +8,34 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
8
8
|
runtime: string;
|
|
9
9
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
10
10
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider: (input: any) => import("@
|
|
11
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
12
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
13
|
eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
|
|
14
14
|
getAwsChunkedEncodingStream: import("@aws-sdk/types").GetAwsChunkedEncodingStream<any> | import("@aws-sdk/types").GetAwsChunkedEncodingStream<ReadableStream<any>>;
|
|
15
|
-
maxAttempts: number | import("@aws-sdk/types").Provider<number
|
|
15
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) & (number | import("@aws-sdk/types").Provider<number>);
|
|
16
16
|
md5: import("@aws-sdk/types").HashConstructor;
|
|
17
17
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
18
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@
|
|
19
|
-
retryMode: string | import("@
|
|
18
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
|
|
19
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
20
20
|
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
21
21
|
sha1: import("@aws-sdk/types").HashConstructor;
|
|
22
22
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
23
23
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
24
24
|
streamHasher: import("@aws-sdk/types").StreamHasher<import("stream").Readable> | import("@aws-sdk/types").StreamHasher<Blob>;
|
|
25
|
-
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean
|
|
26
|
-
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean
|
|
25
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
26
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
27
27
|
apiVersion: string;
|
|
28
28
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
29
|
-
base64Decoder: import("@
|
|
30
|
-
base64Encoder: import("@
|
|
31
|
-
utf8Decoder: import("@
|
|
32
|
-
utf8Encoder: import("@
|
|
29
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
30
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
31
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
32
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
33
33
|
disableHostPrefix: boolean;
|
|
34
34
|
serviceId: string;
|
|
35
35
|
signingEscapePath: boolean;
|
|
36
|
-
useArnRegion: boolean | import("@aws-sdk/types").Provider<boolean
|
|
36
|
+
useArnRegion: (boolean | import("@aws-sdk/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean>);
|
|
37
37
|
logger: import("@aws-sdk/types").Logger;
|
|
38
|
-
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@
|
|
38
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
|
|
39
39
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
40
40
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
41
41
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
@@ -46,9 +46,9 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
46
46
|
systemClockOffset?: number | undefined;
|
|
47
47
|
signingRegion?: string | undefined;
|
|
48
48
|
signerConstructor: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
49
|
-
forcePathStyle?: (boolean & (boolean | import("@
|
|
50
|
-
useAccelerateEndpoint?: (boolean & (boolean | import("@
|
|
51
|
-
disableMultiregionAccessPoints?: (boolean & (boolean | import("@
|
|
49
|
+
forcePathStyle?: (boolean & (boolean | import("@smithy/types").Provider<boolean>)) | undefined;
|
|
50
|
+
useAccelerateEndpoint?: (boolean & (boolean | import("@smithy/types").Provider<boolean>)) | undefined;
|
|
51
|
+
disableMultiregionAccessPoints?: (boolean & (boolean | import("@smithy/types").Provider<boolean>)) | undefined;
|
|
52
52
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
53
|
-
useGlobalEndpoint?: boolean | import("@
|
|
53
|
+
useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean> | undefined;
|
|
54
54
|
};
|
|
@@ -9,15 +9,15 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
9
9
|
runtime: string;
|
|
10
10
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
11
11
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
|
-
credentialDefaultProvider: (input: any) => import("@
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
|
|
15
15
|
getAwsChunkedEncodingStream: import("@aws-sdk/types").GetAwsChunkedEncodingStream<any> | import("@aws-sdk/types").GetAwsChunkedEncodingStream<import("stream").Readable>;
|
|
16
16
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
17
17
|
md5: __HashConstructor;
|
|
18
18
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
19
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@
|
|
20
|
-
retryMode: string | import("@
|
|
19
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
|
|
20
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
21
21
|
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
22
22
|
sha1: __HashConstructor;
|
|
23
23
|
sha256: __HashConstructor;
|
|
@@ -28,15 +28,15 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
28
28
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
29
29
|
apiVersion: string;
|
|
30
30
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
31
|
-
base64Decoder: import("@
|
|
32
|
-
base64Encoder: import("@
|
|
33
|
-
utf8Decoder: import("@
|
|
34
|
-
utf8Encoder: import("@
|
|
31
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
32
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
33
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
34
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
35
35
|
disableHostPrefix: boolean;
|
|
36
36
|
serviceId: string;
|
|
37
37
|
signingEscapePath: boolean;
|
|
38
38
|
logger: import("@aws-sdk/types").Logger;
|
|
39
|
-
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@
|
|
39
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
|
|
40
40
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
41
41
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
42
42
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
@@ -47,9 +47,9 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
47
47
|
systemClockOffset?: number | undefined;
|
|
48
48
|
signingRegion?: string | undefined;
|
|
49
49
|
signerConstructor: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
50
|
-
forcePathStyle?: (boolean & (boolean | import("@
|
|
51
|
-
useAccelerateEndpoint?: (boolean & (boolean | import("@
|
|
52
|
-
disableMultiregionAccessPoints?: (boolean & (boolean | import("@
|
|
50
|
+
forcePathStyle?: (boolean & (boolean | import("@smithy/types").Provider<boolean>)) | undefined;
|
|
51
|
+
useAccelerateEndpoint?: (boolean & (boolean | import("@smithy/types").Provider<boolean>)) | undefined;
|
|
52
|
+
disableMultiregionAccessPoints?: (boolean & (boolean | import("@smithy/types").Provider<boolean>)) | undefined;
|
|
53
53
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
54
|
-
useGlobalEndpoint?: boolean | import("@
|
|
54
|
+
useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean> | undefined;
|
|
55
55
|
};
|
|
@@ -6,35 +6,35 @@ import { S3ClientConfig } from "./S3Client";
|
|
|
6
6
|
export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
8
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
9
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@
|
|
9
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
10
10
|
apiVersion: string;
|
|
11
11
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
12
12
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
13
13
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
14
|
-
base64Decoder: import("@
|
|
15
|
-
base64Encoder: import("@
|
|
16
|
-
utf8Decoder: import("@
|
|
17
|
-
utf8Encoder: import("@
|
|
14
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
15
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
16
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
18
18
|
disableHostPrefix: boolean;
|
|
19
19
|
serviceId: string;
|
|
20
|
-
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean
|
|
21
|
-
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean
|
|
20
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
21
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
22
22
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
|
-
credentialDefaultProvider: (input: any) => import("@
|
|
23
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
signingEscapePath: boolean;
|
|
25
|
-
useArnRegion: boolean | import("@aws-sdk/types").Provider<boolean
|
|
25
|
+
useArnRegion: (boolean | import("@aws-sdk/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean>);
|
|
26
26
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
27
27
|
streamHasher: import("@aws-sdk/types").StreamHasher<import("stream").Readable> | import("@aws-sdk/types").StreamHasher<Blob>;
|
|
28
28
|
md5: import("@aws-sdk/types").HashConstructor;
|
|
29
29
|
sha1: import("@aws-sdk/types").HashConstructor;
|
|
30
30
|
getAwsChunkedEncodingStream: import("@aws-sdk/types").GetAwsChunkedEncodingStream<any> | import("@aws-sdk/types").GetAwsChunkedEncodingStream<ReadableStream<any>>;
|
|
31
|
-
maxAttempts: number | import("@aws-sdk/types").Provider<number
|
|
32
|
-
retryMode: string | import("@
|
|
31
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) & (number | import("@aws-sdk/types").Provider<number>);
|
|
32
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
33
33
|
logger: import("@aws-sdk/types").Logger;
|
|
34
34
|
eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
|
|
35
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@
|
|
35
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
36
36
|
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
37
|
-
endpoint?: string | import("@aws-sdk/types").
|
|
37
|
+
endpoint?: string | import("@aws-sdk/types").EndpointV2 | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> & import("@smithy/types").Provider<import("@smithy/types").Endpoint>) | (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint) | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> & import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>) | undefined;
|
|
38
38
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
39
39
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
40
40
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
@@ -49,5 +49,5 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
49
49
|
useAccelerateEndpoint?: boolean | undefined;
|
|
50
50
|
disableMultiregionAccessPoints?: boolean | undefined;
|
|
51
51
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
52
|
-
useGlobalEndpoint?: boolean | import("@
|
|
52
|
+
useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean> | undefined;
|
|
53
53
|
};
|
|
@@ -5,8 +5,8 @@ import { S3ClientConfig } from "./S3Client";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
7
7
|
apiVersion: string;
|
|
8
|
-
base64Decoder: import("@
|
|
9
|
-
base64Encoder: import("@
|
|
8
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
9
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
10
10
|
disableHostPrefix: boolean;
|
|
11
11
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
12
12
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
@@ -16,7 +16,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
16
16
|
signerConstructor: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | typeof SignatureV4MultiRegion;
|
|
17
17
|
signingEscapePath: boolean;
|
|
18
18
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
19
|
-
useArnRegion: boolean | import("@aws-sdk/types").Provider<boolean
|
|
20
|
-
utf8Decoder: import("@
|
|
21
|
-
utf8Encoder: import("@
|
|
19
|
+
useArnRegion: (boolean | import("@aws-sdk/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean>);
|
|
20
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
21
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
22
22
|
};
|
|
@@ -27,7 +27,6 @@ import {
|
|
|
27
27
|
UserAgentInputConfig,
|
|
28
28
|
UserAgentResolvedConfig,
|
|
29
29
|
} from "@aws-sdk/middleware-user-agent";
|
|
30
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
31
30
|
import {
|
|
32
31
|
Client as __Client,
|
|
33
32
|
DefaultsMode as __DefaultsMode,
|
|
@@ -38,21 +37,24 @@ import {
|
|
|
38
37
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
39
38
|
ChecksumConstructor as __ChecksumConstructor,
|
|
40
39
|
Credentials as __Credentials,
|
|
41
|
-
Decoder as __Decoder,
|
|
42
|
-
Encoder as __Encoder,
|
|
43
40
|
EventStreamSerdeProvider as __EventStreamSerdeProvider,
|
|
44
41
|
GetAwsChunkedEncodingStream,
|
|
45
42
|
HashConstructor as __HashConstructor,
|
|
46
43
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
47
44
|
Logger as __Logger,
|
|
48
|
-
Provider as __Provider,
|
|
49
45
|
Provider,
|
|
50
46
|
SdkStreamMixinInjector as __SdkStreamMixinInjector,
|
|
51
|
-
StreamCollector as __StreamCollector,
|
|
52
47
|
StreamHasher as __StreamHasher,
|
|
53
48
|
UrlParser as __UrlParser,
|
|
54
49
|
UserAgent as __UserAgent,
|
|
55
50
|
} from "@aws-sdk/types";
|
|
51
|
+
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
52
|
+
import {
|
|
53
|
+
Decoder as __Decoder,
|
|
54
|
+
Encoder as __Encoder,
|
|
55
|
+
Provider as __Provider,
|
|
56
|
+
StreamCollector as __StreamCollector,
|
|
57
|
+
} from "@smithy/types";
|
|
56
58
|
import { Readable } from "stream";
|
|
57
59
|
import {
|
|
58
60
|
AbortMultipartUploadCommandInput,
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Endpoint,
|
|
3
2
|
EndpointParameters as __EndpointParameters,
|
|
4
3
|
EndpointV2,
|
|
5
|
-
Provider,
|
|
6
4
|
} from "@aws-sdk/types";
|
|
5
|
+
import { Endpoint, Provider } from "@smithy/types";
|
|
7
6
|
export interface ClientInputEndpointParameters {
|
|
8
7
|
region?: string | Provider<string>;
|
|
9
8
|
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
HttpRequest as __HttpRequest,
|
|
3
|
-
HttpResponse as __HttpResponse,
|
|
4
|
-
} from "@aws-sdk/protocol-http";
|
|
5
1
|
import {
|
|
6
2
|
EventStreamSerdeContext as __EventStreamSerdeContext,
|
|
7
3
|
SdkStreamSerdeContext as __SdkStreamSerdeContext,
|
|
8
|
-
SerdeContext as __SerdeContext,
|
|
9
4
|
} from "@aws-sdk/types";
|
|
5
|
+
import {
|
|
6
|
+
HttpRequest as __HttpRequest,
|
|
7
|
+
HttpResponse as __HttpResponse,
|
|
8
|
+
} from "@smithy/protocol-http";
|
|
9
|
+
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
10
10
|
import {
|
|
11
11
|
AbortMultipartUploadCommandInput,
|
|
12
12
|
AbortMultipartUploadCommandOutput,
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider: (
|
|
10
10
|
input: any
|
|
11
|
-
) => import("@
|
|
11
|
+
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
12
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
13
13
|
import("@aws-sdk/types").UserAgent
|
|
14
14
|
>;
|
|
@@ -16,7 +16,8 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
16
16
|
getAwsChunkedEncodingStream:
|
|
17
17
|
| import("@aws-sdk/types").GetAwsChunkedEncodingStream<any>
|
|
18
18
|
| import("@aws-sdk/types").GetAwsChunkedEncodingStream<ReadableStream<any>>;
|
|
19
|
-
maxAttempts: number | import("@
|
|
19
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) &
|
|
20
|
+
(number | import("@aws-sdk/types").Provider<number>);
|
|
20
21
|
md5: import("@aws-sdk/types").HashConstructor;
|
|
21
22
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
22
23
|
requestHandler:
|
|
@@ -25,9 +26,9 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
25
26
|
any,
|
|
26
27
|
import("@aws-sdk/types").HttpHandlerOptions
|
|
27
28
|
> &
|
|
28
|
-
import("@
|
|
29
|
+
import("@smithy/protocol-http").HttpHandler)
|
|
29
30
|
| RequestHandler;
|
|
30
|
-
retryMode: string | import("@
|
|
31
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
31
32
|
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
32
33
|
sha1: import("@aws-sdk/types").HashConstructor;
|
|
33
34
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
@@ -35,18 +36,21 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
35
36
|
streamHasher:
|
|
36
37
|
| import("@aws-sdk/types").StreamHasher<import("stream").Readable>
|
|
37
38
|
| import("@aws-sdk/types").StreamHasher<Blob>;
|
|
38
|
-
useDualstackEndpoint: boolean | import("@
|
|
39
|
-
|
|
39
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
40
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
41
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
42
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
40
43
|
apiVersion: string;
|
|
41
44
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
42
|
-
base64Decoder: import("@
|
|
43
|
-
base64Encoder: import("@
|
|
44
|
-
utf8Decoder: import("@
|
|
45
|
-
utf8Encoder: import("@
|
|
45
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
46
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
47
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
48
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
46
49
|
disableHostPrefix: boolean;
|
|
47
50
|
serviceId: string;
|
|
48
51
|
signingEscapePath: boolean;
|
|
49
|
-
useArnRegion: boolean | import("@aws-sdk/types").Provider<boolean
|
|
52
|
+
useArnRegion: (boolean | import("@aws-sdk/types").Provider<boolean>) &
|
|
53
|
+
(boolean | import("@smithy/types").Provider<boolean>);
|
|
50
54
|
logger: import("@aws-sdk/types").Logger;
|
|
51
55
|
endpoint?:
|
|
52
56
|
| ((
|
|
@@ -58,11 +62,11 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
58
62
|
) &
|
|
59
63
|
(
|
|
60
64
|
| string
|
|
61
|
-
| import("@
|
|
62
|
-
| import("@
|
|
63
|
-
| import("@
|
|
65
|
+
| import("@smithy/types").Provider<string>
|
|
66
|
+
| import("@smithy/types").Endpoint
|
|
67
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
64
68
|
| import("@aws-sdk/types").EndpointV2
|
|
65
|
-
| import("@
|
|
69
|
+
| import("@smithy/types").Provider<
|
|
66
70
|
import("@aws-sdk/types").EndpointV2
|
|
67
71
|
>
|
|
68
72
|
))
|
|
@@ -99,17 +103,17 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
99
103
|
) => import("@aws-sdk/types").RequestSigner)
|
|
100
104
|
| typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
101
105
|
forcePathStyle?:
|
|
102
|
-
| (boolean & (boolean | import("@
|
|
106
|
+
| (boolean & (boolean | import("@smithy/types").Provider<boolean>))
|
|
103
107
|
| undefined;
|
|
104
108
|
useAccelerateEndpoint?:
|
|
105
|
-
| (boolean & (boolean | import("@
|
|
109
|
+
| (boolean & (boolean | import("@smithy/types").Provider<boolean>))
|
|
106
110
|
| undefined;
|
|
107
111
|
disableMultiregionAccessPoints?:
|
|
108
|
-
| (boolean & (boolean | import("@
|
|
112
|
+
| (boolean & (boolean | import("@smithy/types").Provider<boolean>))
|
|
109
113
|
| undefined;
|
|
110
114
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
111
115
|
useGlobalEndpoint?:
|
|
112
116
|
| boolean
|
|
113
|
-
| import("@
|
|
117
|
+
| import("@smithy/types").Provider<boolean>
|
|
114
118
|
| undefined;
|
|
115
119
|
};
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
9
9
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (
|
|
11
11
|
input: any
|
|
12
|
-
) => import("@
|
|
12
|
+
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
14
14
|
import("@aws-sdk/types").UserAgent
|
|
15
15
|
>;
|
|
@@ -28,9 +28,9 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
28
28
|
any,
|
|
29
29
|
import("@aws-sdk/types").HttpHandlerOptions
|
|
30
30
|
> &
|
|
31
|
-
import("@
|
|
31
|
+
import("@smithy/protocol-http").HttpHandler)
|
|
32
32
|
| RequestHandler;
|
|
33
|
-
retryMode: string | import("@
|
|
33
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
34
34
|
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
35
35
|
sha1: __HashConstructor;
|
|
36
36
|
sha256: __HashConstructor;
|
|
@@ -43,10 +43,10 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
43
43
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
44
44
|
apiVersion: string;
|
|
45
45
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
46
|
-
base64Decoder: import("@
|
|
47
|
-
base64Encoder: import("@
|
|
48
|
-
utf8Decoder: import("@
|
|
49
|
-
utf8Encoder: import("@
|
|
46
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
47
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
48
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
49
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
50
50
|
disableHostPrefix: boolean;
|
|
51
51
|
serviceId: string;
|
|
52
52
|
signingEscapePath: boolean;
|
|
@@ -61,11 +61,11 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
61
61
|
) &
|
|
62
62
|
(
|
|
63
63
|
| string
|
|
64
|
-
| import("@
|
|
65
|
-
| import("@
|
|
66
|
-
| import("@
|
|
64
|
+
| import("@smithy/types").Provider<string>
|
|
65
|
+
| import("@smithy/types").Endpoint
|
|
66
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
67
67
|
| import("@aws-sdk/types").EndpointV2
|
|
68
|
-
| import("@
|
|
68
|
+
| import("@smithy/types").Provider<
|
|
69
69
|
import("@aws-sdk/types").EndpointV2
|
|
70
70
|
>
|
|
71
71
|
))
|
|
@@ -102,17 +102,17 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
102
102
|
) => import("@aws-sdk/types").RequestSigner)
|
|
103
103
|
| typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
104
104
|
forcePathStyle?:
|
|
105
|
-
| (boolean & (boolean | import("@
|
|
105
|
+
| (boolean & (boolean | import("@smithy/types").Provider<boolean>))
|
|
106
106
|
| undefined;
|
|
107
107
|
useAccelerateEndpoint?:
|
|
108
|
-
| (boolean & (boolean | import("@
|
|
108
|
+
| (boolean & (boolean | import("@smithy/types").Provider<boolean>))
|
|
109
109
|
| undefined;
|
|
110
110
|
disableMultiregionAccessPoints?:
|
|
111
|
-
| (boolean & (boolean | import("@
|
|
111
|
+
| (boolean & (boolean | import("@smithy/types").Provider<boolean>))
|
|
112
112
|
| undefined;
|
|
113
113
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
114
114
|
useGlobalEndpoint?:
|
|
115
115
|
| boolean
|
|
116
|
-
| import("@
|
|
116
|
+
| import("@smithy/types").Provider<boolean>
|
|
117
117
|
| undefined;
|
|
118
118
|
};
|
|
@@ -8,26 +8,29 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
8
8
|
any,
|
|
9
9
|
import("@aws-sdk/types").HttpHandlerOptions
|
|
10
10
|
> &
|
|
11
|
-
import("@
|
|
11
|
+
import("@smithy/protocol-http").HttpHandler)
|
|
12
12
|
| import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
13
13
|
apiVersion: string;
|
|
14
14
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
15
15
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
16
16
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
17
|
-
base64Decoder: import("@
|
|
18
|
-
base64Encoder: import("@
|
|
19
|
-
utf8Decoder: import("@
|
|
20
|
-
utf8Encoder: import("@
|
|
17
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
18
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
19
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
20
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
21
21
|
disableHostPrefix: boolean;
|
|
22
22
|
serviceId: string;
|
|
23
|
-
useDualstackEndpoint: boolean | import("@
|
|
24
|
-
|
|
23
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
24
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
25
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
26
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
25
27
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
26
28
|
credentialDefaultProvider: (
|
|
27
29
|
input: any
|
|
28
|
-
) => import("@
|
|
30
|
+
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
29
31
|
signingEscapePath: boolean;
|
|
30
|
-
useArnRegion: boolean | import("@aws-sdk/types").Provider<boolean
|
|
32
|
+
useArnRegion: (boolean | import("@aws-sdk/types").Provider<boolean>) &
|
|
33
|
+
(boolean | import("@smithy/types").Provider<boolean>);
|
|
31
34
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
32
35
|
import("@aws-sdk/types").UserAgent
|
|
33
36
|
>;
|
|
@@ -39,22 +42,25 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
39
42
|
getAwsChunkedEncodingStream:
|
|
40
43
|
| import("@aws-sdk/types").GetAwsChunkedEncodingStream<any>
|
|
41
44
|
| import("@aws-sdk/types").GetAwsChunkedEncodingStream<ReadableStream<any>>;
|
|
42
|
-
maxAttempts: number | import("@
|
|
43
|
-
|
|
45
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) &
|
|
46
|
+
(number | import("@aws-sdk/types").Provider<number>);
|
|
47
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
44
48
|
logger: import("@aws-sdk/types").Logger;
|
|
45
49
|
eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
|
|
46
50
|
defaultsMode:
|
|
47
51
|
| import("@aws-sdk/smithy-client").DefaultsMode
|
|
48
|
-
| import("@
|
|
52
|
+
| import("@smithy/types").Provider<
|
|
49
53
|
import("@aws-sdk/smithy-client").DefaultsMode
|
|
50
54
|
>;
|
|
51
55
|
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
52
56
|
endpoint?:
|
|
53
57
|
| string
|
|
54
|
-
| import("@aws-sdk/types").Endpoint
|
|
55
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
56
58
|
| import("@aws-sdk/types").EndpointV2
|
|
57
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").
|
|
59
|
+
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
|
|
60
|
+
import("@smithy/types").Provider<import("@smithy/types").Endpoint>)
|
|
61
|
+
| (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint)
|
|
62
|
+
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
|
|
63
|
+
import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)
|
|
58
64
|
| undefined;
|
|
59
65
|
endpointProvider: (
|
|
60
66
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -93,6 +99,6 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
93
99
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
94
100
|
useGlobalEndpoint?:
|
|
95
101
|
| boolean
|
|
96
|
-
| import("@
|
|
102
|
+
| import("@smithy/types").Provider<boolean>
|
|
97
103
|
| undefined;
|
|
98
104
|
};
|
|
@@ -2,8 +2,8 @@ import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
|
|
|
2
2
|
import { S3ClientConfig } from "./S3Client";
|
|
3
3
|
export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
4
4
|
apiVersion: string;
|
|
5
|
-
base64Decoder: import("@
|
|
6
|
-
base64Encoder: import("@
|
|
5
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
6
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
7
7
|
disableHostPrefix: boolean;
|
|
8
8
|
endpointProvider: (
|
|
9
9
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -21,7 +21,8 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
21
21
|
| typeof SignatureV4MultiRegion;
|
|
22
22
|
signingEscapePath: boolean;
|
|
23
23
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
-
useArnRegion: boolean | import("@aws-sdk/types").Provider<boolean
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
useArnRegion: (boolean | import("@aws-sdk/types").Provider<boolean>) &
|
|
25
|
+
(boolean | import("@smithy/types").Provider<boolean>);
|
|
26
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
27
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
27
28
|
};
|
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.335.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"@aws-crypto/sha1-browser": "3.0.0",
|
|
26
26
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
27
27
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
28
|
-
"@aws-sdk/client-sts": "3.
|
|
28
|
+
"@aws-sdk/client-sts": "3.335.0",
|
|
29
29
|
"@aws-sdk/config-resolver": "3.329.0",
|
|
30
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
30
|
+
"@aws-sdk/credential-provider-node": "3.335.0",
|
|
31
31
|
"@aws-sdk/eventstream-serde-browser": "3.329.0",
|
|
32
32
|
"@aws-sdk/eventstream-serde-config-resolver": "3.329.0",
|
|
33
33
|
"@aws-sdk/eventstream-serde-node": "3.329.0",
|
|
@@ -55,7 +55,6 @@
|
|
|
55
55
|
"@aws-sdk/middleware-user-agent": "3.332.0",
|
|
56
56
|
"@aws-sdk/node-config-provider": "3.329.0",
|
|
57
57
|
"@aws-sdk/node-http-handler": "3.329.0",
|
|
58
|
-
"@aws-sdk/protocol-http": "3.329.0",
|
|
59
58
|
"@aws-sdk/signature-v4-multi-region": "3.329.0",
|
|
60
59
|
"@aws-sdk/smithy-client": "3.329.0",
|
|
61
60
|
"@aws-sdk/types": "3.329.0",
|
|
@@ -74,6 +73,8 @@
|
|
|
74
73
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
75
74
|
"@aws-sdk/util-waiter": "3.329.0",
|
|
76
75
|
"@aws-sdk/xml-builder": "3.310.0",
|
|
76
|
+
"@smithy/protocol-http": "^1.0.1",
|
|
77
|
+
"@smithy/types": "^1.0.0",
|
|
77
78
|
"fast-xml-parser": "4.1.2",
|
|
78
79
|
"tslib": "^2.5.0"
|
|
79
80
|
},
|