Files
agent-claw/cdk/node_modules/aws-cdk-lib/aws-appsync/lib/private/ref-utils.d.ts
2026-05-06 18:55:16 -05:00

15 lines
813 B
TypeScript

import type { IGraphQLApiRef, IApiRef, IFunctionConfigurationRef } from '../../../interfaces/generated/aws-appsync-interfaces.generated';
import type { IApi } from '../api-base';
import type { IGraphqlApi } from '../graphqlapi-base';
/**
* Converts an IGraphQLApiRef to IGraphqlApi, validating that it implements the full interface
*/
export declare function toIGraphqlApi(api: IGraphQLApiRef): IGraphqlApi;
/**
* Converts an IApiRef to IApi, validating that it implements the full interface
*/
export declare function toIApi(api: IApiRef): IApi;
export declare function extractApiIdFromApiRef(apiRef: IApiRef): string;
export declare function extractApiIdFromGraphQLApiRef(apiRef: IGraphQLApiRef): string;
export declare function extractFunctionIdFromFunctionRef(funcRef: IFunctionConfigurationRef): string;