Metzploreur/node_modules/@smithy/middleware-endpoint/dist-types/service-customizations/s3.d.ts
clement callaert 244d45ceb8 Version 2
2023-11-01 17:33:25 +01:00

26 lines
791 B
TypeScript

import { 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;