UNPKG

@aws/pdk

Version:

All documentation is located at: https://aws.github.io/aws-pdk

25 lines (24 loc) 975 B
import { TypeSafeApiModelBuildOutputOptions } from "../type-safe-api-model-build"; import { SmithyBaseProject, SmithyBaseProjectOptions } from "./smithy-base-project"; import { SmithyProjectDefinition } from "./smithy-project-definition"; import { SmithyServiceProjectDefinition, SmithyServiceProjectDefinitionOptions } from "./smithy-service-project-definition"; /** * Options for the Smithy REST API model */ export interface SmithyModelProjectOptions extends SmithyBaseProjectOptions, SmithyServiceProjectDefinitionOptions, TypeSafeApiModelBuildOutputOptions { } /** * Smithy model project for a REST API */ export declare class SmithyModelProject extends SmithyBaseProject { /** * Name of the API */ readonly apiName: string; /** * Smithy model and build settings */ readonly definition: SmithyServiceProjectDefinition; constructor(options: SmithyModelProjectOptions); smithyProjectDefinition(): SmithyProjectDefinition; }