@smithy/types
Version:
[](https://www.npmjs.com/package/@smithy/types) [](https://www.npmjs.com/package/@smithy/types)
18 lines (17 loc) • 395 B
TypeScript
import { QueryParameterBag } from "./http";
/**
* @internal
*
* Represents the components parts of a Uniform Resource Identifier used to
* construct the target location of a Request.
*/
export type URI = {
protocol: string;
hostname: string;
port?: number;
path: string;
query?: QueryParameterBag;
username?: string;
password?: string;
fragment?: string;
};