@smithy/util-endpoints
Version:
Utilities to help with endpoint resolution.
12 lines (11 loc) • 689 B
TypeScript
export declare const endpointFunctions: {
booleanEquals: (value1: boolean, value2: boolean) => boolean;
getAttr: (value: import("../lib").GetAttrValue, path: string) => import("../lib").GetAttrValue;
isSet: (value: unknown) => value is {};
isValidHostLabel: (value: string, allowSubDomains?: boolean) => boolean;
not: (value: boolean) => boolean;
parseURL: (value: string | URL | import("@smithy/types").Endpoint) => import("@smithy/types").EndpointURL | null;
stringEquals: (value1: string, value2: string) => boolean;
substring: (input: string, start: number, stop: number, reverse: boolean) => string | null;
uriEncode: (value: string) => string;
};