UNPKG

@pellegrims/nx-remotecache-s3

Version:
9 lines (8 loc) 558 B
import { S3 } from '@aws-sdk/client-s3'; import { NodeHttpHandler } from '@smithy/node-http-handler'; import type { S3ClientConfig } from '@aws-sdk/client-s3/dist-types/S3Client'; import type { DefaultProviderInit } from '@aws-sdk/credential-provider-node/dist-types/defaultProvider'; export declare const getProxyConfig: (s3Endpoint?: string) => { requestHandler?: NodeHttpHandler | undefined; }; export declare const buildS3Client: (options: Pick<S3ClientConfig, 'endpoint' | 'region' | 'forcePathStyle'> & Pick<DefaultProviderInit, 'profile'>) => S3;