Skip to content

Commit f4ee665

Browse files
committed
api update
1 parent 12af1f2 commit f4ee665

File tree

1 file changed

+1
-27
lines changed
  • packages/rest-api-construct

1 file changed

+1
-27
lines changed

packages/rest-api-construct/API.md

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,6 @@ import * as apiGateway from 'aws-cdk-lib/aws-apigateway';
88
import { Construct } from 'constructs';
99
import * as lamb from 'aws-cdk-lib/aws-lambda';
1010

11-
// @public (undocumented)
12-
export type ExistingDirectory = {
13-
path: string;
14-
};
15-
16-
// @public (undocumented)
17-
export type ExistingLambda = {
18-
id: string;
19-
name: string;
20-
};
21-
22-
// @public (undocumented)
23-
export type HttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
24-
25-
// @public (undocumented)
26-
export type NewFromCode = {
27-
code: string;
28-
};
29-
3011
// @public
3112
export class RestApiConstruct extends Construct {
3213
constructor(scope: Construct, id: string, props: RestApiConstructProps);
@@ -40,16 +21,9 @@ export type RestApiConstructProps = {
4021
apiProps: RestApiPathConfig[];
4122
};
4223

43-
// @public (undocumented)
44-
export type RestApiPathConfig = {
45-
path: string;
46-
routes: HttpMethod[];
47-
lambdaEntry: LambdaSource;
48-
};
49-
5024
// Warnings were encountered during analysis:
5125
//
52-
// src/types.ts:22:3 - (ae-forgotten-export) The symbol "LambdaSource" needs to be exported by the entry point index.d.ts
26+
// src/types.ts:16:3 - (ae-forgotten-export) The symbol "RestApiPathConfig" needs to be exported by the entry point index.d.ts
5327

5428
// (No @packageDocumentation comment for this package)
5529

0 commit comments

Comments
 (0)