UNPKG

@csermet/multiprovider

Version:

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

23 lines (22 loc) 728 B
import APIGW, { RestApi, ListOfRestApi } from 'aws-sdk/clients/apigateway'; import { Config } from 'aws-sdk/lib/config'; import { TagMap } from '../../types'; export interface RawAwsApiGatewayRestApi extends Omit<RestApi, 'Tags'> { accountId: string; Tags: TagMap; domainNames: string[]; region: string; } export declare const getRestApisForRegion: (apiGw: APIGW) => Promise<ListOfRestApi>; export declare const getTags: ({ apiGw, arn, }: { apiGw: APIGW; arn: string; }) => Promise<TagMap>; declare const _default: ({ regions, config, rawData, }: { regions: string; config: Config; rawData: any; }) => Promise<{ [property: string]: RawAwsApiGatewayRestApi[]; }>; export default _default;