@smithy/middleware-endpoint
Version:
[](https://www.npmjs.com/package/@smithy/middleware-endpoint) [](https://www.npmjs.com/packag
27 lines (26 loc) • 796 B
TypeScript
import type { EndpointParameters } from "@smithy/types";
/**
* @internal
*/
export declare const resolveParamsForS3: (endpointParams: EndpointParameters) => Promise<EndpointParameters>;
/**
* @internal
*/
export declare const DOT_PATTERN: RegExp;
/**
* @internal
*/
export declare const S3_HOSTNAME_PATTERN: RegExp;
/**
* Determines whether a given string is DNS compliant per the rules outlined by
* S3. Length, capitaization, and leading dot restrictions are enforced by the
* DOMAIN_PATTERN regular expression.
* @internal
*
* @see https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html
*/
export declare const isDnsCompatibleBucketName: (bucketName: string) => boolean;
/**
* @internal
*/
export declare const isArnBucketName: (bucketName: string) => boolean;