1 | import { AuthScheme } from "./auth";
|
2 | export interface EndpointPartition {
|
3 | name: string;
|
4 | dnsSuffix: string;
|
5 | dualStackDnsSuffix: string;
|
6 | supportsFIPS: boolean;
|
7 | supportsDualStack: boolean;
|
8 | }
|
9 | export interface EndpointARN {
|
10 | partition: string;
|
11 | service: string;
|
12 | region: string;
|
13 | accountId: string;
|
14 | resourceId: Array<string>;
|
15 | }
|
16 | export declare enum EndpointURLScheme {
|
17 | HTTP = "http",
|
18 | HTTPS = "https",
|
19 | }
|
20 | export interface EndpointURL {
|
21 | scheme: EndpointURLScheme;
|
22 | authority: string;
|
23 | path: string;
|
24 | normalizedPath: string;
|
25 | isIp: boolean;
|
26 | }
|
27 | export type EndpointObjectProperty =
|
28 | | string
|
29 | | boolean
|
30 | | {
|
31 | [key: string]: EndpointObjectProperty;
|
32 | }
|
33 | | EndpointObjectProperty[];
|
34 | export interface EndpointV2 {
|
35 | url: URL;
|
36 | properties?: {
|
37 | authSchemes?: AuthScheme[];
|
38 | } & Record<string, EndpointObjectProperty>;
|
39 | headers?: Record<string, string[]>;
|
40 | }
|
41 | export type EndpointParameters = {
|
42 | [name: string]: undefined | string | boolean;
|
43 | };
|