@aws-amplify/graphql-model-transformer
Version:
Amplify graphql @model transformer
19 lines • 920 B
TypeScript
export declare const CREATE_FAILED_PHYSICAL_ID_MARKER = "AWSCDK::CustomResourceProviderFramework::CREATE_FAILED";
export declare const MISSING_PHYSICAL_ID_MARKER = "AWSCDK::CustomResourceProviderFramework::MISSING_PHYSICAL_ID";
export interface CloudFormationResponseOptions {
readonly reason?: string;
readonly noEcho?: boolean;
}
export interface CloudFormationEventContext {
StackId: string;
RequestId: string;
PhysicalResourceId?: string;
LogicalResourceId: string;
ResponseURL: string;
Data?: any;
}
export declare function submitResponse(status: 'SUCCESS' | 'FAILED', event: CloudFormationEventContext, options?: CloudFormationResponseOptions): Promise<void>;
export declare function safeHandler(block: (event: any, context?: any) => Promise<void>): (event: any, context: any) => Promise<void>;
export declare class Retry extends Error {
}
//# sourceMappingURL=cfn-response.d.ts.map