UNPKG

@aws-sdk/middleware-sdk-s3

Version:

[![NPM version](https://img.shields.io/npm/v/@aws-sdk/middleware-sdk-s3/latest.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-sdk-s3) [![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/middleware-sdk-s3.svg)](https://www.npmjs.com/package/@

17 lines (16 loc) 582 B
import { S3ExpressIdentity } from "../interfaces/S3ExpressIdentity"; /** * @internal */ export declare class S3ExpressIdentityCacheEntry { private _identity; isRefreshing: boolean; accessed: number; /** * @param identity - stored identity. * @param accessed - timestamp of last access in epoch ms. * @param isRefreshing - this key is currently in the process of being refreshed (background). */ constructor(_identity: Promise<S3ExpressIdentity>, isRefreshing?: boolean, accessed?: number); get identity(): Promise<S3ExpressIdentity>; }