@aws-sdk/client-s3
Version:
AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native
133 lines (132 loc) • 5.49 kB
TypeScript
import { S3ClientConfig } from "./S3Client";
export declare const getRuntimeConfig: (config: S3ClientConfig) => {
runtime: string;
sha256: import("@smithy/types").HashConstructor;
requestHandler:
| import("@smithy/types").NodeHttpHandlerOptions
| import("@smithy/types").FetchHttpHandlerOptions
| Record<string, unknown>
| import("@smithy/protocol-http").HttpHandler<any>
| import("@smithy/fetch-http-handler").FetchHttpHandler;
apiVersion: string;
cacheMiddleware?: boolean | undefined;
urlParser: import("@smithy/types").UrlParser;
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
streamCollector: import("@smithy/types").StreamCollector;
base64Decoder: import("@smithy/types").Decoder;
base64Encoder: (_input: string | Uint8Array) => string;
utf8Decoder: import("@smithy/types").Decoder;
utf8Encoder: (input: string | Uint8Array) => string;
disableHostPrefix: boolean;
serviceId: string;
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
region: string | import("@smithy/types").Provider<any>;
defaultUserAgentProvider: (
config?:
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
| undefined
) => Promise<import("@smithy/types").UserAgent>;
streamHasher:
| import("@smithy/types").StreamHasher<import("stream").Readable>
| import("@smithy/types").StreamHasher<Blob>;
md5: import("@smithy/types").HashConstructor;
sha1: import("@smithy/types").HashConstructor;
getAwsChunkedEncodingStream:
| import("@smithy/types").GetAwsChunkedEncodingStream<any>
| import("@smithy/types").GetAwsChunkedEncodingStream<
import("stream").Readable
>;
credentialDefaultProvider: (
input: any
) => import("@smithy/types").AwsCredentialIdentityProvider;
maxAttempts: number | import("@smithy/types").Provider<number>;
retryMode: string | import("@smithy/types").Provider<string>;
logger: import("@smithy/types").Logger;
extensions: import("./runtimeExtensions").RuntimeExtension[];
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
defaultsMode:
| import("@smithy/smithy-client").DefaultsMode
| import("@smithy/types").Provider<
import("@smithy/smithy-client").DefaultsMode
>;
signingEscapePath: boolean;
useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
userAgentAppId?:
| string
| import("@smithy/types").Provider<string | undefined>
| undefined;
requestChecksumCalculation?:
| import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation
| import("@smithy/types").Provider<
import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation
>
| undefined;
responseChecksumValidation?:
| import("@aws-sdk/middleware-flexible-checksums").ResponseChecksumValidation
| import("@smithy/types").Provider<
import("@aws-sdk/middleware-flexible-checksums").ResponseChecksumValidation
>
| undefined;
retryStrategy?:
| import("@smithy/types").RetryStrategy
| import("@smithy/types").RetryStrategyV2
| undefined;
endpoint?:
| string
| import("@smithy/types").Endpoint
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
| import("@smithy/types").EndpointV2
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
| undefined;
endpointProvider: (
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
context?: {
logger?: import("@smithy/types").Logger | undefined;
}
) => import("@smithy/types").EndpointV2;
tls?: boolean | undefined;
serviceConfiguredEndpoint?: undefined;
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider;
credentials?:
| import("@smithy/types").AwsCredentialIdentity
| import("@smithy/types").AwsCredentialIdentityProvider
| undefined;
signer?:
| import("@smithy/types").RequestSigner
| ((
authScheme?: import("@smithy/types").AuthScheme | undefined
) => Promise<import("@smithy/types").RequestSigner>)
| undefined;
systemClockOffset?: number | undefined;
signingRegion?: string | undefined;
signerConstructor:
| (new (
options: import("@smithy/signature-v4").SignatureV4Init &
import("@smithy/signature-v4").SignatureV4CryptoInit
) => import("@smithy/types").RequestSigner)
| typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
sigv4aSigningRegionSet?:
| string[]
| import("@smithy/types").Provider<string[] | undefined>
| undefined;
forcePathStyle?: boolean | undefined;
useAccelerateEndpoint?: boolean | undefined;
disableMultiregionAccessPoints?: boolean | undefined;
followRegionRedirects?: boolean | undefined;
s3ExpressIdentityProvider?:
| import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider
| undefined;
bucketEndpoint?: boolean | undefined;
useGlobalEndpoint?:
| boolean
| import("@smithy/types").Provider<boolean>
| undefined;
disableS3ExpressSessionAuth?:
| boolean
| import("@smithy/types").Provider<boolean>
| undefined;
};