UNPKG

@csermet/multiprovider

Version:

cloud-graph provider plugin for AWS used to fetch AWS cloud data.

23 lines (22 loc) 1.03 kB
/// <reference types="node" /> import { ConfigurationOptions } from 'aws-sdk'; import { APIVersions } from 'aws-sdk/lib/config'; import { Opts } from '@cloudgraph/sdk'; import { Credentials } from '../types'; export declare function getAccountId({ credentials, }: { credentials: Credentials; opts?: Opts; }): Promise<any>; export declare function getCredentials(opts: Opts): Promise<Credentials>; export declare const setAwsRetryOptions: (opts: { baseDelay?: number; global?: boolean; maxRetries?: number; configObj?: any; profile?: string; }) => void | (ConfigurationOptions & APIVersions); export declare function initTestEndpoint(service?: string): string | undefined; export declare function initTestConfig(): void; export declare const settleAllPromises: (promises: Promise<any>[]) => Promise<any[]>; export declare const checkAndMergeConnections: (serviceConnections: any, connectionsToMerge: any) => any; export declare const caseInsensitiveIncludes: (arr: string[], s1: string) => boolean;