Files
configure-aws-credentials/dist/helpers.d.ts
T
Tom Keller 239add3ff1 feat!: Initial v2 commit
* Implemented editorconfig
* Switched to ESM
* Switched to a TypeScript workflow
* Switched to projen for project management
* Major code refactor
* TODO: need tests
2022-10-14 20:43:09 -07:00

8 lines
566 B
TypeScript
Generated

import { STSClient } from '@aws-sdk/client-sts';
export declare function getStsClient(region: string, agent?: string): STSClient;
export declare function sanitizeGithubActor(actor: string): string;
export declare function sanitizeGithubWorkflowName(name: string): string;
export declare function errorMessage(error: unknown): string;
export declare function isDefined<T>(i: T | undefined | null): i is T;
export declare function retryAndBackoff<T>(fn: () => Promise<T>, isRetryable: boolean, retries?: number, maxRetries?: number, base?: number): Promise<T>;