HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-10-0-8-47 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:31:58 UTC 2024 aarch64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: /var/www/api.javaapp.co.uk/node_modules/aws-sdk/vendor/endpoint-cache/index.d.ts
/**
 * Output shape for endpoint discovery operations
 */
export type DiscoveredEndpoints = Array<{Address?: string, CachePeriodInMinutes?: number}>
declare type EndpointRecords = Array<{
  Address: string;
  Expire: number;
}>;
export interface EndpointIdentifier {
    [key: string]: string | undefined;
    serviceId?: string;
    region?: string;
    accessKeyId?: string;
    operation?: string;
}
export declare class EndpointCache {
    readonly maxSize: number;
    private cache;
    constructor(maxSize?: number);
    readonly size: number;
    put(key: EndpointIdentifier | string, value: DiscoveredEndpoints): void;
    get(key: EndpointIdentifier | string): EndpointRecords | undefined;
    static getKeyString(key: EndpointIdentifier): string;
    private populateValue;
    empty(): void;
    remove(key: EndpointIdentifier | string): void;
}