agent-claw: automated task changes
This commit is contained in:
38
cdk/node_modules/aws-cdk-lib/aws-apigatewayv2-integrations/lib/websocket/mock.d.ts
generated
vendored
Normal file
38
cdk/node_modules/aws-cdk-lib/aws-apigatewayv2-integrations/lib/websocket/mock.d.ts
generated
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
import type { WebSocketRouteIntegrationConfig, WebSocketRouteIntegrationBindOptions } from '../../../aws-apigatewayv2';
|
||||
import { WebSocketRouteIntegration } from '../../../aws-apigatewayv2';
|
||||
/**
|
||||
* Props for Mock type integration for a WebSocket Api.
|
||||
*/
|
||||
export interface WebSocketMockIntegrationProps {
|
||||
/**
|
||||
* A map of Apache Velocity templates that are applied on the request
|
||||
* payload.
|
||||
*
|
||||
* ```
|
||||
* { "application/json": "{ \"statusCode\": 200 }" }
|
||||
* ```
|
||||
*
|
||||
* @default - No request template provided to the integration.
|
||||
* @see https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-mapping-template-reference.html
|
||||
*/
|
||||
readonly requestTemplates?: {
|
||||
[contentType: string]: string;
|
||||
};
|
||||
/**
|
||||
* The template selection expression for the integration.
|
||||
*
|
||||
* @default - No template selection expression provided.
|
||||
*/
|
||||
readonly templateSelectionExpression?: string;
|
||||
}
|
||||
/**
|
||||
* Mock WebSocket Integration
|
||||
*/
|
||||
export declare class WebSocketMockIntegration extends WebSocketRouteIntegration {
|
||||
private readonly props;
|
||||
/**
|
||||
* @param id id of the underlying integration construct
|
||||
*/
|
||||
constructor(id: string, props?: WebSocketMockIntegrationProps);
|
||||
bind(options: WebSocketRouteIntegrationBindOptions): WebSocketRouteIntegrationConfig;
|
||||
}
|
||||
Reference in New Issue
Block a user